Class CPSBaseSiteProvider
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.CPSBaseSiteProvider
Support class for getting a base site linked to a SAPConfiguration. This is needed for the Backoffice
condition/action editors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute a flexible search on SAP Configuration and return the first found basesite assigned for CPS rulesprotected de.hybris.platform.servicelayer.search.FlexibleSearchServicevoidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearch) Set the FlexibleSearchService
-
Constructor Details
-
CPSBaseSiteProvider
public CPSBaseSiteProvider()
-
-
Method Details
-
getConfiguredBaseSite
Execute a flexible search on SAP Configuration and return the first found basesite assigned for CPS rules- Returns:
- The assigned base site
-
getFlexibleSearchService
protected de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService() -
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearch) Set the FlexibleSearchService- Parameters:
flexibleSearch- The service to run flexible search queries
-