public class FixedAclUpdater extends TransactionListenerAdapter implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
static String |
FIXED_ACL_ASYNC_CALL_KEY |
static String |
FIXED_ACL_ASYNC_REQUIRED_KEY |
Constructor and Description |
---|
FixedAclUpdater() |
Modifier and Type | Method and Description |
---|---|
void |
afterCommit()
Invoked after transaction commit.
|
int |
execute() |
void |
init() |
void |
setAccessControlListDAO(AccessControlListDAO accessControlListDAO) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setJobLockService(JobLockService jobLockService) |
void |
setLockTimeToLive(long lockTimeToLive) |
void |
setMaxItemBatchSize(int maxItemBatchSize) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setNumThreads(int numThreads) |
void |
setPolicyComponent(PolicyComponent policyComponent) |
void |
setPolicyIgnoreUtil(PolicyIgnoreUtil policyIgnoreUtil) |
void |
setTransactionService(TransactionService transactionService) |
afterRollback, beforeCommit, beforeCompletion, flush
public static final String FIXED_ACL_ASYNC_REQUIRED_KEY
public static final String FIXED_ACL_ASYNC_CALL_KEY
public void setNumThreads(int numThreads)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void setJobLockService(JobLockService jobLockService)
public void setNodeDAO(NodeDAO nodeDAO)
public void setTransactionService(TransactionService transactionService)
public void setAccessControlListDAO(AccessControlListDAO accessControlListDAO)
public void setMaxItemBatchSize(int maxItemBatchSize)
public void setLockTimeToLive(long lockTimeToLive)
public void setPolicyComponent(PolicyComponent policyComponent)
public void setPolicyIgnoreUtil(PolicyIgnoreUtil policyIgnoreUtil)
public void init()
public int execute()
public void afterCommit()
TransactionListenerAdapter
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.
afterCommit
in interface org.alfresco.util.transaction.TransactionListener
afterCommit
in class TransactionListenerAdapter
Copyright © 2005–2017 Alfresco Software. All rights reserved.