org.broadleafcommerce.cms.structure.dao
Class StructuredContentDaoImpl
java.lang.Object
org.broadleafcommerce.cms.structure.dao.StructuredContentDaoImpl
- All Implemented Interfaces:
- StructuredContentDao
@Repository(value="blStructuredContentDao")
public class StructuredContentDaoImpl
- extends java.lang.Object
- implements StructuredContentDao
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
StructuredContentDaoImpl
public StructuredContentDaoImpl()
findStructuredContentById
public StructuredContent findStructuredContentById(java.lang.Long contentId)
- Specified by:
findStructuredContentById in interface StructuredContentDao
findStructuredContentTypeById
public StructuredContentType findStructuredContentTypeById(java.lang.Long contentTypeId)
- Specified by:
findStructuredContentTypeById in interface StructuredContentDao
retrieveAllStructuredContentTypes
public java.util.List<StructuredContentType> retrieveAllStructuredContentTypes()
- Specified by:
retrieveAllStructuredContentTypes in interface StructuredContentDao
readFieldsForStructuredContentItem
public java.util.Map<java.lang.String,StructuredContentField> readFieldsForStructuredContentItem(StructuredContent sc)
- Specified by:
readFieldsForStructuredContentItem in interface StructuredContentDao
addOrUpdateContentItem
public StructuredContent addOrUpdateContentItem(StructuredContent content)
- Specified by:
addOrUpdateContentItem in interface StructuredContentDao
delete
public void delete(StructuredContent content)
- Specified by:
delete in interface StructuredContentDao
findActiveStructuredContentByType
public java.util.List<StructuredContent> findActiveStructuredContentByType(SandBox sandBox,
StructuredContentType type,
Locale locale)
- Specified by:
findActiveStructuredContentByType in interface StructuredContentDao
findActiveStructuredContentByNameAndType
public java.util.List<StructuredContent> findActiveStructuredContentByNameAndType(SandBox sandBox,
StructuredContentType type,
java.lang.String name,
Locale locale)
- Specified by:
findActiveStructuredContentByNameAndType in interface StructuredContentDao
findStructuredContentTypeByName
public StructuredContentType findStructuredContentTypeByName(java.lang.String name)
- Specified by:
findStructuredContentTypeByName in interface StructuredContentDao
detach
public void detach(StructuredContent sc)
- Specified by:
detach in interface StructuredContentDao
Copyright © 2011. All Rights Reserved.