Class DefaultPageContentSlotComponentFacade

    • Constructor Detail

      • DefaultPageContentSlotComponentFacade

        public DefaultPageContentSlotComponentFacade()
    • Method Detail

      • buildPageContentSlotComponentStream

        protected java.util.stream.Stream<PageContentSlotComponentData> buildPageContentSlotComponentStream​(java.lang.String pageId,
                                                                                                            ContentSlotData contentSlot)
        Build a stream of PageContentSlotComponentData.
        Parameters:
        pageId - - the page id
        contentSlot - - the content slot
        Returns:
        a new stream of DTOs
      • buildPageContentSlotComponent

        protected PageContentSlotComponentData buildPageContentSlotComponent​(java.lang.String pageId,
                                                                             java.lang.String slotId,
                                                                             java.lang.Integer position,
                                                                             AbstractCMSComponentModel component)
        Build a single PageContentSlotComponentData.
        Parameters:
        pageId - - the page id
        slotId - - the slot id
        position - - the position of the component in the slot
        component - - the CMS component model
        Returns:
        a new DTO
      • buildPageContentSlotComponentValidationDto

        protected PageContentSlotComponentData buildPageContentSlotComponentValidationDto​(java.lang.String slotId,
                                                                                          PageContentSlotComponentData pageContentSlotComponentData)
        Build a new DTO for validating adding existing component to content slot.
        Parameters:
        slotId -
        pageContentSlotComponentData -
        Returns:
        the new DTO
      • setAdminPageService

        public void setAdminPageService​(CMSAdminPageService adminPageService)
      • getCreatePageContentSlotComponentCompositeValidator

        protected org.springframework.validation.Validator getCreatePageContentSlotComponentCompositeValidator()
      • setCreatePageContentSlotComponentCompositeValidator

        public void setCreatePageContentSlotComponentCompositeValidator​(org.springframework.validation.Validator createPageContentSlotComponentCompositeValidator)
      • setFacadeValidationService

        public void setFacadeValidationService​(FacadeValidationService facadeValidationService)
      • getUpdatePageContentSlotComponentValidator

        protected org.springframework.validation.Validator getUpdatePageContentSlotComponentValidator()
      • setUpdatePageContentSlotComponentValidator

        public void setUpdatePageContentSlotComponentValidator​(org.springframework.validation.Validator updatePageContentSlotComponentValidator)
      • getTransactionManager

        public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
      • setTransactionManager

        public void setTransactionManager​(org.springframework.transaction.PlatformTransactionManager transactionManager)
      • getComponentExistsInSlotValidator

        public org.springframework.validation.Validator getComponentExistsInSlotValidator()
      • setComponentExistsInSlotValidator

        public void setComponentExistsInSlotValidator​(org.springframework.validation.Validator componentExistsInSlotValidator)
      • setUniqueItemIdentifierService

        public void setUniqueItemIdentifierService​(UniqueItemIdentifierService uniqueItemIdentifierService)
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)