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 AutomationService
as
protected OperationContext
context
static String
ID
protected CoreSession
session
protected boolean
useMainBlob
-
Constructor Summary
Constructors Constructor Description BlobHolderAttach()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentModel
getCurrentDocument()
DocumentModel
run(BlobList blobs)
DocumentModel
run(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
-
-