com.esri.arcgis.geodatabase
Class IWorkspaceReplicasAdmin2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceReplicasAdminProxy
          extended by com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin2Proxy
All Implemented Interfaces:
IWorkspaceReplicasAdmin, IWorkspaceReplicasAdmin2, Externalizable, Serializable
Direct Known Subclasses:
IWorkspaceReplicasAdmin3Proxy

public class IWorkspaceReplicasAdmin2Proxy
extends IWorkspaceReplicasAdminProxy
implements IWorkspaceReplicasAdmin2, Serializable

Provides access to members that modify information about a replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IWorkspaceReplicasAdmin2Proxy()
           
  IWorkspaceReplicasAdmin2Proxy(Object obj)
           
protected IWorkspaceReplicasAdmin2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void alterReplica2(IReplica replica, boolean persistParentUserInfo)
          Alter replica properties with the ability to persist userID and Password.
 boolean canRegisterReplicaDataset(IReplicaDataset replicaDataset, IReplica replica)
          Indicates if a replica dataset can be registed with the replica.
 boolean canUnregisterReplicaDataset(IReplicaDataset replicaDataset)
          Indicates if a replica dataset can be unregisted from the replica.
 boolean isReferencedByReplica(int datasetType, int datasetID)
          Indicates if dataset is part of a replica.
 void registerReplicaDataset(IReplicaDataset rDataset, int filter, boolean useGeometry, String queryDef, IFIDSet pSelID, IReplica pToReplica)
          Register replica dataset info with the replica.
 void removeListener(String iidStr, Object theListener)
           
 void unregisterReplicaDataset(IReplicaDataset replicaDataset, IReplica replica)
          Removes replica dataset info from the replica.
 
Methods inherited from class com.esri.arcgis.geodatabase.IWorkspaceReplicasAdminProxy
alterReplica, registerReplica, unregisterReplica
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin
alterReplica, registerReplica, unregisterReplica
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceReplicasAdmin2Proxy

public IWorkspaceReplicasAdmin2Proxy()

IWorkspaceReplicasAdmin2Proxy

public IWorkspaceReplicasAdmin2Proxy(Object obj)
                              throws IOException
Throws:
IOException

IWorkspaceReplicasAdmin2Proxy

protected IWorkspaceReplicasAdmin2Proxy(Object obj,
                                        String iid)
                                 throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IWorkspaceReplicasAdminProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IWorkspaceReplicasAdminProxy
Throws:
IOException

canRegisterReplicaDataset

public boolean canRegisterReplicaDataset(IReplicaDataset replicaDataset,
                                         IReplica replica)
                                  throws IOException,
                                         AutomationException
Indicates if a replica dataset can be registed with the replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
canRegisterReplicaDataset in interface IWorkspaceReplicasAdmin2
Parameters:
replicaDataset - A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)
replica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
Returns:
The canRegister
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerReplicaDataset

public void registerReplicaDataset(IReplicaDataset rDataset,
                                   int filter,
                                   boolean useGeometry,
                                   String queryDef,
                                   IFIDSet pSelID,
                                   IReplica pToReplica)
                            throws IOException,
                                   AutomationException
Register replica dataset info with the replica.

Remarks

Feature classes and tables can be registered using this method. Other datasets may or may not be supported - use the CanRegisterReplicaDataset method to determine whether they can be registered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
registerReplicaDataset in interface IWorkspaceReplicasAdmin2
Parameters:
rDataset - A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)
filter - A com.esri.arcgis.geodatabase.esriRowsType constant (in)
useGeometry - The useGeometry (in)
queryDef - The queryDef (in)
pSelID - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
pToReplica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canUnregisterReplicaDataset

public boolean canUnregisterReplicaDataset(IReplicaDataset replicaDataset)
                                    throws IOException,
                                           AutomationException
Indicates if a replica dataset can be unregisted from the replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
canUnregisterReplicaDataset in interface IWorkspaceReplicasAdmin2
Parameters:
replicaDataset - A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)
Returns:
The canUnregister
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unregisterReplicaDataset

public void unregisterReplicaDataset(IReplicaDataset replicaDataset,
                                     IReplica replica)
                              throws IOException,
                                     AutomationException
Removes replica dataset info from the replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
unregisterReplicaDataset in interface IWorkspaceReplicasAdmin2
Parameters:
replicaDataset - A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)
replica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterReplica2

public void alterReplica2(IReplica replica,
                          boolean persistParentUserInfo)
                   throws IOException,
                          AutomationException
Alter replica properties with the ability to persist userID and Password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
alterReplica2 in interface IWorkspaceReplicasAdmin2
Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
persistParentUserInfo - The persistParentUserInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReferencedByReplica

public boolean isReferencedByReplica(int datasetType,
                                     int datasetID)
                              throws IOException,
                                     AutomationException
Indicates if dataset is part of a replica.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isReferencedByReplica in interface IWorkspaceReplicasAdmin2
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
datasetID - The datasetID (in)
Returns:
The isReferenced
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.