public class FileManagerImport extends Object
FileManager to create documents from blobs| Modifier and Type | Field and Description |
|---|---|
protected AutomationService |
as |
protected OperationContext |
context |
protected FileManager |
fileManager |
static String |
ID |
protected Boolean |
overwite |
protected CoreSession |
session |
| Constructor and Description |
|---|
FileManagerImport() |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentModel |
getCurrentDocument() |
DocumentModel |
run(Blob blob) |
DocumentModelList |
run(BlobList blobs) |
public static final String ID
protected CoreSession session
protected FileManager fileManager
protected AutomationService as
protected OperationContext context
protected Boolean overwite
protected DocumentModel getCurrentDocument() throws Exception
Exceptionpublic DocumentModel run(Blob blob) throws Exception
Exceptionpublic DocumentModelList run(BlobList blobs) throws Exception
ExceptionCopyright © 2019 Nuxeo SA. All rights reserved.