Class SapOrderHistoryPageController
java.lang.Object
de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.page.AbstractAddOnPageController
de.hybris.platform.sap.sapcarintegrationaddon.controllers.pages.AbstractSapOrderHistoryPageController
de.hybris.platform.sap.sapcarintegrationaddon.controllers.pages.SapOrderHistoryPageController
@Controller
@RequestMapping("/my-account")
public class SapOrderHistoryPageController
extends AbstractSapOrderHistoryPageController
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.sap.sapcarintegrationaddon.controllers.pages.AbstractSapOrderHistoryPageController
AbstractSapOrderHistoryPageController.ShowModeNested classes/interfaces inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.AbstractAddOnController.HttpNotFoundException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class de.hybris.platform.sap.sapcarintegrationaddon.controllers.pages.AbstractSapOrderHistoryPageController
MAX_PAGE_LIMITFields inherited from class de.hybris.platform.addonsupport.controllers.page.AbstractAddOnPageController
CMS_PAGE_MODEL, CMS_PAGE_TITLE, PAGE_ROOTFields inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceBreadcrumbBuilderprotected List<Breadcrumb>getBreadcrumbs(String orderNumber) protected CarOrderFacadeprotected de.hybris.platform.commercefacades.order.OrderFacadereadInStorePurchase(String transactionCode, String storeId, String businessDayDate, Integer transactionIndex, org.springframework.ui.Model model) readMultiChannelPurchases(int page, AbstractSapOrderHistoryPageController.ShowMode showMode, String sortCode, org.springframework.ui.Model model) readSalesDocument(String orderCode, org.springframework.ui.Model model) readWebOrder(String orderCode, org.springframework.ui.Model model) voidsetAccountBreadcrumbBuilder(ResourceBreadcrumbBuilder accountBreadcrumbBuilder) voidsetCarOrderFacade(CarOrderFacade carOrderFacade) voidsetOrderFacade(de.hybris.platform.commercefacades.order.OrderFacade orderFacade) Methods inherited from class de.hybris.platform.sap.sapcarintegrationaddon.controllers.pages.AbstractSapOrderHistoryPageController
calculateShowAll, calculateShowPaged, createPageableData, getContentPageForLabelOrId, isShowAllAllowed, populateModelMethods inherited from class de.hybris.platform.addonsupport.controllers.page.AbstractAddOnPageController
checkRequestUrl, createMetaElement, getCmsPageService, getCmsSiteService, getCurrencies, getCurrentCurrency, getCurrentLanguage, getCustomerFacade, getHostConfigService, getI18nService, getLanguages, getMessageSource, getPageTitleResolver, getRequestContextData, getSessionService, getSiteConfigService, getSiteName, getStoreSessionFacade, getUser, getViewForPage, getViewForPage, setUpMetaData, setUpMetaDataForContentPage, storeCmsPageInModel, storeContentPageTitleInModel, storeContinueUrlMethods inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
addRequestToModel, getBean
-
Field Details
-
MC_TRANSACTION_CODE_PATH_VARIABLE_PATTERN
- See Also:
-
REDIRECT_MY_ACCOUNT
- See Also:
-
MC_TRANSACTIONS_HISTORY_CMS_PAGE
- See Also:
-
MC_WEB_TRANSACTION_DETAIL_CMS_PAGE
- See Also:
-
MC_POS_TRANSACTION_DETAIL_CMS_PAGE
- See Also:
-
MC_SD_TRANSACTION_DETAIL_CMS_PAGE
- See Also:
-
-
Constructor Details
-
SapOrderHistoryPageController
public SapOrderHistoryPageController()
-
-
Method Details
-
readMultiChannelPurchases
@RequestMapping(value="/purchases", method=GET) public String readMultiChannelPurchases(@RequestParam(value="page",defaultValue="0") int page, @RequestParam(value="show",defaultValue="Page") AbstractSapOrderHistoryPageController.ShowMode showMode, @RequestParam(value="sort",required=false) String sortCode, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Parameters:
page-showMode-sortCode-model-- Returns:
- Multichannel order history view
- Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
readWebOrder
@RequestMapping(value="/weborder/{orderCode:.*}", method=GET) public String readWebOrder(@PathVariable("orderCode") String orderCode, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Parameters:
orderCode-model-- Returns:
- Hybris order details view
- Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
readInStorePurchase
@RequestMapping(value="/instorepurchase/{orderCode:.*}", method=GET) public String readInStorePurchase(@PathVariable("orderCode") String transactionCode, @RequestParam(value="storeId",required=true) String storeId, @RequestParam(value="businessDayDate",required=true) String businessDayDate, @RequestParam(value="transactionIndex",required=true) Integer transactionIndex, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Parameters:
transactionCode-storeId-transactionDate-transactionIndex-model-- Returns:
- POS transaction details view
- Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
readSalesDocument
@RequestMapping(value="/salesdocument/{orderCode:.*}", method=GET) public String readSalesDocument(@PathVariable("orderCode") String orderCode, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException - Parameters:
orderCode-model-- Returns:
- Sales document details view
- Throws:
de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
-
getBreadcrumbs
- Parameters:
orderNumber-- Returns:
- Order history breadcrumbs
-
getOrderFacade
protected de.hybris.platform.commercefacades.order.OrderFacade getOrderFacade() -
setOrderFacade
public void setOrderFacade(de.hybris.platform.commercefacades.order.OrderFacade orderFacade) -
getCarOrderFacade
-
setCarOrderFacade
-
getAccountBreadcrumbBuilder
-
setAccountBreadcrumbBuilder
-