@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
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. |
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)
AdvancedPageDaoPage that is of the given PageType that was most recently updated.readMostRecentPageByPageType in interface AdvancedPageDaoPagepublic List<org.broadleafcommerce.cms.page.domain.Page> readAllPagesByPageType(com.broadleafcommerce.theme.domain.page.PageType pageType, int maxResults)
AdvancedPageDaoPages that match the given PageType, limited by the number of results
specified by the maxResults parameter.readAllPagesByPageType in interface AdvancedPageDaoPagesCopyright © 2020. All rights reserved.