org.broadleafcommerce.core.content.dao
Class ContentDaoImpl
java.lang.Object
org.broadleafcommerce.common.util.dao.BatchRetrieveDao
org.broadleafcommerce.core.content.dao.ContentDaoImpl
- All Implemented Interfaces:
- ContentDao
@Repository(value="blContentDao")
public class ContentDaoImpl
- extends BatchRetrieveDao
- implements ContentDao
- Author:
- btaylor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityConfiguration
protected EntityConfiguration entityConfiguration
em
protected javax.persistence.EntityManager em
ContentDaoImpl
public ContentDaoImpl()
delete
public void delete(Content content)
- Specified by:
delete in interface ContentDao
delete
public void delete(List<Content> contentList)
- Specified by:
delete in interface ContentDao
readContentAwaitingApproval
public List<Content> readContentAwaitingApproval()
- Specified by:
readContentAwaitingApproval in interface ContentDao
readContentById
public Content readContentById(Integer id)
- Specified by:
readContentById in interface ContentDao
readContentByIdsAndSandbox
public List<Content> readContentByIdsAndSandbox(List<Integer> ids,
String sandbox)
- Specified by:
readContentByIdsAndSandbox in interface ContentDao
readContentBySandbox
public List<Content> readContentBySandbox(String sandbox)
- Specified by:
readContentBySandbox in interface ContentDao
readContentBySandboxAndType
public List<Content> readContentBySandboxAndType(String sandbox,
String contentType)
- Specified by:
readContentBySandboxAndType in interface ContentDao
readContentSpecified
public List<Content> readContentSpecified(String sandbox,
String contentType,
Date displayDate)
- Specified by:
readContentSpecified in interface ContentDao
saveContent
public Content saveContent(Content content)
- Specified by:
saveContent in interface ContentDao
saveContent
public List<Content> saveContent(List<Content> contentList)
- Specified by:
saveContent in interface ContentDao
readStagedContent
public List<Content> readStagedContent()
- Specified by:
readStagedContent in interface ContentDao
readAllContent
public List<Content> readAllContent()
- Specified by:
readAllContent in interface ContentDao
Copyright © 2012. All Rights Reserved.