org.broadleafcommerce.cms.file.dao
Class StaticAssetDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.file.dao.StaticAssetDaoImpl
All Implemented Interfaces:
StaticAssetDao

@Repository(value="blStaticAssetDao")
public class StaticAssetDaoImpl
extends Object
implements StaticAssetDao

Created by bpolster.


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
StaticAssetDaoImpl()
           
 
Method Summary
 StaticAsset addOrUpdateStaticAsset(StaticAsset asset, boolean clearLevel1Cache)
           
 void delete(StaticAsset asset)
           
 StaticAsset readStaticAssetByFullUrl(String fullUrl, SandBox targetSandBox)
           
 StaticAsset readStaticAssetById(Long id)
           
 
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
Constructor Detail

StaticAssetDaoImpl

public StaticAssetDaoImpl()
Method Detail

readStaticAssetById

public StaticAsset readStaticAssetById(Long id)
Specified by:
readStaticAssetById in interface StaticAssetDao

readStaticAssetByFullUrl

public StaticAsset readStaticAssetByFullUrl(String fullUrl,
                                            SandBox targetSandBox)
Specified by:
readStaticAssetByFullUrl in interface StaticAssetDao

addOrUpdateStaticAsset

public StaticAsset addOrUpdateStaticAsset(StaticAsset asset,
                                          boolean clearLevel1Cache)
Specified by:
addOrUpdateStaticAsset in interface StaticAssetDao

delete

public void delete(StaticAsset asset)
Specified by:
delete in interface StaticAssetDao


Copyright © 2012. All Rights Reserved.