Class CustomerReviewController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
de.hybris.platform.marketplaceaddon.controllers.pages.CustomerReviewController
@Controller
@RequestMapping("/my-account/order")
public class CustomerReviewController
extends AbstractPageController
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
CMS_PAGE_MODEL, CMS_PAGE_TITLE, PAGE_ROOT, REDIRECT_TO_LOGIN_FOR_CHECKOUT, REDIRECT_TO_MULTISTEP_CHECKOUT, REGISTRATION_CONSENT_ID, UTF_8Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenterPage(String orderCode, String consignmentCode, OrderReviewForm orderReviewForm, org.springframework.ui.Model model) protected ResourceBreadcrumbBuilderprotected ConsignmentTrackingFacadeprotected org.springframework.validation.Validatorprotected CustomerVendorReviewFacadeprotected OrderFacadeprotected ProductFacadevoidinitBinder(org.springframework.web.bind.WebDataBinder binder) protected voidpopulateCommonModelAttributes(org.springframework.ui.Model model, OrderReviewForm form, String orderCode) postReview(String orderCode, String consignmentCode, OrderReviewForm orderReviewForm, org.springframework.ui.Model model, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
addRegistrationConsentDataToModel, checkRequestUrl, createMetaElement, decodeWithScheme, getBaseSiteService, getCheckoutRedirectUrl, getCmsPageService, getCmsPreviewService, getCmsSiteService, getConfigurationService, getConsentFacade, getContentPageForLabelOrId, getCurrencies, getCurrentCurrency, getCurrentLanguage, getCustomerFacade, getHostConfigService, getI18nService, getLanguages, getMessageSource, getPageTitleResolver, getRequestContextData, getSessionService, getSiteConfigService, getSiteName, getSiteUid, getStoreSessionFacade, getUser, getUserFacade, getViewForPage, getViewForPage, prepareNotFoundPage, setUpMetaData, setUpMetaDataForContentPage, storeCmsPageInModel, storeContentPageTitleInModel, storeContinueUrl, urlEncodeMethods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
CustomerReviewController
public CustomerReviewController()
-
-
Method Details
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder) -
enterPage
@RequestMapping(value="/{orderCode:.*}/review/{consignmentCode:.*}", method=GET) public String enterPage(@PathVariable String orderCode, @PathVariable String consignmentCode, OrderReviewForm orderReviewForm, org.springframework.ui.Model model) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
postReview
@RequestMapping(value="/{orderCode:.*}/review/{consignmentCode:.*}", method=POST) public String postReview(@PathVariable String orderCode, @PathVariable String consignmentCode, OrderReviewForm orderReviewForm, org.springframework.ui.Model model, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
populateCommonModelAttributes
protected void populateCommonModelAttributes(org.springframework.ui.Model model, OrderReviewForm form, String orderCode) throws CMSItemNotFoundException - Throws:
CMSItemNotFoundException
-
getCustomerReviewValidator
protected org.springframework.validation.Validator getCustomerReviewValidator() -
getAccountBreadcrumbBuilder
-
getProductFacade
-
getCustomerVendorReviewFacade
-
getConsignmentTrackingFacade
-
getOrderFacade
-