public class FileManagerImport extends Object
FileManager
to create documents from blobsModifier 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
public FileManagerImport()
protected DocumentModel getCurrentDocument() throws OperationException
OperationException
public DocumentModel run(Blob blob) throws OperationException, IOException
OperationException
IOException
public DocumentModelList run(BlobList blobs) throws OperationException, IOException
OperationException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.