com.esri.arcgis.geodatabase
Interface IWorkspaceReplicasAdmin2

All Superinterfaces:
IWorkspaceReplicasAdmin, java.io.Serializable
All Known Subinterfaces:
IWorkspaceReplicasAdmin3
All Known Implementing Classes:
IWorkspaceReplicasAdmin2Proxy, IWorkspaceReplicasAdmin3Proxy, Workspace

public interface IWorkspaceReplicasAdmin2
extends IWorkspaceReplicasAdmin, java.io.Serializable

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID9aa14e6d_aa5a_4dae_a868_d70e8fd5a0be
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin
IID72ad4bea_a562_4c4a_a264_14fc6234b187
 
Method Summary
 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 unregisterReplicaDataset(IReplicaDataset replicaDataset, IReplica replica)
          Removes replica dataset info from the replica.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceReplicasAdmin
alterReplica, registerReplica, unregisterReplica
 

Field Detail

IID9aa14e6d_aa5a_4dae_a868_d70e8fd5a0be

static final int IID9aa14e6d_aa5a_4dae_a868_d70e8fd5a0be
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

canRegisterReplicaDataset

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

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

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.

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

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

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

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

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

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

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

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

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.