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 TypeMethodDescriptionList<org.broadleafcommerce.cms.page.domain.Page>readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults) Returns a list of allPages that match the givenPageType, limited by the number of results specified by the maxResults parameter.org.broadleafcommerce.cms.page.domain.PagereadMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType) Returns thePagethat is of the givenPageTypethat 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 allPages that match the givenPageType, 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 thePagethat is of the givenPageTypethat was most recently updated.- Parameters:
pageType-- Returns:
- the
Page
-