Package org.nuxeo.ecm.core.security
Class RetentionExpiredAction.RetentionExpiredComputation
- java.lang.Object
-
- org.nuxeo.lib.stream.computation.AbstractComputation
-
- org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
-
- org.nuxeo.ecm.core.security.RetentionExpiredAction.RetentionExpiredComputation
-
- All Implemented Interfaces:
Computation
- Enclosing class:
- RetentionExpiredAction
public static class RetentionExpiredAction.RetentionExpiredComputation extends AbstractBulkComputation
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
command, commands, delta, SELECT_DOCUMENTS_IN
-
Fields inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
INPUT_1, INPUT_2, INPUT_3, INPUT_NULL, metadata, OUTPUT_1, OUTPUT_2, OUTPUT_3, OUTPUT_4
-
-
Constructor Summary
Constructors Constructor Description RetentionExpiredComputation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
protected static boolean
isUnderRetention(Calendar retainUntil)
protected void
sendEvent(CoreSession session, DocumentRef ref, Calendar retainUntil)
-
Methods inherited from class org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
endBucket, getCommand, getCurrentCommand, isAbortedCommand, loadDocuments, loginSystemOrUser, processBatchOfDocuments, processFailure, processRecord, startBucket, updateStatus
-
Methods inherited from class org.nuxeo.lib.stream.computation.AbstractComputation
init, metadata, processRetry, processTimer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.lib.stream.computation.Computation
destroy, signalStop
-
-
-
-
Constructor Detail
-
RetentionExpiredComputation
public RetentionExpiredComputation()
-
-
Method Detail
-
compute
protected void compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
- Specified by:
compute
in classAbstractBulkComputation
-
isUnderRetention
protected static boolean isUnderRetention(Calendar retainUntil)
-
sendEvent
protected void sendEvent(CoreSession session, DocumentRef ref, Calendar retainUntil)
-
-