public class BookFileManagerPlugin extends AbstractFileImporter
DISABLE_AUDIT_LOGGER, SKIP_UPDATE_AUDIT_LOGGING| Constructor and Description |
|---|
BookFileManagerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService)
Creates the document.
|
compareTo, createDocument, getBlob, getDefaultDocType, getDocType, getDocType, getFileManagerService, getFilters, getName, getOrder, isEnabled, isOverwriteByTitle, matches, setDocType, setEnabled, setFileManagerService, setFilters, setName, setOrder, updateDocument, updateDocumentIfPossiblepublic DocumentModel create(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService) throws ClientException, IOException
FileImportercreate in interface FileImportercreate in class AbstractFileImporterdocumentManager - the manager used to create the Documentcontent - the content of the Filepath - the path of current documentoverwrite - a boolean deciding whether to create or update if we find a document with the same fileNamefilename - the filename of the FileClientExceptionIOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.