org.nuxeo.ecm.core.api.blobholder
Class SimpleBlobHolderWithProperties
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolderWithProperties
- All Implemented Interfaces:
- BlobHolder
public class SimpleBlobHolderWithProperties
- extends SimpleBlobHolder
Method Summary |
java.util.Map<java.lang.String,java.io.Serializable> |
getProperties()
Returns all properties as a Map. |
java.io.Serializable |
getProperty(java.lang.String name)
Returns a named property. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBlobHolderWithProperties
public SimpleBlobHolderWithProperties(Blob blob,
java.util.Map<java.lang.String,java.io.Serializable> properties)
SimpleBlobHolderWithProperties
public SimpleBlobHolderWithProperties(java.util.List<Blob> blobs,
java.util.Map<java.lang.String,java.io.Serializable> properties)
getProperty
public java.io.Serializable getProperty(java.lang.String name)
throws ClientException
- Description copied from interface:
BlobHolder
- Returns a named property.
- Specified by:
getProperty
in interface BlobHolder
- Overrides:
getProperty
in class SimpleBlobHolder
- Throws:
ClientException
getProperties
public java.util.Map<java.lang.String,java.io.Serializable> getProperties()
- Description copied from interface:
BlobHolder
- Returns all properties as a Map.
- Specified by:
getProperties
in interface BlobHolder
- Overrides:
getProperties
in class SimpleBlobHolder
Copyright © 2010 Nuxeo SAS. All Rights Reserved.