public class ReplicationActionExecutor extends ActionExecuterAbstractBase
| Modifier and Type | Class and Description |
|---|---|
protected class |
ReplicationActionExecutor.ReplicationDefinitionLockExtender
A
TransferCallback which periodically renews the
lock held against a ReplicationDefinition |
actionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_RESULT| Constructor and Description |
|---|
ReplicationActionExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list
|
protected TransferDefinition |
buildTransferDefinition(ReplicationDefinition replicationDef,
java.util.Set toTransfer)
Takes a
ReplicationDefinition and a list of
NodeRefs, and returns the
TransferDefinition which will allow the
replication to be run. |
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
protected java.util.Set |
expandPayload(ReplicationDefinition replicationDef)
Takes a
ReplicationDefinition, which contains one or
more payloads NodeRefs, and expands them into a
full list of nodes to be transfered. |
void |
setActionTrackingService(ActionTrackingService actionTrackingService)
Injects the ActionTrackingService bean.
|
void |
setExcludedAspects(java.lang.String[] excludedAspects) |
void |
setJobLockService(JobLockService jobLockService)
Injects the JobLockService bean.
|
void |
setNodeCrawlerFactory(NodeCrawlerFactory nodeCrawlerFactory)
Injects the NodeCrawlerFactory bean.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Injects the NodeService bean.
|
void |
setReplicationDefinitionPersister(ReplicationDefinitionPersisterImpl replicationDefinitionPersister)
Injects the ReplicationDefinitionPersister bean.
|
void |
setReplicationParams(ReplicationParams replicationParams)
Sets Replication Parameters
|
void |
setTransactionService(TransactionService transactionService)
Injects the TransactionService bean.
|
void |
setTransferService(TransferService2 transferService)
Injects the TransferService bean.
|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the NodeService.public void setJobLockService(JobLockService jobLockService)
jobLockService - the JobLockService.public void setTransferService(TransferService2 transferService)
transferService - the TransferService.public void setNodeCrawlerFactory(NodeCrawlerFactory nodeCrawlerFactory)
nodeCrawlerFactory - the NodeCrawlerFactory.public void setActionTrackingService(ActionTrackingService actionTrackingService)
actionTrackingService - the ActionTrackingService.public void setTransactionService(TransactionService transactionService)
transactionService - the TransactionService.public void setReplicationDefinitionPersister(ReplicationDefinitionPersisterImpl replicationDefinitionPersister)
replicationDefinitionPersister - public void setReplicationParams(ReplicationParams replicationParams)
replicationParams - replication parameterspublic void setExcludedAspects(java.lang.String[] excludedAspects)
protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBaseaddParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listprotected java.util.Set expandPayload(ReplicationDefinition replicationDef)
ReplicationDefinition, which contains one or
more payloads NodeRefs, and expands them into a
full list of nodes to be transfered.protected TransferDefinition buildTransferDefinition(ReplicationDefinition replicationDef, java.util.Set toTransfer)
ReplicationDefinition and a list of
NodeRefs, and returns the
TransferDefinition which will allow the
replication to be run.protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBaseexecuteImpl in class ActionExecuterAbstractBaseaction - the actionactionedUponNodeRef - the actioned upon nodeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.