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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProcess()Callback to allow thread cleanup after the work entries have beenprocessed.voidbeforeProcess()Callback to allow thread initialization before the work entries areprocessed.StringgetIdentifier(NodeRef nodeRef)Gets an identifier for the given entry (for monitoring / logging purposes).voidprocess(NodeRef nodeRef)Processes the given entry.
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier(NodeRef nodeRef)
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
public void beforeProcess() throws ThrowableDescription 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
public void afterProcess() throws ThrowableDescription 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
public void process(NodeRef nodeRef)
Description copied from interface:BatchProcessor.BatchProcessWorkerProcesses the given entry.- Specified by:
processin interfaceBatchProcessor.BatchProcessWorker<NodeRef>- Parameters:
nodeRef- the entry
-
-