Class UserWorkspaceCreateFromBlob
- java.lang.Object
-
- org.nuxeo.ecm.platform.userworkspace.operations.UserWorkspaceCreateFromBlob
-
public class UserWorkspaceCreateFromBlob extends Object
UsesFileManagerto import files inside the User's personal workspace.- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected AutomationServiceasprotected OperationContextcontextprotected FileManagerfileManagerstatic StringIDprotected CoreSessionsessionprotected UserWorkspaceServiceuserWorkspace
-
Constructor Summary
Constructors Constructor Description UserWorkspaceCreateFromBlob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentModelgetCurrentDocument()DocumentModelListrun(BlobList blobs)DocumentModelrun(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:
OperationExceptionIOException
-
run
public DocumentModelList run(BlobList blobs) throws OperationException, IOException
- Throws:
OperationExceptionIOException
-
-