org.broadleafcommerce.core.content.dao
Class ContentDetailsDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.util.dao.BatchRetrieveDao
      extended by org.broadleafcommerce.core.content.dao.ContentDetailsDaoImpl
All Implemented Interfaces:
ContentDetailsDao

@Repository(value="blContentDetailsDao")
public class ContentDetailsDaoImpl
extends BatchRetrieveDao
implements ContentDetailsDao

Author:
btaylor

Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
protected  java.lang.String queryCacheableKey
           
 
Constructor Summary
ContentDetailsDaoImpl()
           
 
Method Summary
 void delete(ContentDetails contentDetails)
           
 java.lang.String getQueryCacheableKey()
           
 ContentDetails readContentDetailsById(java.lang.Integer id)
           
 java.util.List<ContentDetails> readContentDetailsByOrderedIds(java.util.List<java.lang.Integer> ids)
           
 ContentDetails save(ContentDetails contentDetails)
           
 void setQueryCacheableKey(java.lang.String queryCacheableKey)
           
 
Methods inherited from class org.broadleafcommerce.profile.util.dao.BatchRetrieveDao
batchExecuteReadQuery, getInClauseBatchSize, setInClauseBatchSize
 
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

queryCacheableKey

protected java.lang.String queryCacheableKey
Constructor Detail

ContentDetailsDaoImpl

public ContentDetailsDaoImpl()
Method Detail

delete

public void delete(ContentDetails contentDetails)
Specified by:
delete in interface ContentDetailsDao

readContentDetailsById

public ContentDetails readContentDetailsById(java.lang.Integer id)
Specified by:
readContentDetailsById in interface ContentDetailsDao

readContentDetailsByOrderedIds

public java.util.List<ContentDetails> readContentDetailsByOrderedIds(java.util.List<java.lang.Integer> ids)
Specified by:
readContentDetailsByOrderedIds in interface ContentDetailsDao

save

public ContentDetails save(ContentDetails contentDetails)
Specified by:
save in interface ContentDetailsDao

getQueryCacheableKey

public java.lang.String getQueryCacheableKey()

setQueryCacheableKey

public void setQueryCacheableKey(java.lang.String queryCacheableKey)


Copyright © 2011. All Rights Reserved.