|
|||||||||
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 com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin2Proxy
public class IWorkspaceReplicasAdmin2Proxy
Provides access to members that modify information about a replica.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IWorkspaceReplicasAdmin2Proxy()
public IWorkspaceReplicasAdmin2Proxy(Object obj) throws IOException
IOException
protected IWorkspaceReplicasAdmin2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IWorkspaceReplicasAdminProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IWorkspaceReplicasAdminProxy
IOException
public boolean canRegisterReplicaDataset(IReplicaDataset replicaDataset, IReplica replica) throws IOException, AutomationException
canRegisterReplicaDataset
in interface IWorkspaceReplicasAdmin2
replicaDataset
- A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)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 registerReplicaDataset(IReplicaDataset rDataset, int filter, boolean useGeometry, String queryDef, IFIDSet pSelID, IReplica pToReplica) throws IOException, AutomationException
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.
registerReplicaDataset
in interface IWorkspaceReplicasAdmin2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canUnregisterReplicaDataset(IReplicaDataset replicaDataset) throws IOException, AutomationException
canUnregisterReplicaDataset
in interface IWorkspaceReplicasAdmin2
replicaDataset
- A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unregisterReplicaDataset(IReplicaDataset replicaDataset, IReplica replica) throws IOException, AutomationException
unregisterReplicaDataset
in interface IWorkspaceReplicasAdmin2
replicaDataset
- A reference to a com.esri.arcgis.geodatabase.IReplicaDataset (in)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 alterReplica2(IReplica replica, boolean persistParentUserInfo) throws IOException, AutomationException
alterReplica2
in interface IWorkspaceReplicasAdmin2
replica
- A reference to a com.esri.arcgis.geodatabase.IReplica (in)persistParentUserInfo
- The persistParentUserInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReferencedByReplica(int datasetType, int datasetID) throws IOException, AutomationException
isReferencedByReplica
in interface IWorkspaceReplicasAdmin2
datasetType
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)datasetID
- The datasetID (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 |