Update ReplicationDefinition to hold both local and remote transfer reports, ready for ALF-4126

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-07-30 11:12:10 +00:00
parent 9d48876cea
commit a35543d4c4
2 changed files with 39 additions and 3 deletions

View File

@@ -95,5 +95,24 @@ public interface ReplicationDefinition extends CancellableAction, Serializable {
*/
void setLocalTransferReport(NodeRef report);
/**
* Returns the remote side of the report on
* the transfer.
* The transfer service generates two reports,
* one on the local repository, and one on the
* remote repository. This returns the
* remote version of the report.
* @return The transfer report on the remote repository
*/
NodeRef getRemoteTransferReport();
/**
* Records the location on the local repository
* of the transfer service report that was
* generated on the remote repository for the
* replication.
*/
void setRemoteTransferReport(NodeRef report);
// TODO Replication options, such as permissions and rules
}