|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReplicationDefinitionPersister
This class provides the implementation of ReplicationDefinition persistence.
| Method Summary | |
|---|---|
void |
deleteReplicationDefinition(ReplicationDefinition replicationDefinition)
This method removes the previously serializes ReplicationDefinition
from the repository. |
ReplicationDefinition |
loadReplicationDefinition(java.lang.String replicationName)
This method retrieves a ReplicationDefinition that has been stored
in the repository using the save() method. |
java.util.List |
loadReplicationDefinitions()
This method retrieves the ReplicationDefinitions that have been
stored in the repository using the save() method. |
java.util.List |
loadReplicationDefinitions(java.lang.String targetName)
This method retrieves the stored ReplicationDefinitions that have
been registered for the specified transfer target name. |
void |
renameReplicationDefinition(java.lang.String oldReplicationName,
java.lang.String newReplicationName)
This method renames a ReplicationDefinition that has been stored
in the repository using the save() method. |
void |
saveReplicationDefinition(ReplicationDefinition replicationDefinition)
This method serializes the ReplicationDefinition and stores it in
the repository. |
| Method Detail |
|---|
void saveReplicationDefinition(ReplicationDefinition replicationDefinition)
ReplicationDefinition and stores it in
the repository. ReplicationDefinitions saved in this way may be
retrieved using the load() method.
replicationDefinition - The ReplicationDefinition to be
persisted.void deleteReplicationDefinition(ReplicationDefinition replicationDefinition)
ReplicationDefinition
from the repository. The ReplicationDefinition will then no longer
be available using the load methods.
replicationDefinition - The ReplicationDefinition to be
deleted.
void renameReplicationDefinition(java.lang.String oldReplicationName,
java.lang.String newReplicationName)
ReplicationDefinition that has been stored
in the repository using the save() method.
If no ReplicationDefinition exists in the repository with the specified
replication name, then nothing happens.
oldReplicationName - The unique identifier used to specify the
ReplicationDefinition to rename.newReplicationName - The unique identifier used to specify the
new ReplicationDefinition name.ReplicationDefinition loadReplicationDefinition(java.lang.String replicationName)
ReplicationDefinition that has been stored
in the repository using the save() method. If no
ReplicationDefinition exists in the repository with the specified
replication name then this method returns null.
replicationName - The unique identifier used to specify the
ReplicationDefinition to retrieve.
ReplicationDefinition or null.java.util.List loadReplicationDefinitions()
ReplicationDefinitions that have been
stored in the repository using the save() method.
If there are no such ReplicationDefinitions, an empty list is
returned.
ReplicationDefinitions.java.util.List loadReplicationDefinitions(java.lang.String targetName)
ReplicationDefinitions that have
been registered for the specified transfer target name.
If there are no such rendering ReplicationDefinitions, an empty
list is returned.
targetName - the name of a target.
ReplicationDefinitions.
java.lang.NullPointerException - if the target is null.ReplicationDefinitionPersister.saveReplicationDefinition(ReplicationDefinition)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||