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) |
List<Page> |
findPageByURI(SandBox sandBox,
Locale fullLocale,
Locale languageOnlyLocale,
String uri) |
List<Page> |
findPageByURI(SandBox sandBox,
Locale locale,
String uri) |
Page |
readPageById(Long id) |
Map<String,PageField> |
readPageFieldsByPage(Page page) |
PageTemplate |
readPageTemplateById(Long id) |
Page |
updatePage(Page page) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public Page readPageById(Long id)
readPageById
in interface PageDao
public PageTemplate readPageTemplateById(Long id)
readPageTemplateById
in interface PageDao
public Map<String,PageField> readPageFieldsByPage(Page page)
readPageFieldsByPage
in interface PageDao
public Page updatePage(Page page)
updatePage
in interface PageDao
public List<Page> findPageByURI(SandBox sandBox, Locale fullLocale, Locale languageOnlyLocale, String uri)
findPageByURI
in interface PageDao
public List<Page> findPageByURI(SandBox sandBox, Locale locale, String uri)
findPageByURI
in interface PageDao
public void detachPage(Page page)
detachPage
in interface PageDao
Copyright © 2013. All rights reserved.