Class UserWorkspaceCreateFromBlob
- java.lang.Object
-
- org.nuxeo.ecm.platform.userworkspace.operations.UserWorkspaceCreateFromBlob
-
public class UserWorkspaceCreateFromBlob extends Object
UsesFileManager
to import files inside the User's personal workspace.- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected AutomationService
as
protected OperationContext
context
protected FileManager
fileManager
static String
ID
protected CoreSession
session
protected UserWorkspaceService
userWorkspace
-
Constructor Summary
Constructors Constructor Description UserWorkspaceCreateFromBlob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentModel
getCurrentDocument()
DocumentModelList
run(BlobList blobs)
DocumentModel
run(Blob blob)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
fileManager
protected FileManager fileManager
-
context
protected OperationContext context
-
userWorkspace
protected UserWorkspaceService userWorkspace
-
as
protected AutomationService as
-
-
Method Detail
-
getCurrentDocument
protected DocumentModel getCurrentDocument() throws OperationException
- Throws:
OperationException
-
run
public DocumentModel run(Blob blob) throws OperationException, IOException
- Throws:
OperationException
IOException
-
run
public DocumentModelList run(BlobList blobs) throws OperationException, IOException
- Throws:
OperationException
IOException
-
-