|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.utils.BlobsExtractor
public class BlobsExtractor
Extractor for all the blobs of a document.
Constructor Summary | |
---|---|
BlobsExtractor()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getBlobFieldPathForDocumentType(java.lang.String documentType)
Get path list of properties that may contain a blob for the given document type. |
java.util.List<Blob> |
getBlobs(DocumentModel doc)
Finds all the blobs of the document. |
java.util.List<Property> |
getBlobsProperties(DocumentModel doc)
Get properties of the given document that contain a blob value. |
void |
invalidateCache()
|
void |
invalidateDocumentTypeCache(java.lang.String docType)
|
void |
setExtractorProperties(java.util.Set<java.lang.String> pathProps,
java.util.Set<java.lang.String> excludedPathProps,
boolean indexBlobs)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobsExtractor()
Method Detail |
---|
public java.util.List<Property> getBlobsProperties(DocumentModel doc) throws java.lang.Exception
java.lang.Exception
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getBlobFieldPathForDocumentType(java.lang.String documentType) throws java.lang.Exception
documentType
- document type name
java.lang.Exception
public void invalidateDocumentTypeCache(java.lang.String docType)
public void invalidateCache()
public java.util.List<Blob> getBlobs(DocumentModel doc) throws ClientException
This method is not thread-safe.
doc
- the document
ClientException
public void setExtractorProperties(java.util.Set<java.lang.String> pathProps, java.util.Set<java.lang.String> excludedPathProps, boolean indexBlobs)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |