|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.FGDCSynchronizationHelper
public class FGDCSynchronizationHelper
FGDC Synchronization Helper.
Constructor Summary | |
---|---|
FGDCSynchronizationHelper()
Constructs a FGDCSynchronizationHelper using ArcGIS Engine. |
|
FGDCSynchronizationHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FGDCSynchronizationHelper theFGDCSynchronizationHelper = (FGDCSynchronizationHelper) obj; |
Method Summary | |
---|---|
boolean |
equals(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 String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
populateDistributionProperties(String fileName,
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 |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public FGDCSynchronizationHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FGDCSynchronizationHelper(Object obj) throws IOException
FGDCSynchronizationHelper theFGDCSynchronizationHelper = (FGDCSynchronizationHelper) obj;
obj
to FGDCSynchronizationHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void startSynchronization(IPropertySet propertySet, int action, int interval, boolean[] ok) throws IOException, AutomationException
As with the IMetadata::Synchronize method, StartSynchronization uses the options defined in esriMetadataSyncAction to specify whether metadata will be created and elements will be modified based on whether or not the metadata already exists.
The interval parameter allows a minimum time (in seconds) to be provided between modifications. For example, if the interval parameter is set to 1000 when this method is called, the modification time of the property set will be checked, and if the difference between it and the current time is less than 1000 seconds, the synchronization "helping" will not begin (and the outbound Ok parameter will be set to false).
Ok indicates whether or not the synchronization helper was able to begin successfully.
startSynchronization
in interface ISynchronizationHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void finishSynchronization(IPropertySet propertySet) throws IOException, AutomationException
FinishSynchronization indicates that the synchronization process is complete. Changes to the XML property set that occurred during synchronization are saved in the metadata document.
finishSynchronization
in interface ISynchronizationHelper
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void populateStaticProperties(IPropertySet propertySet) throws IOException, AutomationException
populateStaticProperties
in interface ISynchronizationHelper
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractSpatialProperties(IGeoDataset geoDataset, IPropertySet propertySet) throws IOException, AutomationException
extractSpatialProperties
in interface ISynchronizationHelper
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractFeatureClassProperties(IFeatureClass geoDataset, int index, IPropertySet propertySet) throws IOException, AutomationException
extractFeatureClassProperties
in interface ISynchronizationHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractEntityAttrProperties(IClass geoDataset, int index, IPropertySet propertySet) throws IOException, AutomationException
extractEntityAttrProperties
in interface ISynchronizationHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractRelationshipProperties(IRelationshipClass relationshipClass, int index, IPropertySet propertySet) throws IOException, AutomationException
extractRelationshipProperties
in interface ISynchronizationHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void populateDistributionProperties(String fileName, String fileType, IPropertySet propertySet) throws IOException, AutomationException
populateDistributionProperties
in interface ISynchronizationHelper
fileName
- The fileName (in)fileType
- The fileType (in)propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void populateDistributionPropertiesForDatabase(IDataset dataset, IPropertySet propertySet) throws IOException, AutomationException
populateDistributionPropertiesForDatabase
in interface ISynchronizationHelper
dataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractBriefEntityAttrProperties(IClass geoDataset, int index, IPropertySet propertySet) throws IOException, AutomationException
extractBriefEntityAttrProperties
in interface ISynchronizationHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void extractBriefRelationshipProperties(IRelationshipClass relationshipClass, int index, IPropertySet propertySet) throws IOException, AutomationException
extractBriefRelationshipProperties
in interface ISynchronizationHelper
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)
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 |