com.esri.arcgis.geodatabase
Class FGDCSynchronizationHelper

java.lang.Object
  extended by com.esri.arcgis.geodatabase.FGDCSynchronizationHelper
All Implemented Interfaces:
ISynchronizationHelper, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FGDCSynchronizationHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISynchronizationHelper

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

Description 'FGDC Synchronization Helper.' 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.geodatabase.ISynchronizationHelper
IID, IID7002c8b5_1d00_11d3_a63b_0008c7d3ae50, xxDummy
 
Constructor Summary
FGDCSynchronizationHelper()
          Constructs a FGDCSynchronizationHelper using ArcGIS Engine.
FGDCSynchronizationHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FGDCSynchronizationHelper theFGDCSynchronizationHelper = (FGDCSynchronizationHelper) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void extractBriefEntityAttrProperties(IClass geoDataset, int index, IPropertySet propertySet)
          Extracts brief entity attribute properties from a Feature Class.
 void extractBriefRelationshipProperties(IRelationshipClass relationshipClass, int index, IPropertySet propertySet)
          Extracts brief entity attribute properties from a Relationship Class.
 void extractEntityAttrProperties(IClass geoDataset, int index, IPropertySet propertySet)
          Extracts entity attribute properties from a Feature Class.
 void extractFeatureClassProperties(IFeatureClass geoDataset, int index, IPropertySet propertySet)
          Extracts properties from a Feature Class.
 void extractRelationshipProperties(IRelationshipClass relationshipClass, int index, IPropertySet propertySet)
          Extracts entity attribute properties from a Relationship Class.
 void extractSpatialProperties(IGeoDataset geoDataset, IPropertySet propertySet)
          Extracts spatial properties from a GeoDataset.
 void finishSynchronization(IPropertySet propertySet)
          Call this after synchronizing.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void populateDistributionProperties(java.lang.String fileName, java.lang.String fileType, IPropertySet propertySet)
          Populates distribution properties given a filename.
 void populateDistributionPropertiesForDatabase(IDataset dataset, IPropertySet propertySet)
          Populates distribution properties given a filename.
 void populateStaticProperties(IPropertySet propertySet)
          Fills in required properties.
 void release()
          Release a FGDCSynchronizationHelper.
 void startSynchronization(IPropertySet propertySet, int action, int interval, boolean[] ok)
          Call this before synchronizing.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FGDCSynchronizationHelper

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

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

FGDCSynchronizationHelper

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

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

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 FGDCSynchronizationHelper.

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

startSynchronization

public void startSynchronization(IPropertySet propertySet,
                                 int action,
                                 int interval,
                                 boolean[] ok)
                          throws java.io.IOException,
                                 AutomationException
Call this before synchronizing.

Specified by:
startSynchronization in interface ISynchronizationHelper
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
action - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)
interval - The interval (in)
ok - The ok (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishSynchronization

public void finishSynchronization(IPropertySet propertySet)
                           throws java.io.IOException,
                                  AutomationException
Call this after synchronizing.

Specified by:
finishSynchronization in interface ISynchronizationHelper
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

populateStaticProperties

public void populateStaticProperties(IPropertySet propertySet)
                              throws java.io.IOException,
                                     AutomationException
Fills in required properties.

Specified by:
populateStaticProperties in interface ISynchronizationHelper
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractSpatialProperties

public void extractSpatialProperties(IGeoDataset geoDataset,
                                     IPropertySet propertySet)
                              throws java.io.IOException,
                                     AutomationException
Extracts spatial properties from a GeoDataset.

Specified by:
extractSpatialProperties in interface ISynchronizationHelper
Parameters:
geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractFeatureClassProperties

public void extractFeatureClassProperties(IFeatureClass geoDataset,
                                          int index,
                                          IPropertySet propertySet)
                                   throws java.io.IOException,
                                          AutomationException
Extracts properties from a Feature Class.

Specified by:
extractFeatureClassProperties in interface ISynchronizationHelper
Parameters:
geoDataset - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
index - The index (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractEntityAttrProperties

public void extractEntityAttrProperties(IClass geoDataset,
                                        int index,
                                        IPropertySet propertySet)
                                 throws java.io.IOException,
                                        AutomationException
Extracts entity attribute properties from a Feature Class.

Specified by:
extractEntityAttrProperties in interface ISynchronizationHelper
Parameters:
geoDataset - A reference to a com.esri.arcgis.geodatabase.IClass (in)
index - The index (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractRelationshipProperties

public void extractRelationshipProperties(IRelationshipClass relationshipClass,
                                          int index,
                                          IPropertySet propertySet)
                                   throws java.io.IOException,
                                          AutomationException
Extracts entity attribute properties from a Relationship Class.

Specified by:
extractRelationshipProperties in interface ISynchronizationHelper
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
index - The index (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

populateDistributionProperties

public void populateDistributionProperties(java.lang.String fileName,
                                           java.lang.String fileType,
                                           IPropertySet propertySet)
                                    throws java.io.IOException,
                                           AutomationException
Populates distribution properties given a filename.

Specified by:
populateDistributionProperties in interface ISynchronizationHelper
Parameters:
fileName - The fileName (in)
fileType - The fileType (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

populateDistributionPropertiesForDatabase

public void populateDistributionPropertiesForDatabase(IDataset dataset,
                                                      IPropertySet propertySet)
                                               throws java.io.IOException,
                                                      AutomationException
Populates distribution properties given a filename.

Specified by:
populateDistributionPropertiesForDatabase in interface ISynchronizationHelper
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractBriefEntityAttrProperties

public void extractBriefEntityAttrProperties(IClass geoDataset,
                                             int index,
                                             IPropertySet propertySet)
                                      throws java.io.IOException,
                                             AutomationException
Extracts brief entity attribute properties from a Feature Class.

Specified by:
extractBriefEntityAttrProperties in interface ISynchronizationHelper
Parameters:
geoDataset - A reference to a com.esri.arcgis.geodatabase.IClass (in)
index - The index (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractBriefRelationshipProperties

public void extractBriefRelationshipProperties(IRelationshipClass relationshipClass,
                                               int index,
                                               IPropertySet propertySet)
                                        throws java.io.IOException,
                                               AutomationException
Extracts brief entity attribute properties from a Relationship Class.

Specified by:
extractBriefRelationshipProperties in interface ISynchronizationHelper
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
index - The index (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.