Class MyReservationsApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.reservation.MyReservationsApp
- All Implemented Interfaces:
WebjetComponentInterface
-
Field Summary
Fields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
appHideFields, cacheMinutes, device, EMPTY_PAGE, showForLoggedUser, wrapperAriaLabel, wrapperClass, wrapperId, wrapperTitle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteReservation(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request) getAppOptions(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Returns list of options for app editor in webpagevoidinit(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Initialization method for custom component initialization Called every time a component is inserted into the pagevoidsetReservationObjectRepository(ReservationObjectRepository reservationObjectRepository) voidsetSelectedReservationObjectId(Integer selectedReservationObjectId) view(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
addCurrentValueToOptions, addCurrentValueToOptions, addOptions, buildWrapperDiv, getAppHideFields, getBaseAppOptions, getCacheMinutes, getDevice, getShowForLoggedUser, getViewFolder, getWrapperAriaLabel, getWrapperClass, getWrapperId, getWrapperTitle, init, initAppEditor, isEditorPreview, parseOptionsFromConfig, setAppHideFields, setCacheMinutes, setDevice, setShowForLoggedUser, setViewFolder, setWrapperAriaLabel, setWrapperClass, setWrapperId, setWrapperTitle
-
Constructor Details
-
MyReservationsApp
-
-
Method Details
-
init
public void init(jakarta.servlet.http.HttpServletRequest request, jakarta.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
-
getAppOptions
public Map<String,List<OptionDto>> getAppOptions(ComponentRequest componentRequest, jakarta.servlet.http.HttpServletRequest request) Description copied from class:WebjetComponentAbstractReturns list of options for app editor in webpage- Specified by:
getAppOptionsin interfaceWebjetComponentInterface- Overrides:
getAppOptionsin classWebjetComponentAbstract
-
view
public String view(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request) -
deleteReservation
public String deleteReservation(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request) -
getSelectedReservationObjectId
-
getReservationObjectRepository
-
setSelectedReservationObjectId
-
setReservationObjectRepository
-