Class FixedAclUpdater.AclWorker
java.lang.Object
org.alfresco.repo.domain.permissions.FixedAclUpdater.AclWorker
- All Implemented Interfaces:
BatchProcessor.BatchProcessWorker<NodeRef>
- Enclosing class:
- FixedAclUpdater
protected class FixedAclUpdater.AclWorker
extends Object
implements BatchProcessor.BatchProcessWorker<NodeRef>
-
Method Summary
Modifier and TypeMethodDescriptionvoidCallback to allow thread cleanup after the work entries have beenprocessed.voidCallback to allow thread initialization before the work entries areprocessed.getIdentifier(NodeRef nodeRef) Gets an identifier for the given entry (for monitoring / logging purposes).voidProcesses the given entry.
-
Method Details
-
getIdentifier
Description copied from interface:BatchProcessor.BatchProcessWorkerGets an identifier for the given entry (for monitoring / logging purposes).- Specified by:
getIdentifierin interfaceBatchProcessor.BatchProcessWorker<NodeRef>- Parameters:
nodeRef- the entry- Returns:
- the identifier
-
beforeProcess
Description copied from interface:BatchProcessor.BatchProcessWorkerCallback to allow thread initialization before the work entries areprocessed. Typically, this will include authenticating as a valid user and disbling or enabling any system flags that might affect the entry processing.- Specified by:
beforeProcessin interfaceBatchProcessor.BatchProcessWorker<NodeRef>- Throws:
Throwable
-
afterProcess
Description copied from interface:BatchProcessor.BatchProcessWorkerCallback to allow thread cleanup after the work entries have beenprocessed. Typically, this will involve cleanup of authentication and resetting any system flags previously set. This call is made regardless of the outcome of the entry processing.- Specified by:
afterProcessin interfaceBatchProcessor.BatchProcessWorker<NodeRef>- Throws:
Throwable
-
process
Description copied from interface:BatchProcessor.BatchProcessWorkerProcesses the given entry.- Specified by:
processin interfaceBatchProcessor.BatchProcessWorker<NodeRef>- Parameters:
nodeRef- the entry
-