Package | Description |
---|---|
ejava.examples.txhotel.bl | |
ejava.examples.txhotel.blimpl | |
ejava.examples.txhotel.ejb |
Modifier and Type | Class and Description |
---|---|
class |
InvalidParameterException |
class |
InvalidReservationChangeException |
class |
ReservationNotFoundException |
Modifier and Type | Method and Description |
---|---|
void |
HotelReservationist.cancelReservation(Reservation reservation) |
void |
HotelReservationSession.cancelReservations() |
void |
HotelReservationist.cleanupReservation(String confirmation) |
List<Reservation> |
HotelReservationSession.commit() |
Reservation |
HotelReservationist.commitReservation(Reservation reservation) |
void |
HotelReservationSession.createReservation(Person person,
Date startDate,
Date endDate) |
Reservation |
HotelReservationist.createReservation(Person person,
Date startDate,
Date endDate) |
Reservation |
HotelReservationist.getReservationByConfirmation(String confirmation) |
List<Reservation> |
HotelReservationist.getReservations(int index,
int count) |
List<Reservation> |
HotelReservationist.getReservationsForPerson(Person person,
int index,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
HotelReservationImpl.cancelReservation(Reservation reservation) |
void |
HotelReservationSessionImpl.cancelReservations() |
void |
HotelReservationImpl.cleanupReservation(String confirmation) |
List<Reservation> |
HotelReservationSessionImpl.commit() |
Reservation |
HotelReservationImpl.commitReservation(Reservation reservation) |
Reservation |
HotelReservationImpl.createReservation(Person person,
Date startDate,
Date endDate) |
void |
HotelReservationSessionImpl.createReservation(Person person,
Date startDate,
Date endDate) |
protected Reservation |
HotelReservationImpl.getReservation(String confirmation) |
Reservation |
HotelReservationImpl.getReservationByConfirmation(String confirmation) |
List<Reservation> |
HotelReservationImpl.getReservations(int index,
int count) |
List<Reservation> |
HotelReservationImpl.getReservationsForPerson(Person person,
int index,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
HotelRegistrationEJB.cancelReservation(Reservation reservation)
This method will cause the current transaction to be rolled back
if the business logic reports an exception cancelling a reservation.
|
void |
HotelReservationSessionEJB.cancelReservations() |
void |
HotelRegistrationEJB.cleanupReservation(String confirmation) |
List<Reservation> |
HotelReservationSessionEJB.commit() |
Reservation |
HotelRegistrationEJB.commitReservation(Reservation reservation)
This method is just a pass-thru to the business logic.
|
Reservation |
HotelRegistrationEJB.createReservation(Person person,
Date startDate,
Date endDate)
This method will rollack the current transaction if the business
logic throws an exception while trying to create a reservation.
|
void |
HotelReservationSessionEJB.createReservation(Person person,
Date startDate,
Date endDate) |
Reservation |
HotelRegistrationEJB.getReservationByConfirmation(String confirmation) |
List<Reservation> |
HotelRegistrationEJB.getReservations(int index,
int count) |
List<Reservation> |
HotelRegistrationEJB.getReservationsForPerson(Person person,
int index,
int count) |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.