@Repository(value="blAdvancedPageDao") public class AdvancedPageDaoImpl extends Object implements AdvancedPageDao
Page
objects that implement the AdvancedPage
functionality.Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.common.sandbox.SandBoxHelper |
sandBoxHelper |
Constructor and Description |
---|
AdvancedPageDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<org.broadleafcommerce.cms.page.domain.Page> |
readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType,
int maxResults)
Returns a list of all
Page s 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. |
protected javax.persistence.EntityManager em
protected org.broadleafcommerce.common.sandbox.SandBoxHelper sandBoxHelper
public org.broadleafcommerce.cms.page.domain.Page readMostRecentPageByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType)
AdvancedPageDao
Page
that is of the given PageType
that was most recently updated.readMostRecentPageByPageType
in interface AdvancedPageDao
Page
public List<org.broadleafcommerce.cms.page.domain.Page> readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults)
AdvancedPageDao
Page
s that match the given PageType
, limited by the number of results
specified by the maxResults parameter.readAllPagesByPageType
in interface AdvancedPageDao
Page
sCopyright © 2020. All rights reserved.