org.tynamo.blob
Class DefaultBlobManager
java.lang.Object
org.tynamo.blob.DefaultBlobManager
- All Implemented Interfaces:
- BlobManager
public class DefaultBlobManager
- extends Object
- implements BlobManager
The Tynamo BlobManager default implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBlobManager
public DefaultBlobManager(PersistenceService persistenceService,
org.apache.tapestry5.ioc.services.PropertyAccess propertyAccess,
org.apache.tapestry5.services.PageRenderLinkSource pageRenderLinkSource,
BuilderDirector builderDirector)
store
public void store(TynamoPropertyDescriptor propertyDescriptor,
Object model,
org.apache.tapestry5.upload.services.UploadedFile file)
- Specified by:
store in interface BlobManager
getData
public byte[] getData(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
getData in interface BlobManager
delete
public void delete(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
delete in interface BlobManager
createBlobLink
public org.apache.tapestry5.Link createBlobLink(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
createBlobLink in interface BlobManager
getContentType
public String getContentType(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
getContentType in interface BlobManager
getFileName
public String getFileName(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
getFileName in interface BlobManager
isNotNull
public boolean isNotNull(TynamoPropertyDescriptor propertyDescriptor,
Object model)
- Specified by:
isNotNull in interface BlobManager
Copyright © 2004-2012. All Rights Reserved.