Package | Description |
---|---|
info.ejava.examples.ejb.ejbjpa.bl | |
info.ejava.examples.ejb.ejbjpa.bo | |
info.ejava.examples.ejb.ejbjpa.dao | |
info.ejava.examples.ejb.ejbjpa.ejb |
Modifier and Type | Method and Description |
---|---|
Room |
HotelMgmtImpl.getRoom(int number) |
Room |
HotelMgmt.getRoom(int number) |
Modifier and Type | Method and Description |
---|---|
List<Room> |
HotelMgmtImpl.getAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
HotelMgmt.getAvailableRooms(Integer level,
int offset,
int limit) |
Modifier and Type | Method and Description |
---|---|
Guest |
HotelMgmtImpl.checkIn(Guest guest,
Room room) |
Guest |
HotelMgmt.checkIn(Guest guest,
Room room) |
Modifier and Type | Field and Description |
---|---|
(package private) List<Room> |
Floor.rooms |
Modifier and Type | Method and Description |
---|---|
List<Room> |
Floor.getRooms() |
Modifier and Type | Method and Description |
---|---|
Floor |
Floor.withRoom(Room room) |
Modifier and Type | Method and Description |
---|---|
void |
Floor.setRooms(List<Room> rooms) |
Modifier and Type | Method and Description |
---|---|
Room |
JPAHotelDAO.findRoomByGuest(Guest guest) |
Room |
HotelDAO.findRoomByGuest(Guest guest) |
Room |
JPAHotelDAO.getRoom(int number) |
Room |
HotelDAO.getRoom(int number) |
Modifier and Type | Method and Description |
---|---|
List<Room> |
JPAHotelDAO.getAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
HotelDAO.getAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
JPAHotelDAO.getAvailableRoomsForUpdate(Integer level,
int offset,
int limit) |
List<Room> |
HotelDAO.getAvailableRoomsForUpdate(Integer level,
int offset,
int limit) |
protected TypedQuery<Room> |
JPAHotelDAO.getAvailableRoomsQuery(Integer level,
int offset,
int limit) |
Modifier and Type | Method and Description |
---|---|
Room |
HotelMgmtEJB.getRoom(int number) |
Modifier and Type | Method and Description |
---|---|
List<Room> |
HotelMgmtEJB.getAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
HotelMgmtLocal.getAvailableRoomsForUpdate(Integer level,
int offset,
int limit) |
List<Room> |
HotelMgmtEJB.getAvailableRoomsForUpdate(Integer level,
int offset,
int limit)
This local-interface-only method places a pessimistic write-lock on each
returned room.
|
List<Room> |
HotelMgmtEJB.getCleanAvailableRooms(Integer level,
int offset,
int limit) |
List<Room> |
HotelMgmtRemote.getCleanAvailableRooms(Integer level,
int offser,
int limit)
This method will clear the previous-managed entity instances of any
provider proxies.
|
private List<Room> |
HotelMgmtEJB.toClean(List<Room> rooms)
This helper method will instantiate new entity classes to re-use as DTOs.
|
Modifier and Type | Method and Description |
---|---|
Guest |
HotelMgmtEJB.checkIn(Guest guest,
Room room) |
private RoomDTO |
HotelMgmtEJB.toDTO(Room room) |
Modifier and Type | Method and Description |
---|---|
protected List<Guest> |
ReservationEJB.reserveRooms(List<Room> rooms) |
private List<Room> |
HotelMgmtEJB.toClean(List<Room> rooms)
This helper method will instantiate new entity classes to re-use as DTOs.
|
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.