Class AnalyticsController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractPageController
de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
de.hybris.platform.sap.productconfig.frontend.controllers.AnalyticsController
@Controller
@RequestMapping
public class AnalyticsController
extends AbstractProductConfigController
Controller for analytics
-
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.sap.productconfig.frontend.controllers.AbstractProductConfigController
CMS_PAGE_TYPE, CMS_PC_PAGE_ID, CMS_PC_PAGE_TYPEFields 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 TypeMethodDescriptionprotected StringcallLocalisation(String kpiName, Object[] arguments) protected ConfigurationAnalyticsFacadevoidsetAnalyticsFacade(ConfigurationAnalyticsFacade analyticsFacade) protected javax.json.JsonObjectBuildertoJson(AnalyticCsticData analyticCstic) protected javax.json.JsonObjectBuilderprotected javax.json.JsonObjectBuildertoJson(String key, AnalyticCsticValueData value) protected javax.json.JsonObjectBuildertoJson(List<AnalyticCsticData> analyticalData) updateAnalytics(String configId) Fetches all analytical data available for the currently on the UI visible characteristics, so that the UI can be updated with the analytical data.Methods inherited from class de.hybris.platform.sap.productconfig.frontend.controllers.AbstractProductConfigController
afterReloadConfiguration, cleanUpSessionAttribute, getAbstractOrderEntryLinkStrategy, getBindingResultForConfigAndSaveUiStatus, getBindingResultForConfiguration, getBreadcrumbBuilder, getCartEntryNumber, getCartEntryNumber, getCartFacade, getCartItemByConfigId, getCartItemByProductCode, getConfigCartFacade, getConfigFacade, getConfigurationErrorHandler, getGalleryImages, getOrderEntry, getOrderEntry, getPageId, getPageType, getProductCodeForCartItem, getProductConfigurationConflictChecker, getProductConfigurationValidator, getProductDataForProductCode, getProductFacade, getProductLinkStrategy, getProductService, getSessionAccessFacade, getSessionId, getUiRecorder, getUiStateHandler, getUiStatusForConfig, getUiStatusForConfigId, getUiStatusSync, handleRequestContext, initBinderConfigData, initializeUiStatus, isConfigLinkedToCart, isConfigRemoved, loadNewConfiguration, logConfigurationCheckDeviation, logLoadConfig, logModelmetaData, logRequestMetaData, populateCMSAttributes, populateProductData, populateProductData, populateProductDetailForDisplay, reloadConfigurationById, reloadConfigurationByKBKey, removeNullCstics, removeNullCsticsFromGroup, setAbstractOrderEntryLinkStrategy, setBreadcrumbBuilder, setCartEntryLinks, setCartFacade, setConfigCartFacade, setConfigFacade, setConfigurationErrorHandler, setProductConfigurationConflictChecker, setProductConfigurationValidator, setProductFacade, setProductLinkStrategy, setProductService, setSessionAccessFacade, setUiRecorder, setUiStateHandler, setUiStatusForConfig, setUiStatusSync, updatePageTitleMethods 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
-
AnalyticsController
public AnalyticsController()
-
-
Method Details
-
updateAnalytics
@RequestMapping(value="/cpq/updateAnalytics", method=POST, produces="application/json") @ResponseBody public String updateAnalytics(@RequestParam("configId") String configId) Fetches all analytical data available for the currently on the UI visible characteristics, so that the UI can be updated with the analytical data.- Parameters:
configId- configuration id- Returns:
- view to render
-
toJson
-
toJson
-
callLocalisation
-
toJson
-
toJson
-
getAnalyticsFacade
-
setAnalyticsFacade
- Parameters:
analyticsFacade- analytic facade
-