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 |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
getLocalTransferReport()
Returns the local side of the report on
the transfer.
|
List<org.alfresco.service.cmr.repository.NodeRef> |
getPayload()
The list of Nodes to be transfered.
|
org.alfresco.service.cmr.repository.NodeRef |
getRemoteTransferReport()
Returns the remote side of the report on
the transfer.
|
String |
getReplicationName() |
org.alfresco.service.namespace.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(org.alfresco.service.cmr.repository.NodeRef report)
Records the location on the local repository
of the transfer service report on the
replication.
|
void |
setRemoteTransferReport(org.alfresco.service.cmr.repository.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, setTrackStatus
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
getScheduleIntervalCount, getScheduleIntervalPeriod, getScheduleStart, setScheduleIntervalCount, setScheduleIntervalPeriod, setScheduleStart
String getReplicationName()
org.alfresco.service.namespace.QName getReplicationQName()
String getTargetName()
void setTargetName(String targetName)
boolean isEnabled()
void setEnabled(boolean enabled)
List<org.alfresco.service.cmr.repository.NodeRef> getPayload()
org.alfresco.service.cmr.repository.NodeRef getLocalTransferReport()
void setLocalTransferReport(org.alfresco.service.cmr.repository.NodeRef report)
org.alfresco.service.cmr.repository.NodeRef getRemoteTransferReport()
void setRemoteTransferReport(org.alfresco.service.cmr.repository.NodeRef report)
boolean isSchedulingEnabled()
ReplicationService.enableScheduling(ReplicationDefinition)
and
ReplicationService.disableScheduling(ReplicationDefinition)
boolean isTargetExists()
Copyright © 2005–2017 Alfresco Software. All rights reserved.