org.broadleafcommerce.cms.page.dao
Class PageDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.page.dao.PageDaoImpl
All Implemented Interfaces:
PageDao

@Repository(value="blPageDao")
public class PageDaoImpl
extends Object
implements PageDao

Created by bpolster.


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
PageDaoImpl()
           
 
Method Summary
 Page addPage(Page clonedPage)
           
 void delete(Page page)
           
 void detachPage(Page page)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

PageDaoImpl

public PageDaoImpl()
Method Detail

readPageById

public Page readPageById(Long id)
Specified by:
readPageById in interface PageDao

readPageTemplateById

public PageTemplate readPageTemplateById(Long id)
Specified by:
readPageTemplateById in interface PageDao

readPageFieldsByPage

public Map<String,PageField> readPageFieldsByPage(Page page)
Specified by:
readPageFieldsByPage in interface PageDao

updatePage

public Page updatePage(Page page)
Specified by:
updatePage in interface PageDao

delete

public void delete(Page page)
Specified by:
delete in interface PageDao

addPage

public Page addPage(Page clonedPage)
Specified by:
addPage in interface PageDao

findPageByURI

public Page findPageByURI(SandBox sandBox,
                          Locale locale,
                          String uri)
Specified by:
findPageByURI in interface PageDao

detachPage

public void detachPage(Page page)
Specified by:
detachPage in interface PageDao


Copyright © 2011. All Rights Reserved.