Interface CMSContentSlotService

  • All Known Implementing Classes:
    DefaultCMSContentSlotService

    public interface CMSContentSlotService
    The Interface CMSContentSlotService provides methods for managing content slots.
    Spring Bean ID:
    cmsContentSlotService
    • Method Detail

      • getAvailableContentSlotsNames

        java.lang.String getAvailableContentSlotsNames​(AbstractPageModel page)
        Gets the available content slots names and return them as semicolon separated string ("foo; bar; baz").
        Parameters:
        page - the AbstractPageModel object. *
        Returns:
        the available content slots names as semicolon separated string.
      • getMissingContentSlotsNames

        java.lang.String getMissingContentSlotsNames​(AbstractPageModel page)
        Gets the missing content slots names and return them as semicolon separated string ("foo; bar; baz").
        Parameters:
        page - the AbstractPageModel object.
        Returns:
        the missing content slots names.
      • getDefinedContentSlotPositions

        java.util.List<java.lang.String> getDefinedContentSlotPositions​(PageTemplateModel pageTemplate)
        Gets the defined content slot positions.
        Parameters:
        pageTemplate - the page template
        Returns:
        the defined content slot positions
      • getDefinedContentSlotPositions

        java.util.List<java.lang.String> getDefinedContentSlotPositions​(AbstractPageModel page)
        Gets the defined content slot positions.
        Parameters:
        page - the page
        Returns:
        the defined content slot positions
      • getPagesForContentSlot

        java.util.Collection<AbstractPageModel> getPagesForContentSlot​(ContentSlotModel contentSlot)
        Gets the related AbstractPageModel objects for content slot.
        Parameters:
        contentSlot - the ContentSlotModel object for which pages will be obtained.
        Returns:
        the collection of AbstractPageModel objects related to ContentSlotModel object.