Interface AdvancedPageService

All Known Implementing Classes:
AdvancedPageServiceImpl

public interface AdvancedPageService
Service for Page objects that implement the AdvancedPage functionality.
Author:
Andre Azzolini (apazzolini)
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.broadleafcommerce.common.page.dto.PageDTO>
    findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, boolean secure)
    The same as findAllPageDTOsByPageType(PageType, int, boolean) with no limit on the max number of results
    List<org.broadleafcommerce.common.page.dto.PageDTO>
    findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults, boolean secure)
    The same as findAllPagesByPageType(PageType) but returns a list of PageDTO objects instead of Page objects.
    List<org.broadleafcommerce.cms.page.domain.Page>
    findAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
    Returns a list of all Pages that match the given PageType
    org.broadleafcommerce.cms.page.domain.Page
    findMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
    Returns the Page that is of the given PageType that was most recently updated.
  • Method Details

    • findAllPagesByPageType

      List<org.broadleafcommerce.cms.page.domain.Page> findAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
      Returns a list of all Pages that match the given PageType
      Parameters:
      pageType -
      Returns:
      the list of Pages
    • findMostRecentPageByPageType

      org.broadleafcommerce.cms.page.domain.Page findMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
      Returns the Page that is of the given PageType that was most recently updated.
      Parameters:
      pageType -
      Returns:
      the Page
    • findAllPageDTOsByPageType

      List<org.broadleafcommerce.common.page.dto.PageDTO> findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, boolean secure)
      The same as findAllPageDTOsByPageType(PageType, int, boolean) with no limit on the max number of results
      Parameters:
      pageType -
      secure -
      Returns:
      the list of PageDTOs
    • findAllPageDTOsByPageType

      List<org.broadleafcommerce.common.page.dto.PageDTO> findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults, boolean secure)
      The same as findAllPagesByPageType(PageType) but returns a list of PageDTO objects instead of Page objects. The list will contain, at most, the number specified by the maxResults param.
      Parameters:
      pageType -
      maxResults -
      secure -
      Returns:
      the list of PageDTOs