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
OperationException
public DocumentModel run(Blob blob) throws OperationException
OperationException
public DocumentModel run(BlobList blobs) throws OperationException
OperationException
Copyright © 2015 Nuxeo SA. All rights reserved.