|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceReplicasAdmin
Provides access to members that modify information about a replica.
When a check-out is performed, one of the final steps is to add metadata to the master and check-out geodatabases for the check-out. This metadata is used as a record of the check-out while it is active and also during check-in to get to needed information. The infomation stored in the metadata can be accessed using the Replica and ReplicaDataset classes. Once the check-out is checked in, the metadata is removed.
This interface provides methods to create, delete and update existing check-out metadata.
IWorkspaceReplicas
,
IWorkspaceReplicasAdmin
,
IWorkspaceReplicaDatasets
Method Summary | |
---|---|
void |
alterReplica(IReplica replica)
Updates replica information. |
int |
registerReplica(IReplica replica)
Creates new replica information. |
void |
unregisterReplica(IReplica replica,
boolean removeCOVersion)
Removes replica information. |
Method Detail |
---|
void alterReplica(IReplica replica) throws IOException, AutomationException
Care should be taken when altering the replica metadata. It is possible to modify the metadata with this method in a way that will cause the synchronization to fail.
In order to alter a property of a replica, you must use the Replica::IReplicaEdit interface.
replica
- A reference to a com.esri.arcgis.geodatabase.IReplica (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int registerReplica(IReplica replica) throws IOException, AutomationException
The RegisterReplica method creates new metadata for a replica. This method does not create the check-out version or the SYNC version in ArcSDE geodatabases.
To register a new replica, you must first call the IReplicaEdit::Init to initialize a new replica from an existing one. This ensures that the new replica will have an appropriate ReplicaID and ReplicaGUID.
replica
- A reference to a com.esri.arcgis.geodatabase.IReplica (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void unregisterReplica(IReplica replica, boolean removeCOVersion) throws IOException, AutomationException
This method removes the replicas metadata from the geodatabase. If removeCOVersion is true, the checkout version and the SYNC version are also removed.
replica
- A reference to a com.esri.arcgis.geodatabase.IReplica (in)removeCOVersion
- The removeCOVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |