public class UpdateMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
protected org.nuxeo.ecm.automation.core.util.Properties |
properties |
protected boolean |
removeFormat |
protected boolean |
save |
protected org.nuxeo.ecm.core.api.CoreSession |
session |
protected String |
targetAction |
protected String |
targetIndex |
protected org.nuxeo.ecm.automation.core.util.Properties |
targetValue |
| Constructor and Description |
|---|
UpdateMetadata() |
| Modifier and Type | Method and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentModel |
execute(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
org.nuxeo.ecm.automation.core.util.Properties properties,
String targetAction,
String targetIndex,
org.nuxeo.ecm.automation.core.util.Properties targetValue,
boolean save)
Update document silently.
|
org.nuxeo.ecm.core.api.DocumentModel |
run(org.nuxeo.ecm.core.api.DocumentModel doc) |
public static final String ID
protected org.nuxeo.ecm.core.api.CoreSession session
protected org.nuxeo.ecm.automation.core.util.Properties properties
protected org.nuxeo.ecm.automation.core.util.Properties targetValue
protected String targetIndex
protected String targetAction
protected boolean removeFormat
protected boolean save
public org.nuxeo.ecm.core.api.DocumentModel run(org.nuxeo.ecm.core.api.DocumentModel doc)
throws Exception
Exceptionprotected org.nuxeo.ecm.core.api.DocumentModel execute(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel document,
org.nuxeo.ecm.automation.core.util.Properties properties,
String targetAction,
String targetIndex,
org.nuxeo.ecm.automation.core.util.Properties targetValue,
boolean save)
throws org.nuxeo.ecm.core.api.ClientException,
IOException,
org.nuxeo.ecm.core.api.DocumentException
session - document - properties - dublinCoreProperties - org.nuxeo.ecm.core.api.ClientExceptionIOExceptionorg.nuxeo.ecm.core.api.DocumentExceptionCopyright © 2020. All rights reserved.