Class TimeBookApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.reservation.TimeBookApp
- All Implemented Interfaces:
WebjetComponentInterface
-
Field Summary
Fields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
cacheMinutes, device
-
Constructor Summary
ConstructorsConstructorDescriptionTimeBookApp
(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 pagereturnError
(String errorMsg, Date reservationDate, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) returnError
(String errorMsg, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) saveForm
(@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
-
TimeBookApp
@Autowired public TimeBookApp(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) -
returnError
-
returnError
-
getRor
-
getRr
-
getRopr
-
getReservationObjectIds
-
setRor
-
setRr
-
setRopr
-
setReservationObjectIds
-