public interface ReplicationDefinition extends CancellableAction, SchedulableAction, Serializable
replicationName attribute
which uniquely identifies it. It also has a single target.SchedulableAction.IntervalPeriod| Modifier and Type | Method and Description |
|---|---|
NodeRef |
getLocalTransferReport()
Returns the local side of the report on
the transfer.
|
List<NodeRef> |
getPayload()
The list of Nodes to be transfered.
|
NodeRef |
getRemoteTransferReport()
Returns the remote side of the report on
the transfer.
|
String |
getReplicationName() |
QName |
getReplicationQName() |
String |
getTargetName() |
boolean |
isEnabled()
Is this Replication Definition currently
enabled (can be run), or disabled
(can't be run)?
|
boolean |
isSchedulingEnabled()
Is scheduling currently enabled?
See
ReplicationService.enableScheduling(ReplicationDefinition) and
ReplicationService.disableScheduling(ReplicationDefinition) |
boolean |
isTargetExists()
Does the target exist?
|
void |
setEnabled(boolean enabled)
Enable or Disable the Replication
Definition.
|
void |
setLocalTransferReport(NodeRef report)
Records the location on the local repository
of the transfer service report on the
replication.
|
void |
setRemoteTransferReport(NodeRef report)
Records the location on the local repository
of the transfer service report that was
generated on the remote repository for the
replication.
|
void |
setTargetName(String targetName)
Sets the name of the target repository.
|
addActionCondition, addActionCondition, addParameterValues, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle, setTrackStatusgetId, getParameterValue, getParameterValues, setParameterValue, setParameterValuesgetScheduleIntervalCount, getScheduleIntervalPeriod, getScheduleStart, setScheduleIntervalCount, setScheduleIntervalPeriod, setScheduleStartString getReplicationName()
QName getReplicationQName()
String getTargetName()
void setTargetName(String targetName)
boolean isEnabled()
void setEnabled(boolean enabled)
List<NodeRef> getPayload()
NodeRef getLocalTransferReport()
void setLocalTransferReport(NodeRef report)
NodeRef getRemoteTransferReport()
void setRemoteTransferReport(NodeRef report)
boolean isSchedulingEnabled()
ReplicationService.enableScheduling(ReplicationDefinition) and
ReplicationService.disableScheduling(ReplicationDefinition)boolean isTargetExists()
Copyright © 2005–2020 Alfresco Software. All rights reserved.