public class PurgeDocuments extends AbstractTrashOperation
AbstractTrashOperation| Modifier and Type | Field and Description |
|---|---|
static String |
ID
Operation identifier.
|
protected org.nuxeo.ecm.core.api.DocumentModel |
parent
Parent parameter.
|
protected org.nuxeo.ecm.core.api.CoreSession |
session
Core session.
|
| Constructor and Description |
|---|
PurgeDocuments()
Constructor.
|
| 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.
|
org.nuxeo.ecm.core.api.DocumentModelList |
run()
Run operation.
|
org.nuxeo.ecm.core.api.DocumentModelList |
run(org.nuxeo.ecm.core.api.DocumentModelList documents)
Run operation.
|
execute, execute, getRecursiveTrashInfopublic static final String ID
protected org.nuxeo.ecm.core.api.CoreSession session
protected org.nuxeo.ecm.core.api.DocumentModel parent
public org.nuxeo.ecm.core.api.DocumentModelList run()
throws Exception
Exceptionpublic org.nuxeo.ecm.core.api.DocumentModelList run(org.nuxeo.ecm.core.api.DocumentModelList documents)
throws Exception
documents - documentsExceptionpublic void invoke(org.nuxeo.ecm.core.trash.TrashService service,
org.nuxeo.ecm.core.trash.TrashInfo info)
throws Exception
invoke in class AbstractTrashOperationservice - trash serviceinfo - trash infoExceptionCopyright © 2024. All rights reserved.