Class ProductConfiguratorCCPController
java.lang.Object
de.hybris.platform.sap.productconfig.occ.controllers.ProductConfiguratorCCPController
Web Services Controller to expose the functionality of the
ConfigurationFacade.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckSelected(FilterDataWsDTO filterDataWsDTO) protected StringcompileCsticKey(CsticData cstic, UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.protected ConfigurationSupplementsWsDTOcompilePricingResult(String configId, PricingData priceSummary, List<PriceValueUpdateData> valuePrices) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegatecompileValuePriceInput(UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected CsticValueSupplementsWsDTODeprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected CsticSupplementsWsDTOcreateAttributeSupplementDTO(PriceValueUpdateData valuePrice) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected List<FilterEnum>createCsticFilterList(List<FilterDataWsDTO> inputCsticFilterList) createGroupFilterList(List<FilterDataWsDTO> inputGroupFilterList) protected List<CsticValueSupplementsWsDTO>createPriceSupplements(Map<String, PriceDataPair> prices) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected voiddeleteCstics(UiGroupData group) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected StringdetermineFirstGroupId(List<UiGroupData> uiGroups) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected voidfilterGroups(ConfigurationData configData, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected voidfilterGroups(List<UiGroupData> groups, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected ConfigurationExpertModeFacadeprotected ConfigurationFacadeprotected ConfigurationOverviewFacadeprotected ConfigurationPricingFacadegetConfiguration(String configId, String groupId, boolean expMode) protected CCPControllerHelpergetConfigurationOverview(String configId) protected DataMappergetDefaultConfiguration(String productCode, boolean provideAllAttributes, String configIdTemplate, boolean expMode) Deprecated, for removal: This API element is subject to removal in a future version.since 2211.4 usegetDefaultConfiguration(String, boolean, String, boolean, boolean)getDefaultConfiguration(String productCode, boolean provideAllAttributes, String configIdTemplate, boolean expMode, boolean forceReset) protected Stream<UiGroupData>getFlattened(UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected ImageHandlerDeprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected MessageHandlergetPricing(String configId, String groupId) protected UiGroupDatagetUiGroup(String configId, String groupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected UiGroupDatagetUiGroup(List<UiGroupData> groupList, String groupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected UniqueUIKeyGeneratorDeprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected booleanhasSubGroups(UiGroupData group) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected booleanisNotRequestedGroup(UiGroupData group, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected ConfigurationWsDTOmapDTOData(ConfigurationData configData) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected ConfigurationDatareadDefaultConfiguration(String productCode) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegateprotected static Stringprotected voidsetConfigFacade(ConfigurationFacade configFacade) protected voidsetConfigOverviewFacade(ConfigurationOverviewFacade configOverviewFacade) updateConfiguration(String configId, ConfigurationWsDTO updatedConfiguration, boolean expMode) updateConfigurationOverview(String configId, ConfigurationOverviewWsDTO updatedConfigurationOverview)
-
Field Details
-
dataMapper
-
-
Constructor Details
-
ProductConfiguratorCCPController
public ProductConfiguratorCCPController()
-
-
Method Details
-
getConfigOverviewFacade
-
setConfigOverviewFacade
-
getConfigFacade
-
setConfigFacade
-
getConfigPricingFacade
-
getConfigurationHandler
-
getDataMapper
-
sanitize
-
getDefaultConfiguration
@Deprecated(since="2211.4", forRemoval=true) public ConfigurationWsDTO getDefaultConfiguration(String productCode, boolean provideAllAttributes, String configIdTemplate, boolean expMode) Deprecated, for removal: This API element is subject to removal in a future version.since 2211.4 usegetDefaultConfiguration(String, boolean, String, boolean, boolean) -
getDefaultConfiguration
@RequestMapping(value="/{baseSiteId}/products/{productCode}/configurators/ccpconfigurator", method=GET) @ResponseBody public ConfigurationWsDTO getDefaultConfiguration(@PathVariable String productCode, @RequestParam(defaultValue="false",required=false) boolean provideAllAttributes, @RequestParam(defaultValue="",required=false) String configIdTemplate, @RequestParam(defaultValue="false",required=false) boolean expMode, @RequestParam(defaultValue="false",required=false) boolean forceReset) -
updateConfiguration
@RequestMapping(value="/{baseSiteId}/ccpconfigurator/{configId}", method=PATCH) @ResponseBody public ConfigurationWsDTO updateConfiguration(@PathVariable("configId") String configId, @RequestBody(required=true) ConfigurationWsDTO updatedConfiguration, @RequestParam(required=false) boolean expMode) -
getConfiguration
@RequestMapping(value="/{baseSiteId}/ccpconfigurator/{configId}", method=GET) @ResponseBody public ConfigurationWsDTO getConfiguration(@PathVariable("configId") String configId, @RequestParam(required=false) String groupId, @RequestParam(defaultValue="false",required=false) boolean expMode) -
updateConfigurationOverview
@RequestMapping(value="/{baseSiteId}/ccpconfigurator/{configId}/configurationOverview", method=PATCH) @ResponseBody public ConfigurationOverviewWsDTO updateConfigurationOverview(@PathVariable("configId") String configId, @RequestBody(required=true) ConfigurationOverviewWsDTO updatedConfigurationOverview) -
createGroupFilterList
-
createCsticFilterList
-
checkSelected
-
getConfigurationOverview
@RequestMapping(value="/{baseSiteId}/ccpconfigurator/{configId}/configurationOverview", method=GET) @ResponseBody public ConfigurationOverviewWsDTO getConfigurationOverview(@PathVariable("configId") String configId) -
getPricing
@RequestMapping(value="/{baseSiteId}/ccpconfigurator/{configId}/pricing", method=GET) @ResponseBody public ConfigurationSupplementsWsDTO getPricing(@PathVariable("configId") String configId, @RequestParam(required=false) String groupId) -
compileCsticKey
@Deprecated(since="2205", forRemoval=true) protected String compileCsticKey(CsticData cstic, UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
compilePricingResult
@Deprecated(since="2205", forRemoval=true) protected ConfigurationSupplementsWsDTO compilePricingResult(String configId, PricingData priceSummary, List<PriceValueUpdateData> valuePrices) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
compileValuePriceInput
@Deprecated(since="2205", forRemoval=true) protected List<String> compileValuePriceInput(UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
convertEntrytoWsDTO
@Deprecated(since="2205", forRemoval=true) protected CsticValueSupplementsWsDTO convertEntrytoWsDTO(Map.Entry<String, PriceDataPair> entry) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
createAttributeSupplementDTO
@Deprecated(since="2205", forRemoval=true) protected CsticSupplementsWsDTO createAttributeSupplementDTO(PriceValueUpdateData valuePrice) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
createPriceSupplements
@Deprecated(since="2205", forRemoval=true) protected List<CsticValueSupplementsWsDTO> createPriceSupplements(Map<String, PriceDataPair> prices) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
deleteCstics
Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
determineFirstGroupId
@Deprecated(since="2205", forRemoval=true) protected String determineFirstGroupId(List<UiGroupData> uiGroups) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
filterGroups
@Deprecated(since="2205", forRemoval=true) protected void filterGroups(ConfigurationData configData, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
filterGroups
@Deprecated(since="2205", forRemoval=true) protected void filterGroups(List<UiGroupData> groups, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getFlattened
@Deprecated(since="2205", forRemoval=true) protected Stream<UiGroupData> getFlattened(UiGroupData uiGroup) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getImageHandler
Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getUiGroup
@Deprecated(since="2205", forRemoval=true) protected UiGroupData getUiGroup(String configId, String groupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getUiGroup
@Deprecated(since="2205", forRemoval=true) protected UiGroupData getUiGroup(List<UiGroupData> groupList, String groupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getUniqueUIKeyGenerator
Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
hasSubGroups
Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
isNotRequestedGroup
@Deprecated(since="2205", forRemoval=true) protected boolean isNotRequestedGroup(UiGroupData group, String requestedGroupId) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
mapDTOData
@Deprecated(since="2205", forRemoval=true) protected ConfigurationWsDTO mapDTOData(ConfigurationData configData) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
readDefaultConfiguration
@Deprecated(since="2205", forRemoval=true) protected ConfigurationData readDefaultConfiguration(String productCode) Deprecated, for removal: This API element is subject to removal in a future version.since 22.05 usegetConfigurationHandler()and delegate -
getConfigExpertModeFacade
-
getMessageHandler
-
getConfigurationHandler()and delegate