| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
PageDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
Page |
addPage(Page clonedPage) |
void |
delete(Page page) |
void |
detachPage(Page page) |
java.util.List<Page> |
findPageByURI(SandBox sandBox,
Locale fullLocale,
Locale languageOnlyLocale,
java.lang.String uri) |
java.util.List<Page> |
findPageByURI(SandBox sandBox,
Locale locale,
java.lang.String uri) |
java.util.List<Page> |
readAllPages()
Returns all pages, regardless of any sandbox they are apart of
|
java.util.List<PageTemplate> |
readAllPageTemplates()
Returns all page templates, regardless of any sandbox they are apart of
|
Page |
readPageById(java.lang.Long id) |
java.util.Map<java.lang.String,PageField> |
readPageFieldsByPage(Page page) |
PageTemplate |
readPageTemplateById(java.lang.Long id) |
PageTemplate |
savePageTemplate(PageTemplate template)
Saves the given
PageTemplate |
Page |
updatePage(Page page) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public Page readPageById(java.lang.Long id)
readPageById in interface PageDaopublic PageTemplate readPageTemplateById(java.lang.Long id)
readPageTemplateById in interface PageDaopublic PageTemplate savePageTemplate(PageTemplate template)
PageDaoPageTemplatesavePageTemplate in interface PageDaotemplate - the PageTemplate to savePageTemplatepublic java.util.Map<java.lang.String,PageField> readPageFieldsByPage(Page page)
readPageFieldsByPage in interface PageDaopublic Page updatePage(Page page)
updatePage in interface PageDaopublic java.util.List<Page> findPageByURI(SandBox sandBox, Locale fullLocale, Locale languageOnlyLocale, java.lang.String uri)
findPageByURI in interface PageDaopublic java.util.List<Page> readAllPages()
PageDaoreadAllPages in interface PageDaopublic java.util.List<PageTemplate> readAllPageTemplates()
PageDaoreadAllPageTemplates in interface PageDaoPageTemplates configured in the systempublic java.util.List<Page> findPageByURI(SandBox sandBox, Locale locale, java.lang.String uri)
findPageByURI in interface PageDaopublic void detachPage(Page page)
detachPage in interface PageDaoCopyright © 2018. All Rights Reserved.