Replication Definition deletion support + unit test

(Disabled) unit test for edit/save/load/edit/save of replication definitions,
 so that Derek can look at why the node service breaks for this


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-07-12 13:57:30 +00:00
parent 0bc430be08
commit d633e6416b
5 changed files with 158 additions and 1 deletions

View File

@@ -42,6 +42,16 @@ public interface ReplicationDefinitionPersister
*/
void saveReplicationDefinition(ReplicationDefinition replicationDefinition);
/**
* This method removes the previously serializes {@link ReplicationDefinition}
* from the repository. The {@link ReplicationDefinition} will then no longer
* be available using the load methods.
*
* @param replicationDefinition The {@link ReplicationDefinition} to be
* deleted.
*/
void deleteReplicationDefinition(ReplicationDefinition replicationDefinition);
/**
* This method retrieves a {@link ReplicationDefinition} that has been stored
* in the repository using the <code>save()</code> method. If no