public class BlobHolderAttach extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AutomationService |
as |
protected OperationContext |
context |
static String |
ID |
protected CoreSession |
session |
protected boolean |
useMainBlob |
| Constructor and Description |
|---|
BlobHolderAttach() |
| Modifier and Type | Method and Description |
|---|---|
protected DocumentModel |
getCurrentDocument() |
DocumentModel |
run(Blob blob) |
DocumentModel |
run(BlobList blobs) |
public static final String ID
protected CoreSession session
protected AutomationService as
protected OperationContext context
protected boolean useMainBlob
public BlobHolderAttach()
protected DocumentModel getCurrentDocument() throws OperationException
OperationExceptionpublic DocumentModel run(Blob blob) throws OperationException
OperationExceptionpublic DocumentModel run(BlobList blobs) throws OperationException
OperationExceptionCopyright © 2019 Nuxeo. All rights reserved.