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
protected DocumentModel getCurrentDocument() throws Exception
Exceptionpublic DocumentModel run(Blob blob) throws Exception
Exceptionpublic DocumentModel run(BlobList blobs) throws Exception
ExceptionCopyright © 2019 Nuxeo SA. All rights reserved.