public class PutDocumentInTrash extends AbstractTrashOperation
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentModel |
document |
static String |
ID |
protected org.nuxeo.ecm.core.api.CoreSession |
session |
| Constructor and Description |
|---|
PutDocumentInTrash() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(org.nuxeo.ecm.core.trash.TrashService service,
org.nuxeo.ecm.core.trash.TrashInfo info)
Invoke trash service.
|
Object |
run() |
Object |
run(org.nuxeo.ecm.core.api.DocumentModel document) |
execute, execute, getRecursiveTrashInfopublic static final String ID
protected org.nuxeo.ecm.core.api.CoreSession session
protected org.nuxeo.ecm.core.api.DocumentModel document
public Object run(org.nuxeo.ecm.core.api.DocumentModel document) throws Exception
Exceptionpublic void invoke(org.nuxeo.ecm.core.trash.TrashService service,
org.nuxeo.ecm.core.trash.TrashInfo info)
throws Exception
AbstractTrashOperationinvoke in class AbstractTrashOperationservice - trash serviceinfo - trash infoExceptionCopyright © 2024. All rights reserved.