public class AsynchronousActionExecutionQueueImpl extends Object implements AsynchronousActionExecutionQueue
Modifier and Type | Class and Description |
---|---|
class |
AsynchronousActionExecutionQueueImpl.CallbackTransactionListener
Transaction listener used to invoke callback policies
|
Constructor and Description |
---|
AsynchronousActionExecutionQueueImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
executeAction(RuntimeActionService actionService,
Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean checkConditions,
Set<String> actionChain) |
void |
executeAction(RuntimeActionService actionService,
Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean checkConditions,
Set<String> actionChain,
org.alfresco.service.cmr.repository.NodeRef actionExecutionHistoryNodeRef) |
void |
init()
Init method.
|
void |
registerActionFilter(AbstractAsynchronousActionFilter filter)
This method registers an action filter, which can be used to prevent unwanted or unnecessary
asynchronous actions from being scheduled for execution.
|
void |
setActionServiceImpl(ActionServiceImpl serviceImpl) |
void |
setAuthenticationContext(AuthenticationContext authenticationContext)
Deprecated.
Not used since 3.4
|
void |
setId(String id) |
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component
|
void |
setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
Set the thread pool, which may be shared with other components, that will be used
to run the actions.
|
void |
setTransactionService(TransactionService transactionService)
Set the transaction service
|
public AsynchronousActionExecutionQueueImpl()
public void init()
public void setActionServiceImpl(ActionServiceImpl serviceImpl)
public void setId(String id)
public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
threadPoolExecutor
- the thread poolpublic void setTransactionService(TransactionService transactionService)
transactionService
- the transaction servicepublic void setAuthenticationContext(AuthenticationContext authenticationContext)
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent
- policy componentpublic void registerActionFilter(AbstractAsynchronousActionFilter filter)
filter
- the filter implementation.public void executeAction(RuntimeActionService actionService, Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, boolean checkConditions, Set<String> actionChain)
executeAction
in interface AsynchronousActionExecutionQueue
actionService
- RuntimeActionServiceaction
- ActionactionedUponNodeRef
- NodeRefcheckConditions
- booleanpublic void executeAction(RuntimeActionService actionService, Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, boolean checkConditions, Set<String> actionChain, org.alfresco.service.cmr.repository.NodeRef actionExecutionHistoryNodeRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.