org.broadleafcommerce.cms.file.dao
Class StaticAssetStorageDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.file.dao.StaticAssetStorageDaoImpl
All Implemented Interfaces:
StaticAssetStorageDao

@Repository(value="blStaticAssetStorageDao")
public class StaticAssetStorageDaoImpl
extends Object
implements StaticAssetStorageDao

Created by IntelliJ IDEA. User: jfischer Date: 9/8/11 Time: 7:31 PM To change this template use File | Settings | File Templates.


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
StaticAssetStorageDaoImpl()
           
 
Method Summary
 StaticAssetStorage create()
           
 Blob createBlob(org.springframework.web.multipart.MultipartFile uploadedFile)
           
 void delete(StaticAssetStorage assetStorage)
           
 StaticAssetStorage readStaticAssetStorageById(Long id)
           
 StaticAssetStorage readStaticAssetStorageByStaticAssetId(Long id)
           
 StaticAssetStorage save(StaticAssetStorage assetStorage)
           
 
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

StaticAssetStorageDaoImpl

public StaticAssetStorageDaoImpl()
Method Detail

create

public StaticAssetStorage create()
Specified by:
create in interface StaticAssetStorageDao

createBlob

public Blob createBlob(org.springframework.web.multipart.MultipartFile uploadedFile)
                throws IOException
Specified by:
createBlob in interface StaticAssetStorageDao
Throws:
IOException

readStaticAssetStorageById

public StaticAssetStorage readStaticAssetStorageById(Long id)
Specified by:
readStaticAssetStorageById in interface StaticAssetStorageDao

readStaticAssetStorageByStaticAssetId

public StaticAssetStorage readStaticAssetStorageByStaticAssetId(Long id)
Specified by:
readStaticAssetStorageByStaticAssetId in interface StaticAssetStorageDao

save

public StaticAssetStorage save(StaticAssetStorage assetStorage)
Specified by:
save in interface StaticAssetStorageDao

delete

public void delete(StaticAssetStorage assetStorage)
Specified by:
delete in interface StaticAssetStorageDao


Copyright © 2011. All Rights Reserved.