|
|||||||||
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.IWorkspaceReplicasProxy
public class IWorkspaceReplicasProxy
Provides access to members that return objects containing information about replicas.
Use this interface with geodatabases that are involved in check-outs. Methods and properties are included to return Replica objects which provide more information about specific checkouts. The interface can be used with either master or check-out geodatabases.
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 | |
---|---|
|
IWorkspaceReplicasProxy()
|
|
IWorkspaceReplicasProxy(Object obj)
|
protected |
IWorkspaceReplicasProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IReplica |
getReplicaByGuid(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(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(String iidStr,
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IWorkspaceReplicasProxy()
public IWorkspaceReplicasProxy(Object obj) throws IOException
IOException
protected IWorkspaceReplicasProxy(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 IEnumReplica getReplicas() throws IOException, AutomationException
When using this method to get check-out information from a personal or File geodatabase, the enumeration will return no more than one Replica object. This is because personal and File geodatabases can only host one check-out. Many replicas may be returned with ArcSDE geodatabases since ArcSDE can host a check-out plus have references to many other check-outs.
If no replicas are returned, the geodatabase is not involved in an active check-out.
getReplicas
in interface IWorkspaceReplicas
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IReplica getReplicaByName(String replicaName) throws IOException, AutomationException
getReplicaByName
in interface IWorkspaceReplicas
replicaName
- The replicaName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IReplica getReplicaByID(int replicaID) throws IOException, AutomationException
getReplicaByID
in interface IWorkspaceReplicas
replicaID
- The replicaID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IReplica getReplicaByGuid(String replicaGuid) throws IOException, AutomationException
getReplicaByGuid
in interface IWorkspaceReplicas
replicaGuid
- The replicaGuid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshReplicas() throws IOException, AutomationException
Use this method to make your connection aware of check-outs being performed concurrently by other connections to the same database.
refreshReplicas
in interface IWorkspaceReplicas
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 |