1 package info.ejava.examples.ejb.ejbjpa.bl; 2 3 import java.util.List; 4 5 import info.ejava.examples.ejb.ejbjpa.bo.Floor; 6 import info.ejava.examples.ejb.ejbjpa.bo.Guest; 7 import info.ejava.examples.ejb.ejbjpa.bo.Room; 8 9 public interface HotelMgmt { 10 Room getRoom(int number); 11 Floor getFloor(int level); 12 List<Floor> getFloors(int offset, int limit); 13 List<Room> getAvailableRooms(Integer level, int offset, int limit); 14 Guest checkIn(Guest guest, Room room) throws RoomUnavailableExcepton; 15 int checkout(Guest guest); 16 }