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 TypeMethodDescriptionList<org.broadleafcommerce.common.page.dto.PageDTO>findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, boolean secure) The same asfindAllPageDTOsByPageType(PageType, int, boolean)with no limit on the max number of resultsList<org.broadleafcommerce.common.page.dto.PageDTO>findAllPageDTOsByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults, boolean secure) The same asfindAllPagesByPageType(PageType)but returns a list ofPageDTOobjects instead ofPageobjects.List<org.broadleafcommerce.cms.page.domain.Page>findAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType) Returns a list of allPages that match the givenPageTypeorg.broadleafcommerce.cms.page.domain.PagefindMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType) Returns thePagethat is of the givenPageTypethat 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 allPages that match the givenPageType- Parameters:
pageType-- Returns:
- the list of
Pages
-
findMostRecentPageByPageType
org.broadleafcommerce.cms.page.domain.Page findMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType) Returns thePagethat is of the givenPageTypethat 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 asfindAllPageDTOsByPageType(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 asfindAllPagesByPageType(PageType)but returns a list ofPageDTOobjects instead ofPageobjects. The list will contain, at most, the number specified by the maxResults param.- Parameters:
pageType-maxResults-secure-- Returns:
- the list of
PageDTOs
-