Class DayBookApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.reservation.DayBookApp
- All Implemented Interfaces:
WebjetComponentInterface
App for Booking of rooms, cars, etc. for a whole day.
-
Field Summary
Fields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
cacheMinutes, device
-
Constructor Summary
ConstructorsConstructorDescriptionDayBookApp
(ReservationObjectRepository ror, ReservationRepository rr, ReservationObjectPriceRepository ropr) -
Method Summary
Modifier and TypeMethodDescriptiongetRopr()
getRor()
getRr()
void
init
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Initialization method for custom component initialization Called every time a component is inserted into the pagesaveForm
(@Valid ReservationEntity entity, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) void
setReservationObjectIds
(String reservationObjectIds) void
void
void
view
(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) Methods inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
addCurrentValueToOptions, addCurrentValueToOptions, addOptions, getAppOptions, getCacheMinutes, getDevice, getViewFolder, init, initAppEditor, setCacheMinutes, setDevice, setViewFolder
-
Constructor Details
-
DayBookApp
@Autowired public DayBookApp(ReservationObjectRepository ror, ReservationRepository rr, ReservationObjectPriceRepository ropr)
-
-
Method Details
-
init
public void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Description copied from class:WebjetComponentAbstract
Initialization method for custom component initialization Called every time a component is inserted into the page- Specified by:
init
in interfaceWebjetComponentInterface
- Overrides:
init
in classWebjetComponentAbstract
-
view
public String view(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) -
saveForm
public String saveForm(@Valid @ModelAttribute("entity") @Valid ReservationEntity entity, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) -
getRor
-
getRr
-
getRopr
-
getReservationObjectIds
-
setRor
-
setRr
-
setRopr
-
setReservationObjectIds
-