@Repository(value="blContentDao") public class ContentDaoImpl extends BatchRetrieveDao implements ContentDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
ContentDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Content content) |
void |
delete(List<Content> contentList) |
List<Content> |
readAllContent() |
List<Content> |
readContentAwaitingApproval() |
Content |
readContentById(Integer id) |
List<Content> |
readContentByIdsAndSandbox(List<Integer> ids,
String sandbox) |
List<Content> |
readContentBySandbox(String sandbox) |
List<Content> |
readContentBySandboxAndType(String sandbox,
String contentType) |
List<Content> |
readContentSpecified(String sandbox,
String contentType,
Date displayDate) |
List<Content> |
readStagedContent() |
Content |
saveContent(Content content) |
List<Content> |
saveContent(List<Content> contentList) |
batchExecuteReadQuery, getInClauseBatchSize, setInClauseBatchSizeprotected EntityConfiguration entityConfiguration
protected javax.persistence.EntityManager em
public void delete(Content content)
delete in interface ContentDaopublic void delete(List<Content> contentList)
delete in interface ContentDaopublic List<Content> readContentAwaitingApproval()
readContentAwaitingApproval in interface ContentDaopublic Content readContentById(Integer id)
readContentById in interface ContentDaopublic List<Content> readContentByIdsAndSandbox(List<Integer> ids, String sandbox)
readContentByIdsAndSandbox in interface ContentDaopublic List<Content> readContentBySandbox(String sandbox)
readContentBySandbox in interface ContentDaopublic List<Content> readContentBySandboxAndType(String sandbox, String contentType)
readContentBySandboxAndType in interface ContentDaopublic List<Content> readContentSpecified(String sandbox, String contentType, Date displayDate)
readContentSpecified in interface ContentDaopublic Content saveContent(Content content)
saveContent in interface ContentDaopublic List<Content> saveContent(List<Content> contentList)
saveContent in interface ContentDaopublic List<Content> readStagedContent()
readStagedContent in interface ContentDaopublic List<Content> readAllContent()
readAllContent in interface ContentDaoCopyright © 2014. All Rights Reserved.