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, showForLoggedUser -
Constructor Summary
ConstructorsConstructorDescriptionTimeBookApp(ReservationObjectRepository ror, ReservationRepository rr, ReservationObjectPriceRepository ropr) -
Method Summary
Modifier and TypeMethodDescriptiongetRopr()getRor()getRr()voidinit(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) voidsetReservationObjectIds(String reservationObjectIds) voidvoidvoidview(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, getShowForLoggedUser, getViewFolder, init, initAppEditor, setCacheMinutes, setDevice, setShowForLoggedUser, 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:WebjetComponentAbstractInitialization method for custom component initialization Called every time a component is inserted into the page- Specified by:
initin interfaceWebjetComponentInterface- Overrides:
initin 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
-