@Repository(value="blContentItemDao") public class ContentItemDaoImpl extends Object implements ContentItemDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
| Constructor and Description |
|---|
ContentItemDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<OverrideContentItem> |
findAllOverrideContentItemsByContentItemId(Long contentItemId)
Returns a list of all
OverrideContentItems that are associated with the given contentItemId. |
List<ContentItem> |
readAllContentItems() |
List<StructuredContentContentItemXref> |
readAllStructuredContentContentItemXrefs() |
ContentItem |
readContentItemById(Long id)
Returns a
ContentItem by its id. |
OverrideContentItem |
readOverrideContentItemById(Long id)
Returns a
OverrideContentItem by its id. |
ContentItem |
saveContentItem(ContentItem contentItem)
Persists a
ContentItem and returns the persisted version. |
public List<ContentItem> readAllContentItems()
readAllContentItems in interface ContentItemDaoContentItemspublic List<StructuredContentContentItemXref> readAllStructuredContentContentItemXrefs()
readAllStructuredContentContentItemXrefs in interface ContentItemDaoStructuredContentContentItemXrefspublic ContentItem readContentItemById(Long id)
ContentItemDaoContentItem by its id.readContentItemById in interface ContentItemDaoContentItempublic ContentItem saveContentItem(ContentItem contentItem)
ContentItemDaoContentItem and returns the persisted version.saveContentItem in interface ContentItemDaoContentItempublic OverrideContentItem readOverrideContentItemById(Long id)
ContentItemDaoOverrideContentItem by its id.readOverrideContentItemById in interface ContentItemDaoOverrideContentItempublic List<OverrideContentItem> findAllOverrideContentItemsByContentItemId(Long contentItemId)
ContentItemDaoOverrideContentItems that are associated with the given contentItemId.findAllOverrideContentItemsByContentItemId in interface ContentItemDaoOverrideContentItemsCopyright © 2020. All rights reserved.