com.esri.arcgis.geodatabase
Class IWorkspaceReplicasProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IWorkspaceReplicasProxy
All Implemented Interfaces:
IWorkspaceReplicas, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IWorkspaceReplicas2Proxy

public class IWorkspaceReplicasProxy
extends com.esri.arcgis.interop.Dispatch
implements IWorkspaceReplicas, java.io.Serializable

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

Description: 'Provides access to members that return objects containing information about replicas.' 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.IWorkspaceReplicas
IID, IIDd7463e40_9508_4b36_8728_29524d897fff
 
Constructor Summary
  IWorkspaceReplicasProxy()
          For internal use only
  IWorkspaceReplicasProxy(java.lang.Object obj)
           
protected IWorkspaceReplicasProxy(java.lang.Object obj, java.lang.String iid)
           
  IWorkspaceReplicasProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IWorkspaceReplicasProxy(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)
           
 IReplica getReplicaByGuid(java.lang.String replicaGuid)
          The replica or reference to a replica with the specified ID.
 IReplica getReplicaByID(int replicaID)
          The replica or reference to a replica with the specified ID.
 IReplica getReplicaByName(java.lang.String replicaName)
          The replica or reference to a replica with the specified name.
 IEnumReplica getReplicas()
          Replicas contained by or refernced by this workspace.
 void refreshReplicas()
          Re-reads the list of replicas from the database.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IWorkspaceReplicasProxy

public IWorkspaceReplicasProxy(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

IWorkspaceReplicasProxy

public IWorkspaceReplicasProxy()
For internal use only


IWorkspaceReplicasProxy

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

IWorkspaceReplicasProxy

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

IWorkspaceReplicasProxy

protected IWorkspaceReplicasProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getReplicas

public IEnumReplica getReplicas()
                         throws java.io.IOException,
                                AutomationException
Replicas contained by or refernced by this workspace.

Specified by:
getReplicas in interface IWorkspaceReplicas
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumReplica
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaByName

public IReplica getReplicaByName(java.lang.String replicaName)
                          throws java.io.IOException,
                                 AutomationException
The replica or reference to a replica with the specified name.

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

getReplicaByID

public IReplica getReplicaByID(int replicaID)
                        throws java.io.IOException,
                               AutomationException
The replica or reference to a replica with the specified ID.

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

getReplicaByGuid

public IReplica getReplicaByGuid(java.lang.String replicaGuid)
                          throws java.io.IOException,
                                 AutomationException
The replica or reference to a replica with the specified ID.

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

refreshReplicas

public void refreshReplicas()
                     throws java.io.IOException,
                            AutomationException
Re-reads the list of replicas from the database.

Specified by:
refreshReplicas in interface IWorkspaceReplicas
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.