A C D E F G H I L N O P R S T W 
All Classes All Packages

A

addGuest(Guest) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
addGuest(Guest) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.ReservationRemote
 

C

checkIn(Guest, Room) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
checkout(Guest) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
clearAll() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
clearAll() - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelInitRemote
 
clearAll() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 
ctx - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 

D

dao - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
destroy() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
destroy() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 

E

em - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
em - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
emf - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
We will still get a resource from the container -- except in this case we will get an EMF rather than an EntityManager.
emf - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
We will still get a resource from the container -- except in this case we will get an EMF rather than an EntityManager.

F

FloorDTO - Class in info.ejava.examples.ejb.ejbjpa.dto
 
FloorDTO() - Constructor for class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
FloorDTO(int) - Constructor for class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 

G

getAvailableRooms(Integer, int, int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getAvailableRoomsForUpdate(Integer, int, int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
This local-interface-only method places a pessimistic write-lock on each returned room.
getAvailableRoomsForUpdate(Integer, int, int) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtLocal
 
getCleanAvailableRooms(Integer, int, int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getCleanAvailableRooms(Integer, int, int) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtRemote
This method will clear the previous-managed entity instances of any provider proxies.
getFetchedFloor(int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getFetchedFloor(int) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtRemote
This method will make sure the returned parent object is fully loaded by "fetch"ing all required children as part of the DAO query.
getFetchedFloorDTO(int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getFetchedFloorDTO(int) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtRemote
This method will return a slightly-washed down set of data objects to the caller with sensitive or non-pertinent information not included in the abstraction.
getFloor(int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getFloors(int, int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getLevel() - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
getNumber() - Method in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
getRoom(int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getRooms() - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
getTouchedFloor(int) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
getTouchedFloor(int) - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtRemote
This method will make sure the returned parent object is fully loaded by explicitly "touching" enough of the parent and children entities and collections to cause them all to be EAGERly loaded.
guests - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 

H

HotelInitEJB - Class in info.ejava.examples.ejb.ejbjpa.ejb
The following EJB provides an example of an EJB using BEAN-managed transactions.
HotelInitEJB() - Constructor for class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
HotelInitRemote - Interface in info.ejava.examples.ejb.ejbjpa.ejb
 
HotelInitResourceLocalEJB - Class in info.ejava.examples.ejb.ejbjpa.ejb
The following EJB provides an example of an EJB using BEAN-managed transactions.
HotelInitResourceLocalEJB() - Constructor for class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 
hotelMgmt - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
hotelMgmt - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 
hotelMgmt - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
hotelMgmt - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
HotelMgmtEJB - Class in info.ejava.examples.ejb.ejbjpa.ejb
 
HotelMgmtEJB() - Constructor for class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
HotelMgmtLocal - Interface in info.ejava.examples.ejb.ejbjpa.ejb
 
HotelMgmtRemote - Interface in info.ejava.examples.ejb.ejbjpa.ejb
 

I

info.ejava.examples.ejb.ejbjpa.dto - package info.ejava.examples.ejb.ejbjpa.dto
 
info.ejava.examples.ejb.ejbjpa.ejb - package info.ejava.examples.ejb.ejbjpa.ejb
 
init() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
init() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 
init() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
init() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
isOccupied() - Method in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 

L

level - Variable in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
logger - Static variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
logger - Static variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 
logger - Static variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
logger - Static variable in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 

N

number - Variable in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 

O

occupied - Variable in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 

P

populate() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
 
populate() - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.HotelInitRemote
 
populate() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
 

R

ReservationEJB - Class in info.ejava.examples.ejb.ejbjpa.ejb
 
ReservationEJB() - Constructor for class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
ReservationRemote - Interface in info.ejava.examples.ejb.ejbjpa.ejb
 
reserveRooms() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
reserveRooms() - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.ReservationRemote
 
reserveRooms(List<Room>) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
reserveRoomsPessimistic() - Method in class info.ejava.examples.ejb.ejbjpa.ejb.ReservationEJB
 
reserveRoomsPessimistic() - Method in interface info.ejava.examples.ejb.ejbjpa.ejb.ReservationRemote
 
RoomDTO - Class in info.ejava.examples.ejb.ejbjpa.dto
 
RoomDTO() - Constructor for class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
RoomDTO(int) - Constructor for class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
rooms - Variable in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 

S

serialVersionUID - Static variable in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
serialVersionUID - Static variable in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
setLevel(int) - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
setNumber(int) - Method in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
setOccupied(boolean) - Method in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
setRooms(List<RoomDTO>) - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 

T

toClean(List<Room>) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
This helper method will instantiate new entity classes to re-use as DTOs.
toDTO(Floor) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
toDTO(Room) - Method in class info.ejava.examples.ejb.ejbjpa.ejb.HotelMgmtEJB
 
toString() - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
toString() - Method in class info.ejava.examples.ejb.ejbjpa.dto.RoomDTO
 
tx - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitEJB
We get a UTx injected to control our overall JTA transaction.
tx - Variable in class info.ejava.examples.ejb.ejbjpa.ejb.HotelInitResourceLocalEJB
We get a UTx injected to control our overall JTA transaction.

W

withRoom(RoomDTO) - Method in class info.ejava.examples.ejb.ejbjpa.dto.FloorDTO
 
A C D E F G H I L N O P R S T W 
All Classes All Packages