Class DefaultPageContentSlotContainerFacade

    • Constructor Detail

      • DefaultPageContentSlotContainerFacade

        public DefaultPageContentSlotContainerFacade()
    • Method Detail

      • buildPageContentSlotContainerStream

        protected java.util.stream.Stream<PageContentSlotContainerData> buildPageContentSlotContainerStream​(java.lang.String pageId,
                                                                                                            ContentSlotData contentSlot)
        Gets a list of containers data found within a given slot.
        Parameters:
        pageId - - the page for which to look up the containers for
        contentSlot - - the slot for which to look up the containers for
        Returns:
        stream of containers data found in the content slot; never null
      • buildPageContentSlotContainer

        protected PageContentSlotContainerData buildPageContentSlotContainer​(java.lang.String pageId,
                                                                             java.lang.String slotId,
                                                                             AbstractCMSComponentContainerModel container)
        Builds the data of a container in a content slot.
        Parameters:
        pageId - - the page where the content slot resides.
        slotId - - the slot where the container resides
        container - - the model of the container for which to retrieve its data
        Returns:
        the newly built container data; never null
      • getComponentUuid

        protected java.util.stream.Stream<java.lang.String> getComponentUuid​(AbstractCMSComponentModel component)
        Retrieves the UUID of the provided component.
        Parameters:
        component - - the component for which to retrieve its UUID.
        Returns:
        stream containing the component UUID; never null
      • setAdminPageService

        public void setAdminPageService​(CMSAdminPageService adminPageService)
      • setUniqueItemIdentifierService

        public void setUniqueItemIdentifierService​(UniqueItemIdentifierService uniqueItemIdentifierService)