com.esri.arcgis.geodatabasedistributed
Class ArchivingDataChanges

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.ArchivingDataChanges
All Implemented Interfaces:
IDataChanges, IDataChanges2, IDataChanges3, IReplicaDataChanges, IReplicaDataChangesInit, IReplicaDataChangesInit2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ArchivingDataChanges
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataChanges3, IReplicaDataChangesInit, IReplicaDataChangesInit2, IReplicaDataChanges

COM Class 'ArchivingDataChanges'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabaseDistributed.olb'

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
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges3
IID, IIDa289bd00_e42e_4820_9af0_c9bc64f707a8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges2
IID5f8f332e_316d_4fc0_9454_b2628cb9d546
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IDataChanges
IIDe0951743_0d52_42ff_ab5e_32d07b5b8951
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicaDataChangesInit2
IID, IID92267ee9_0766_43ea_ba8b_7dfd5c8e8517, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicaDataChangesInit
IIDe513366a_6fe2_42d4_ac95_40dec7122f57
 
Fields inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicaDataChanges
IID, IID8612b096_c19b_4197_80ac_86961ac9426c, xxDummy
 
Constructor Summary
ArchivingDataChanges()
          Constructs a ArchivingDataChanges using ArcGIS Engine.
ArchivingDataChanges(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArchivingDataChanges theArchivingDataChanges = (ArchivingDataChanges) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IDifferenceCursor extract(java.lang.String tableName, int changeType)
          Lists the edits in each feature class or table.
 int getChangesModelType()
          Geodabase model type, simple or full.
static java.lang.String getClsid()
          getClsid.
 void getGenerationNumbers(int[] sourceGenBegin, int[] sourceGenEnd, int[] targetGen)
          Source and target generation numbers for replica.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IEnumModifiedClassInfo getModifiedClassesInfo()
          Returns an enumeration listing of the feature classes and tables with edits.
 int getParentReplicaID()
          ID for the replica in the parent geodatabase.
 IWorkspaceName getParentWorkspaceName()
          Workspace of the master geodatabase.
 java.lang.String getReplicaGuid()
          GUID identifying the child/parent replica pair.
 int getReplicaState()
          The state of the replica that is the source of the data changes.
 IWorkspace getWorkspace()
          The workspace holding the replica from which the changes are being reported.
 int hashCode()
          the hashcode for this object
 void init(IReplica replica, IWorkspaceName checkoutWorkspace)
          Initializes the class by using the replica and the replica workspace.
 void init2(IReplica replica, IWorkspaceName checkoutWorkspace, int genOption)
          Initializes the class by using the replica, generation option and the replica workspace.
 void release()
          Release a ArchivingDataChanges.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivingDataChanges

public ArchivingDataChanges()
                     throws java.io.IOException,
                            java.net.UnknownHostException
Constructs a ArchivingDataChanges using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ArchivingDataChanges

public ArchivingDataChanges(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArchivingDataChanges theArchivingDataChanges = (ArchivingDataChanges) obj;

Construct a ArchivingDataChanges using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArchivingDataChanges.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ArchivingDataChanges.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getGenerationNumbers

public void getGenerationNumbers(int[] sourceGenBegin,
                                 int[] sourceGenEnd,
                                 int[] targetGen)
                          throws java.io.IOException,
                                 AutomationException
Source and target generation numbers for replica.

Specified by:
getGenerationNumbers in interface IDataChanges3
Parameters:
sourceGenBegin - The sourceGenBegin (out: use single element array)
sourceGenEnd - The sourceGenEnd (out: use single element array)
targetGen - The targetGen (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaState

public int getReplicaState()
                    throws java.io.IOException,
                           AutomationException
The state of the replica that is the source of the data changes.

Specified by:
getReplicaState in interface IDataChanges3
Returns:
A com.esri.arcgis.geodatabase.esriReplicaState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChangesModelType

public int getChangesModelType()
                        throws java.io.IOException,
                               AutomationException
Geodabase model type, simple or full.

Specified by:
getChangesModelType in interface IDataChanges2
Returns:
A com.esri.arcgis.geodatabase.esriReplicaModelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getModifiedClassesInfo

public IEnumModifiedClassInfo getModifiedClassesInfo()
                                              throws java.io.IOException,
                                                     AutomationException
Returns an enumeration listing of the feature classes and tables with edits.

Specified by:
getModifiedClassesInfo in interface IDataChanges
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.IEnumModifiedClassInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extract

public IDifferenceCursor extract(java.lang.String tableName,
                                 int changeType)
                          throws java.io.IOException,
                                 AutomationException
Lists the edits in each feature class or table.

Specified by:
extract in interface IDataChanges
Parameters:
tableName - The tableName (in)
changeType - A com.esri.arcgis.geodatabasedistributed.esriDataChangeType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDifferenceCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentWorkspaceName

public IWorkspaceName getParentWorkspaceName()
                                      throws java.io.IOException,
                                             AutomationException
Workspace of the master geodatabase.

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

getParentReplicaID

public int getParentReplicaID()
                       throws java.io.IOException,
                              AutomationException
ID for the replica in the parent geodatabase.

Specified by:
getParentReplicaID in interface IDataChanges
Returns:
The parentReplicaID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaGuid

public java.lang.String getReplicaGuid()
                                throws java.io.IOException,
                                       AutomationException
GUID identifying the child/parent replica pair.

Specified by:
getReplicaGuid in interface IDataChanges
Returns:
The replicaGuid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IReplica replica,
                 IWorkspaceName checkoutWorkspace)
          throws java.io.IOException,
                 AutomationException
Initializes the class by using the replica and the replica workspace.

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

init2

public void init2(IReplica replica,
                  IWorkspaceName checkoutWorkspace,
                  int genOption)
           throws java.io.IOException,
                  AutomationException
Initializes the class by using the replica, generation option and the replica workspace.

Specified by:
init2 in interface IReplicaDataChangesInit2
Parameters:
replica - A reference to a com.esri.arcgis.geodatabase.IReplica (in)
checkoutWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
genOption - A com.esri.arcgis.geodatabasedistributed.esriExportGenerationsOption constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace holding the replica from which the changes are being reported.

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