Class BlobHolderAttach
- java.lang.Object
 - 
- org.nuxeo.ecm.automation.core.operations.services.BlobHolderAttach
 
 
- 
public class BlobHolderAttach extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected AutomationServiceasprotected OperationContextcontextstatic StringIDprotected CoreSessionsessionprotected booleanuseMainBlob 
- 
Constructor Summary
Constructors Constructor Description BlobHolderAttach() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentModelgetCurrentDocument()DocumentModelrun(BlobList blobs)DocumentModelrun(Blob blob) 
 - 
 
- 
- 
Field Detail
- 
ID
public static final String ID
- See Also:
 - Constant Field Values
 
 
- 
session
protected CoreSession session
 
- 
as
protected AutomationService as
 
- 
context
protected OperationContext context
 
- 
useMainBlob
protected boolean useMainBlob
 
 - 
 
- 
Method Detail
- 
getCurrentDocument
protected DocumentModel getCurrentDocument() throws OperationException
- Throws:
 OperationException
 
- 
run
public DocumentModel run(Blob blob) throws OperationException
- Throws:
 OperationException
 
- 
run
public DocumentModel run(BlobList blobs) throws OperationException
- Throws:
 OperationException
 
 - 
 
 -