Package | Description |
---|---|
ejava.examples.txagent.bo | |
ejava.examples.txhotel.bl | |
ejava.examples.txhotel.blimpl | |
ejava.examples.txhotel.dao | |
ejava.examples.txhotel.ejb | |
ejava.examples.txhotel.jpa |
Modifier and Type | Field and Description |
---|---|
private Set<Reservation> |
Booking.hotelReservations |
Modifier and Type | Method and Description |
---|---|
Set<Reservation> |
Booking.getHotelReservations() |
Modifier and Type | Method and Description |
---|---|
void |
Booking.addHotelReservation(Reservation reservation) |
Modifier and Type | Method and Description |
---|---|
private void |
Booking.setHotelReservations(Set<Reservation> hotelReservations) |
Modifier and Type | Method and Description |
---|---|
Reservation |
HotelReservationist.commitReservation(Reservation reservation) |
Reservation |
HotelReservationist.createReservation(Person person,
Date startDate,
Date endDate) |
Reservation |
HotelReservationist.getReservationByConfirmation(String confirmation) |
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
HotelReservationSession.commit() |
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 |
HotelReservationist.cancelReservation(Reservation reservation) |
Reservation |
HotelReservationist.commitReservation(Reservation reservation) |
Modifier and Type | Field and Description |
---|---|
private List<Reservation> |
HotelReservationSessionImpl.pending |
Modifier and Type | Method and Description |
---|---|
Reservation |
HotelReservationImpl.commitReservation(Reservation reservation) |
Reservation |
HotelReservationImpl.createReservation(Person person,
Date startDate,
Date endDate) |
protected Reservation |
HotelReservationImpl.getReservation(String confirmation) |
Reservation |
HotelReservationImpl.getReservationByConfirmation(String confirmation) |
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
HotelReservationSessionImpl.commit() |
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 |
HotelReservationImpl.cancelReservation(Reservation reservation) |
Reservation |
HotelReservationImpl.commitReservation(Reservation reservation) |
Modifier and Type | Method and Description |
---|---|
Reservation |
ReservationDAO.createReservation(Reservation reservation) |
Reservation |
ReservationDAO.getReservation(long id) |
Reservation |
ReservationDAO.getReservationByConfirmation(String confirmation) |
Reservation |
ReservationDAO.removeReservation(Reservation reservation) |
Reservation |
ReservationDAO.updateReservation(Reservation reservation) |
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
ReservationDAO.getReservations(int index,
int count) |
List<Reservation> |
ReservationDAO.getReservations(String queryName,
Map<String,Object> params,
int index,
int count) |
Modifier and Type | Method and Description |
---|---|
Reservation |
ReservationDAO.createReservation(Reservation reservation) |
Reservation |
ReservationDAO.removeReservation(Reservation reservation) |
Reservation |
ReservationDAO.updateReservation(Reservation reservation) |
Modifier and Type | Method and Description |
---|---|
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.
|
Reservation |
HotelRegistrationEJB.getReservationByConfirmation(String confirmation) |
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
HotelReservationSessionEJB.commit() |
List<Reservation> |
HotelRegistrationEJB.getReservations(int index,
int count) |
List<Reservation> |
HotelRegistrationEJB.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.
|
Reservation |
HotelRegistrationEJB.commitReservation(Reservation reservation)
This method is just a pass-thru to the business logic.
|
Modifier and Type | Method and Description |
---|---|
Reservation |
JPAReservationDAO.createReservation(Reservation reservation) |
Reservation |
JPAReservationDAO.getReservation(long id) |
Reservation |
JPAReservationDAO.getReservationByConfirmation(String confirmation) |
Reservation |
JPAReservationDAO.removeReservation(Reservation reservation) |
Reservation |
JPAReservationDAO.updateReservation(Reservation reservation) |
Modifier and Type | Method and Description |
---|---|
List<Reservation> |
JPAReservationDAO.getReservations(int index,
int count) |
List<Reservation> |
JPAReservationDAO.getReservations(String queryName,
Map<String,Object> params,
int index,
int count) |
Modifier and Type | Method and Description |
---|---|
Reservation |
JPAReservationDAO.createReservation(Reservation reservation) |
Reservation |
JPAReservationDAO.removeReservation(Reservation reservation) |
Reservation |
JPAReservationDAO.updateReservation(Reservation reservation) |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.