public class AttachBlobs extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentModel |
doc |
static String |
ID |
protected boolean |
save |
protected org.nuxeo.ecm.core.api.CoreSession |
session |
protected String |
xpath |
| Constructor and Description |
|---|
AttachBlobs() |
| Modifier and Type | Method and Description |
|---|---|
org.nuxeo.ecm.core.api.DocumentModel |
run(org.nuxeo.ecm.core.api.Blob blob) |
org.nuxeo.ecm.core.api.DocumentModel |
run(org.nuxeo.ecm.automation.core.util.BlobList blobs) |
org.nuxeo.ecm.core.api.DocumentModel |
setBlobs(org.nuxeo.ecm.automation.core.util.BlobList blobs) |
public static final String ID
protected org.nuxeo.ecm.core.api.CoreSession session
protected String xpath
protected org.nuxeo.ecm.core.api.DocumentModel doc
protected boolean save
public org.nuxeo.ecm.core.api.DocumentModel run(org.nuxeo.ecm.core.api.Blob blob)
throws Exception
Exceptionpublic org.nuxeo.ecm.core.api.DocumentModel run(org.nuxeo.ecm.automation.core.util.BlobList blobs)
throws Exception
Exceptionpublic org.nuxeo.ecm.core.api.DocumentModel setBlobs(org.nuxeo.ecm.automation.core.util.BlobList blobs)
blobs - Copyright © 2019. All rights reserved.