|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPReplica
Provides access to members that get information about a replica.
This interface has properties that describe a replica.
Method Summary | |
---|---|
int |
getAccessType()
Replica access type. |
Object |
getCreationDate()
The date the replica was created. |
String |
getGUID()
The guid of the replica. |
int |
getID()
The ID of the replica. |
int |
getMyGenerationNumber()
The generation number for the replica. |
String |
getName()
Name of the replica. |
int |
getReconcilePolicy()
The replica reconcile policy. |
IGPReplicaDescription |
getReplicaDescription()
The replica description for the replica. |
int |
getReplicaState()
The replica state. |
String |
getReplicaVersion()
The name of the replica version. |
int |
getRole()
The replica role. |
String |
getSibConnectionString()
The connection string of the relative replica. |
int |
getSibGenerationNumber()
The generation number of the relative replica. |
int |
getSibMyGenerationNumber()
The last generation number that has been acknowledged by the relative replica. |
void |
init(IReplica replica)
Initializes the class using an IReplica object. |
boolean |
isHasConflicts()
Indicates if the replica is in conflict. |
void |
setAccessType(int accessType)
Replica access type. |
void |
setCreationDate(Object replicaRole)
The date the replica was created. |
void |
setGUID(String gUID)
The guid of the replica. |
void |
setHasConflicts(boolean hasConflicts)
Indicates if the replica is in conflict. |
void |
setID(int replicaID)
The ID of the replica. |
void |
setMyGenerationNumber(int pMyGenerationNumber)
The generation number for the replica. |
void |
setName(String replicaName)
Name of the replica. |
void |
setReconcilePolicy(int policy)
The replica reconcile policy. |
void |
setReplicaDescriptionByRef(IGPReplicaDescription replicaDescription)
The replica description for the replica. |
void |
setReplicaState(int replicaState)
The replica state. |
void |
setReplicaVersion(String replicaVersion)
The name of the replica version. |
void |
setRole(int replicaRole)
The replica role. |
void |
setSibConnectionString(String sibConnectionString)
The connection string of the relative replica. |
void |
setSibGenerationNumber(int pSibGenerationNumber)
The generation number of the relative replica. |
void |
setSibMyGenerationNumber(int pSibMyGenerationNumber)
The last generation number that has been acknowledged by the relative replica. |
Method Detail |
---|
void init(IReplica replica) throws IOException, AutomationException
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 setName(String replicaName) throws IOException, AutomationException
The replica access type. Returns a value of the esriReplicaAccessType enumeration. See the esriReplicaAccessType enumeration for more information.
replicaName
- The replicaName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setID(int replicaID) throws IOException, AutomationException
replicaID
- The replicaID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGUID(String gUID) throws IOException, AutomationException
gUID
- The gUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getGUID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRole(int replicaRole) throws IOException, AutomationException
replicaRole
- A com.esri.arcgis.geodatabase.esriReplicaRole constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRole() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAccessType(int accessType) throws IOException, AutomationException
accessType
- A com.esri.arcgis.geodatabase.esriReplicaAccessType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAccessType() throws IOException, AutomationException
This property returns a value of the esriReplicaAccessType enumeration indicating the replicas access type. See the esriReplicaAccessType enumeration for more information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCreationDate(Object replicaRole) throws IOException, AutomationException
replicaRole
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getCreationDate() throws IOException, AutomationException
The replica creation date.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReplicaVersion(String replicaVersion) throws IOException, AutomationException
replicaVersion
- The replicaVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getReplicaVersion() throws IOException, AutomationException
The version the replica was created from.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMyGenerationNumber(int pMyGenerationNumber) throws IOException, AutomationException
pMyGenerationNumber
- The pMyGenerationNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMyGenerationNumber() throws IOException, AutomationException
Returns the current generation number of a replica.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSibGenerationNumber(int pSibGenerationNumber) throws IOException, AutomationException
pSibGenerationNumber
- The pSibGenerationNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSibGenerationNumber() throws IOException, AutomationException
Returns the generation number for a replica's sibling as it is known to the replica.
The generation number returned is based on the replicas last received message from it's relative.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSibMyGenerationNumber(int pSibMyGenerationNumber) throws IOException, AutomationException
pSibMyGenerationNumber
- The pSibMyGenerationNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSibMyGenerationNumber() throws IOException, AutomationException
Returns the generation number that the sibling thinks is the replicas generation number.
The generation number returned is based on the replicas last received acknowledgement message from it's relative.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReplicaState(int replicaState) throws IOException, AutomationException
replicaState
- A com.esri.arcgis.geodatabase.esriReplicaState constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getReplicaState() throws IOException, AutomationException
Returns the replica state as a value of the esriReplicaState enumeration. See the esriReplicaState enumeration for more information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSibConnectionString(String sibConnectionString) throws IOException, AutomationException
Use this method to set the connection string of the relative replicas geodatabase.
sibConnectionString
- The sibConnectionString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSibConnectionString() throws IOException, AutomationException
Returns the connection string to the sibling replica database if it has been set.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReplicaDescriptionByRef(IGPReplicaDescription replicaDescription) throws IOException, AutomationException
replicaDescription
- A reference to a com.esri.arcgis.geodatabase.IGPReplicaDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPReplicaDescription getReplicaDescription() throws IOException, AutomationException
Returns the replica description. See the GPReplicaDescription coclass for more information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReconcilePolicy(int policy) throws IOException, AutomationException
policy
- A com.esri.arcgis.geodatabase.esriReplicaReconcilePolicyType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getReconcilePolicy() throws IOException, AutomationException
Returns the replica reconcile policy as a value of the esriReplicaReconcilePolicyType enumeration. See the esriReplicaReconcilePolicyType enumeration for more information.
This property will always return esriReplicaReconcilePolicyNone as reconcile policies are not stored with the replica. Reconcile policies are specified at synchronization time. See the IGeoDataServer::ImportReplicaDataChanges and IReplicationAgent::SynchronizeReplica methods for more information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHasConflicts(boolean hasConflicts) throws IOException, AutomationException
hasConflicts
- The hasConflicts (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasConflicts() throws IOException, AutomationException
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 |