|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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 | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobsExtractor()
Method Detail |
---|
public List<Property> getBlobsProperties(DocumentModel doc) throws Exception
Exception
public Map<String,List<String>> getBlobFieldPathForDocumentType(String documentType) throws Exception
documentType
- document type name
Exception
public void invalidateDocumentTypeCache(String docType)
public void invalidateCache()
public List<Blob> getBlobs(DocumentModel doc) throws ClientException
This method is not thread-safe.
doc
- the document
ClientException
public void setExtractorProperties(Set<String> pathProps, Set<String> excludedPathProps, boolean indexBlobs)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |