|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.replication.ReplicationActionExecutor
public class ReplicationActionExecutor
Nested Class Summary | |
---|---|
protected class |
ReplicationActionExecutor.ReplicationDefinitionLockExtender
A TransferCallback which periodically renews the
lock held against a ReplicationDefinition |
Field Summary |
---|
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
actionDefinition, applicableTypes, publicAction |
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
DISPLAY_LABEL, runtimeActionService |
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
name |
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter |
---|
PARAM_RESULT |
Constructor Summary | |
---|---|
ReplicationActionExecutor()
|
Method Summary | |
---|---|
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
NodeRef s, 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 NodeRef s, 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. |
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus |
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString |
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
setBeanName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplicationActionExecutor()
Method Detail |
---|
public 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)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listprotected java.util.Set expandPayload(ReplicationDefinition replicationDef)
ReplicationDefinition
, which contains one or
more payloads NodeRef
s, 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
NodeRef
s, and returns the
TransferDefinition
which will allow the
replication to be run.
protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |