Home » apache-openwebbeans-1.0.0-incubating-M3-binary » org.apache.webbeans.reservation » controller » admin » [javadoc | source]
org.apache.webbeans.reservation.controller.admin
public class: AdminController [javadoc | source]
java.lang.Object
   org.apache.webbeans.reservation.controller.admin.AdminController
Contains admin related activities.
Method from org.apache.webbeans.reservation.controller.admin.AdminController Summary:
createNewHotel,   deleteHotel,   getHotelWithId,   getHotels,   getReservationsWithHotel,   getReservationsWithUser,   getUsers,   updateHotel
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.reservation.controller.admin.AdminController Detail:
 public  void createNewHotel(String name,
    int star,
    String city,
    String country) 
 public  void deleteHotel(int id) 
 public Hotel getHotelWithId(int id) 
    Returns hotel with given id.
 public List<Hotel> getHotels() 
 public List<User> getReservationsWithHotel(int hotelId) 
 public Set<Hotel> getReservationsWithUser(int userId) 
 public List<User> getUsers() 
 public  void updateHotel(int id,
    String name,
    int star,
    String city,
    String country)