Class AccommodationFinderComponentController
java.lang.Object
de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController<T>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController<AbstractFinderComponentModel>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.AbstractFinderComponentController
de.hybris.platform.accommodationaddon.controllers.cms.AccommodationFinderComponentController
@Controller("AccommodationFinderComponentController")
@RequestMapping("/view/AccommodationFinderComponentController")
public class AccommodationFinderComponentController
extends AbstractFinderComponentController
Controller for Accommodation Finder Component
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.AbstractAddOnController.HttpNotFoundException -
Field Summary
FieldsFields inherited from class de.hybris.platform.travelacceleratorstorefront.controllers.cms.AbstractFinderComponentController
HIDE_FINDER_TITLEFields inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
COMPONENT, COMPONENT_UID, FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildUrlParameters(AccommodationFinderForm accommodationFinderForm) protected voidfillModel(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, AbstractFinderComponentModel component) protected intprotected AccommodationFinderFormperformSearch(AccommodationFinderForm accommodationFinderForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, org.springframework.validation.BindingResult bindingResult) validateAccommodationFinderForm(AccommodationFinderForm accommodationFinderForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) Methods inherited from class de.hybris.platform.travelacceleratorstorefront.controllers.cms.AbstractFinderComponentController
createRoomStayCandidatesData, getCabinClassFacade, getComponent, getFormErrorResponseData, getPassengerTypeFacade, getPassengerTypeQuantityList, getSessionService, getTravellerSortStrategy, populateAccommodationsQuantity, populatePassengersQuantity, setCabinClassesOnModel, setCollapseExpandFlagMethods inherited from class de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController
getAddonUiExtensionName, getConfigurationService, setMaxAllowedCheckInCheckOutDateDifferenceMethods inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
checkIfComponentNotEmpty, getCmsComponentFolder, getCmsComponentService, getCmsPageContextService, getRequestContextData, getTypeCode, getView, getViewResourceName, handleComponent, handleGet, setCmsComponentServiceMethods inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
addRequestToModel, getBean
-
Field Details
-
SEARCH
- See Also:
-
-
Constructor Details
-
AccommodationFinderComponentController
public AccommodationFinderComponentController()
-
-
Method Details
-
fillModel
protected void fillModel(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, AbstractFinderComponentModel component) - Specified by:
fillModelin classde.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController<AbstractFinderComponentModel>
-
getMaxGuestQuantity
protected int getMaxGuestQuantity()- Specified by:
getMaxGuestQuantityin classAbstractFinderComponentController
-
initializeAccommodationFinderForm
-
performSearch
@RequestMapping(value="/search", method=POST) public String performSearch(AccommodationFinderForm accommodationFinderForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, org.springframework.validation.BindingResult bindingResult) -
validateAccommodationFinderForm
@RequestMapping(value="/validate-accommodation-finder-form", method=POST) @ResponseBody public FormErrorResponseData validateAccommodationFinderForm(AccommodationFinderForm accommodationFinderForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) -
buildUrlParameters
-