|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReplicaValidation
Provides access to members that validate a check-out.
Apply these methods after the creation of a replica (check-out, two way or one way replica) to ensure the creation was successful and before checking in or synchronizing changes to ensure that the replica still exists and is valid on the target database.
If a FALSE is returned, the replica cannot be synchronized with the target database.
ICheckOut
,
IReplicaValidation
,
ICheckOut.checkOutData(com.esri.arcgis.geodatabase.IReplicaDescription, boolean, String)
,
CheckOut
Method Summary | |
---|---|
boolean |
validateDeltaFile(IWorkspaceName parentDB,
String replicaName,
String deltaFileName,
int sourceType)
Indicates if the check-out in a delta database is valid. |
boolean |
validateReplicaPair(IWorkspaceName parentDB,
String replicaName,
IWorkspaceName checkOutDB)
Indicates if the check-out in a check-out database is valid. |
Method Detail |
---|
boolean validateReplicaPair(IWorkspaceName parentDB, String replicaName, IWorkspaceName checkOutDB) throws IOException, AutomationException
The ValidateReplicaPair method validates a replica in a parent and child geodatabase. Applies to check-out replicas and two way and one way replicas. If FALSE is returned the replica is no longer valid.
This method takes both the parent and child workspaces, parentDB and checkoutDB. ReplicaName is the name of the replica to validate.
parentDB
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)replicaName
- The replicaName (in)checkOutDB
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean validateDeltaFile(IWorkspaceName parentDB, String replicaName, String deltaFileName, int sourceType) throws IOException, AutomationException
The ValidateDeltaFile method validates a replica in a delta file. Applies to check-out replicas, two way replicas or one way replicas.
This method takes a workspace for the parent workspace. For check-out replicas this is the master geodatabase (now know as the parent replica geodatabase). For two way or one way replicas this can be either the parent or child workspace. The ReplicaName is the name of the replica. The DeltaFileName is the path for the delta file. SourceType is the type of delta file used. The delta file can be a delta geodatabase, delta file geodatabase, delta xml file, or a checkout geodatabase. See the esriCheckInSourceType enumeration for more information.
parentDB
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)replicaName
- The replicaName (in)deltaFileName
- The deltaFileName (in)sourceType
- A com.esri.arcgis.geodatabasedistributed.esriCheckInSourceType constant (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 |