Class CxUpdateCustomizationRankExecutor

  • All Implemented Interfaces:
    RestQueryExecutor

    public class CxUpdateCustomizationRankExecutor
    extends AbstractRestQueryExecutor
    This executor replaces a component in a slost with CxCmsContainer and set the component as default of this container.
    • Constructor Detail

      • CxUpdateCustomizationRankExecutor

        public CxUpdateCustomizationRankExecutor()
    • Method Detail

      • validateInputParams

        protected void validateInputParams​(java.util.Map<java.lang.String,​java.lang.String> params,
                                           org.springframework.validation.Errors errors)
        Specified by:
        validateInputParams in class AbstractRestQueryExecutor
      • createSubQuery

        protected java.lang.String createSubQuery()
      • createQuery

        protected java.lang.String createQuery​(java.lang.String subQuery,
                                               java.lang.Integer increaseValue)
      • updateCustomizationRank

        protected java.lang.Object updateCustomizationRank​(java.util.Map<java.lang.String,​java.lang.String> params)
      • getCatalogsForWriteAccess

        public java.util.List<CatalogVersionWsDTO> getCatalogsForWriteAccess​(java.util.Map<java.lang.String,​java.lang.String> params)
        Returns:
        The catalogs the query needs to write on.
      • getCatalogsForReadAccess

        public java.util.List<CatalogVersionWsDTO> getCatalogsForReadAccess​(java.util.Map<java.lang.String,​java.lang.String> params)
        Returns:
        The catalogs the query needs toread from.
      • getCustomizationFacade

        protected CustomizationFacade getCustomizationFacade()
        Returns:
        the customizationFacade
      • setCustomizationFacade

        public void setCustomizationFacade​(CustomizationFacade customizationFacade)
        Parameters:
        customizationFacade - the customizationFacade to set
      • getFlexibleSearchService

        protected FlexibleSearchService getFlexibleSearchService()
        Returns:
        the flexibleSearchService
      • setFlexibleSearchService

        public void setFlexibleSearchService​(FlexibleSearchService flexibleSearchService)
        Parameters:
        flexibleSearchService - the flexibleSearchService to set