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
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Serializable>
properties
-
Fields inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
blobs, creationDate
-
-
Constructor Summary
Constructors Constructor Description SimpleBlobHolderWithProperties(List<Blob> blobs, Map<String,Serializable> properties)
SimpleBlobHolderWithProperties(Blob blob, Map<String,Serializable> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getProperties()
Returns all properties as a Map.Serializable
getProperty(String name)
Returns a named property.-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
getBasePath, getBlob, getBlobs, getModificationDate, init, setBlob
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getHash, getMD5Digest
-
-
-
-
Field Detail
-
properties
protected final Map<String,Serializable> properties
-
-
Constructor Detail
-
SimpleBlobHolderWithProperties
public SimpleBlobHolderWithProperties(Blob blob, Map<String,Serializable> properties)
-
SimpleBlobHolderWithProperties
public SimpleBlobHolderWithProperties(List<Blob> blobs, Map<String,Serializable> properties)
-
-
Method Detail
-
getProperty
public Serializable getProperty(String name)
Description copied from interface:BlobHolder
Returns a named property.- Specified by:
getProperty
in interfaceBlobHolder
- Overrides:
getProperty
in classSimpleBlobHolder
-
getProperties
public Map<String,Serializable> getProperties()
Description copied from interface:BlobHolder
Returns all properties as a Map.- Specified by:
getProperties
in interfaceBlobHolder
- Overrides:
getProperties
in classSimpleBlobHolder
-
-