Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.blobholder
Class SimpleBlobHolderWithProperties

java.lang.Object
  extended by org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
      extended by org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
          extended by org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolderWithProperties
All Implemented Interfaces:
BlobHolder

public class SimpleBlobHolderWithProperties
extends SimpleBlobHolder


Constructor Summary
SimpleBlobHolderWithProperties(Blob blob, Map<String,Serializable> properties)
           
SimpleBlobHolderWithProperties(List<Blob> blobs, Map<String,Serializable> properties)
           
 
Method Summary
 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
getBlob, getBlobs, getModificationDate
 
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getHash, setBlob
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
                         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 Map<String,Serializable> getProperties()
Description copied from interface: BlobHolder
Returns all properties as a Map.

Specified by:
getProperties in interface BlobHolder
Overrides:
getProperties in class SimpleBlobHolder

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.