org.broadleafcommerce.cms.file.service
Class StaticAssetStorageServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.file.service.StaticAssetStorageServiceImpl
All Implemented Interfaces:
StaticAssetStorageService

@Service(value="blStaticAssetStorageService")
public class StaticAssetStorageServiceImpl
extends java.lang.Object
implements StaticAssetStorageService

Created by jfischer.


Field Summary
protected  StaticAssetStorageDao staticAssetStorageDao
           
 
Constructor Summary
StaticAssetStorageServiceImpl()
           
 
Method Summary
 StaticAssetStorage create()
           
 java.sql.Blob createBlob(org.springframework.web.multipart.MultipartFile uploadedFile)
           
 void delete(StaticAssetStorage assetStorage)
           
 StaticAssetStorage findStaticAssetStorageById(java.lang.Long id)
           
 StaticAssetStorage readStaticAssetStorageByStaticAssetId(java.lang.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

staticAssetStorageDao

protected StaticAssetStorageDao staticAssetStorageDao
Constructor Detail

StaticAssetStorageServiceImpl

public StaticAssetStorageServiceImpl()
Method Detail

findStaticAssetStorageById

public StaticAssetStorage findStaticAssetStorageById(java.lang.Long id)
Specified by:
findStaticAssetStorageById in interface StaticAssetStorageService

create

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

readStaticAssetStorageByStaticAssetId

public StaticAssetStorage readStaticAssetStorageByStaticAssetId(java.lang.Long id)
Specified by:
readStaticAssetStorageByStaticAssetId in interface StaticAssetStorageService

save

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

delete

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

createBlob

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


Copyright © 2011. All Rights Reserved.