public class ImagePlugin extends AbstractFileImporter
DISABLE_AUDIT_LOGGER, docType, enabled, fileManagerService, filters, name, order, patterns, SKIP_UPDATE_AUDIT_LOGGING| Constructor and Description |
|---|
ImagePlugin() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultDocType()
Default document type to use when the plugin XML configuration does not specify one.
|
boolean |
isOverwriteByTitle()
Whether document overwrite is detected by checking title or filename.
|
void |
updateDocument(DocumentModel doc,
Blob content)
Updates the document (sets its properties).
|
checkIn, checkInAfterAdd, compareTo, create, createDocument, doSecurityCheck, getBlob, getDocType, getDocType, getFileManagerService, getFilters, getName, getNearestContainerPath, getOrder, isEnabled, matches, overwriteAndIncrementversion, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, skipCheckInForBlob, updateDocumentIfPossiblepublic ImagePlugin()
public String getDefaultDocType()
AbstractFileImporter
To implement when the default AbstractFileImporter.create(org.nuxeo.ecm.core.api.CoreSession, org.nuxeo.ecm.core.api.Blob, java.lang.String, boolean, java.lang.String, org.nuxeo.ecm.platform.types.TypeManager) method is used.
getDefaultDocType in class AbstractFileImporterpublic boolean isOverwriteByTitle()
AbstractFileImporter
To implement when the default AbstractFileImporter.create(org.nuxeo.ecm.core.api.CoreSession, org.nuxeo.ecm.core.api.Blob, java.lang.String, boolean, java.lang.String, org.nuxeo.ecm.platform.types.TypeManager) method is used.
isOverwriteByTitle in class AbstractFileImporterpublic void updateDocument(DocumentModel doc, Blob content)
AbstractFileImporterDefault implementation sets the content.
updateDocument in class AbstractFileImporterCopyright © 2016 Nuxeo SA. All rights reserved.