public class BlobsExtractor extends Object
Constructor and Description |
---|
BlobsExtractor() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getBlobFieldPathForDocumentType(String documentType)
Get path list of properties that may contain a blob for the given
document type.
|
List<Blob> |
getBlobs(DocumentModel doc)
Finds all the blobs of the document.
|
List<Property> |
getBlobsProperties(DocumentModel doc)
Get properties of the given document that contain a blob value.
|
void |
invalidateCache() |
void |
invalidateDocumentTypeCache(String docType) |
void |
setExtractorProperties(Set<String> pathProps,
Set<String> excludedPathProps,
boolean indexBlobs) |
public List<Property> getBlobsProperties(DocumentModel doc) throws Exception
Exception
public Map<String,List<String>> getBlobFieldPathForDocumentType(String documentType) throws Exception
documentType
- document type nameException
public void invalidateDocumentTypeCache(String docType)
public void invalidateCache()
public List<Blob> getBlobs(DocumentModel doc) throws ClientException
This method is not thread-safe.
doc
- the documentClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.