public class UserWorkspaceCreateFromBlob extends Object
FileManager
to import files inside the User's personal workspace.Modifier and Type | Field and Description |
---|---|
protected AutomationService |
as |
protected OperationContext |
context |
protected FileManager |
fileManager |
static String |
ID |
protected CoreSession |
session |
protected UserWorkspaceService |
userWorkspace |
Constructor and Description |
---|
UserWorkspaceCreateFromBlob() |
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 OperationContext context
protected UserWorkspaceService userWorkspace
protected AutomationService as
public UserWorkspaceCreateFromBlob()
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 © 2016 Nuxeo SA. All rights reserved.