|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IWorkspaceReplicasAdminProxy
public class IWorkspaceReplicasAdminProxy
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
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IWorkspaceReplicasAdminProxy()
|
|
IWorkspaceReplicasAdminProxy(Object obj)
|
protected |
IWorkspaceReplicasAdminProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
alterReplica(IReplica replica)
Updates replica information. |
int |
registerReplica(IReplica replica)
Creates new replica information. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
unregisterReplica(IReplica replica,
boolean removeCOVersion)
Removes replica information. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IWorkspaceReplicasAdminProxy()
public IWorkspaceReplicasAdminProxy(Object obj) throws IOException
IOException
protected IWorkspaceReplicasAdminProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public 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.
alterReplica
in interface IWorkspaceReplicasAdmin
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.public 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.
registerReplica
in interface IWorkspaceReplicasAdmin
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.public 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.
unregisterReplica
in interface IWorkspaceReplicasAdmin
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 |