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, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IWorkspaceReplicasAdmin3Proxy

public class IWorkspaceReplicasAdmin2Proxy
extends IWorkspaceReplicasAdminProxy
implements IWorkspaceReplicasAdmin2, java.io.Serializable

Internal use class Proxy for COM Interface 'IWorkspaceReplicasAdmin2'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that modify information about a replica.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin2
IID, IID9aa14e6d_aa5a_4dae_a868_d70e8fd5a0be
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin
IID72ad4bea_a562_4c4a_a264_14fc6234b187
 
Constructor Summary
  IWorkspaceReplicasAdmin2Proxy()
          For internal use only
  IWorkspaceReplicasAdmin2Proxy(java.lang.Object obj)
           
protected IWorkspaceReplicasAdmin2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IWorkspaceReplicasAdmin2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IWorkspaceReplicasAdmin2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.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, java.lang.String queryDef, IFIDSet pSelID, IReplica pToReplica)
          Register replica dataset info with the replica.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceReplicasAdmin2Proxy

public IWorkspaceReplicasAdmin2Proxy(java.lang.String CLSID,
                                     java.lang.String host,
                                     com.esri.arcgis.interop.AuthInfo authInfo)
                              throws java.net.UnknownHostException,
                                     java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IWorkspaceReplicasAdmin2Proxy

public IWorkspaceReplicasAdmin2Proxy()
For internal use only


IWorkspaceReplicasAdmin2Proxy

public IWorkspaceReplicasAdmin2Proxy(java.lang.Object obj)
                              throws java.io.IOException
Throws:
java.io.IOException

IWorkspaceReplicasAdmin2Proxy

protected IWorkspaceReplicasAdmin2Proxy(java.lang.Object obj,
                                        java.lang.String iid)
                                 throws java.io.IOException
Throws:
java.io.IOException

IWorkspaceReplicasAdmin2Proxy

protected IWorkspaceReplicasAdmin2Proxy(java.lang.String CLSID,
                                        java.lang.String iid,
                                        java.lang.String host,
                                        com.esri.arcgis.interop.AuthInfo authInfo)
                                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

canRegisterReplicaDataset

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

registerReplicaDataset

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canUnregisterReplicaDataset

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

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

unregisterReplicaDataset

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterReplica2

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

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

isReferencedByReplica

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

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