Interface AdvancedPageDao

All Known Implementing Classes:
AdvancedPageDaoImpl

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

    Modifier and Type
    Method
    Description
    List<org.broadleafcommerce.cms.page.domain.Page>
    readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults)
    Returns a list of all Pages that match the given PageType, limited by the number of results specified by the maxResults parameter.
    org.broadleafcommerce.cms.page.domain.Page
    readMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
    Returns the Page that is of the given PageType that was most recently updated.
  • Method Details

    • readAllPagesByPageType

      List<org.broadleafcommerce.cms.page.domain.Page> readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults)
      Returns a list of all Pages that match the given PageType, limited by the number of results specified by the maxResults parameter.
      Parameters:
      pageType -
      maxResults -
      Returns:
      the list of Pages
    • readMostRecentPageByPageType

      org.broadleafcommerce.cms.page.domain.Page readMostRecentPageByPageType(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