Class CxUpdateCustomizationRankExecutor
java.lang.Object
de.hybris.platform.personalizationwebservices.queries.impl.AbstractRestQueryExecutor
de.hybris.platform.personalizationcmsweb.queries.CxUpdateCustomizationRankExecutor
- All Implemented Interfaces:
RestQueryExecutor
This executor replaces a component in a slost with CxCmsContainer and set the component as default of this container.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateQuery(String subQuery, Integer increaseValue) protected Stringprotected ObjectexecuteAfterValidation(Map<String, String> params) getCatalogsForReadAccess(Map<String, String> params) getCatalogsForWriteAccess(Map<String, String> params) protected CustomizationFacadeprotected FlexibleSearchServicevoidsetCustomizationFacade(CustomizationFacade customizationFacade) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) protected ObjectupdateCustomizationRank(Map<String, String> params) protected voidvalidateInputParams(Map<String, String> params, org.springframework.validation.Errors errors) Methods inherited from class de.hybris.platform.personalizationwebservices.queries.impl.AbstractRestQueryExecutor
execute, getCatalogFromParams, getLocalViewExecutor, getQueryEndpointPermissionsChecker, setLocalViewExecutor, setQueryEndpointPermissionsChecker, validate, validateMissingField
-
Field Details
-
CUSTOMIZATION_CODE
- See Also:
-
INCREASE_VALUE
- See Also:
-
-
Constructor Details
-
CxUpdateCustomizationRankExecutor
public CxUpdateCustomizationRankExecutor()
-
-
Method Details
-
validateInputParams
protected void validateInputParams(Map<String, String> params, org.springframework.validation.Errors errors) - Specified by:
validateInputParamsin classAbstractRestQueryExecutor
-
executeAfterValidation
- Specified by:
executeAfterValidationin classAbstractRestQueryExecutor
-
createSubQuery
-
createQuery
-
updateCustomizationRank
-
getCatalogsForWriteAccess
- Returns:
- The catalogs the query needs to write on.
-
getCatalogsForReadAccess
- Returns:
- The catalogs the query needs toread from.
-
getCustomizationFacade
- Returns:
- the customizationFacade
-
setCustomizationFacade
- Parameters:
customizationFacade- the customizationFacade to set
-
getFlexibleSearchService
- Returns:
- the flexibleSearchService
-
setFlexibleSearchService
- Parameters:
flexibleSearchService- the flexibleSearchService to set
-