|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.ReplicaDescription
public class ReplicaDescription
Defines the datasets in a replica.
This coclass is used to define the data to be checked out or extracted. It can also be returned from existing check-outs and used to determine the conditions applied on check out.
ICheckOut,
IReplicaValidation,
ICheckOut.checkOutData(com.esri.arcgis.geodatabase.IReplicaDescription, boolean, String),
CheckOut,
Serialized Form| Constructor Summary | |
|---|---|
ReplicaDescription()
Constructs a ReplicaDescription using ArcGIS Engine. |
|
ReplicaDescription(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ReplicaDescription theReplicaDescription = (ReplicaDescription) obj; |
|
| Method Summary | |
|---|---|
void |
addDatasetNames(IEnumName datasetNames)
Adding dataset names to the existing list of replica description dataset names. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
boolean |
equals(Object o)
Compare this object with another |
int |
findExtension(IUID pGUID)
Finds the specified description extension by its globally unique id. |
IRelationshipClassInfo |
findRelationshipClassInfo(IRelationshipClassName rCName)
Gets the relationship class description. |
IRelationshipClassInfo |
findRelationshipClassInfoByName(String name,
String database,
String owner)
Gets the relationship class description. |
int |
findTable(IName datasetName)
Gets the index number of a dataset. |
int |
findTable2(String name,
String database,
String owner,
int type)
Gets the index number of a dataset. |
int |
getAccessType()
Gets the Replica access type. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IEnumName |
getDatasetNames()
A list of dataset names to include in a replica. |
IReplicaDescriptionExtension |
getExtension(int index)
The replica description extension at this index. |
int |
getExtensionCount()
The number of replica description extensions. |
IGeometry |
getGeometry()
The geometry used to determine which features to extract or check out. |
String |
getOutputXMLFile()
The name of the output XML file. |
IEnumRelationshipClassInfo |
getRelationshipClassesInfo()
An enumeration that describes settings for each relationship class in the replica. |
IEnumNameMapping |
getReplicaEnumNameMapping()
Set the replicated object target name. |
int |
getReplicaModelType()
Defines whether to output the data as simple datasets or as they are defined in the master geodatabase. |
int |
getRowsType(int index)
Replica row type options. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getSpatialRelation()
The spatial operator used for a replica. |
String |
getTableDefQuery(int index)
The definition query to use when checking out a dataset. |
IName |
getTableName(int index)
The name of a dataset to check out. |
int |
getTableNameCount()
The number of table type objects that will be checked out. |
ISelectionSet |
getTableSelection(int index)
The selection set to use when checking out a dataset. |
IFIDSet |
getTableSelectionIDs(int index)
The ID's of the rows and features that are replicated when a selection set id ussd. |
int |
hashCode()
the hashcode for this object |
void |
init(IEnumName enumNames,
IWorkspaceName outputWSName,
boolean reuseSchema,
int deType)
Defines the datasets to replica or extract and the output geodatabase. |
void |
init2(IEnumName enumNames,
String outputXMLFile,
boolean binaryGeometry,
boolean compressed,
int deType)
Provides access to members that define the datasets to check-out or extract to am XML file. |
boolean |
isBinaryGeometry()
Indicates if the geometry coordinates are stored in binary |
boolean |
isCompressed()
indicates of the output XML file is to be compressed. |
void |
isDirty()
isDirty |
boolean |
isFetchRelatedObjects()
Indicates if related objects have been replicated or not. |
boolean |
isPrivateTable(int index)
Indicates if a dataset is private or not. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
boolean |
isTableExcluded(int index)
Indicates if a table is to be excluded from a replica. |
boolean |
isTableUsesDefQuery(int index)
Indicates if a definition query will be used when checking out a dataset. |
boolean |
isTableUsesQueryGeometry(int index)
Indicates if a spatial extent will be used when checking out a dataset. |
boolean |
isTableUsesSelection(int index)
Indicates if a selection will be used when checking out a dataset. |
boolean |
isUseArchiving()
Gets the Replica UseArchiving Option. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
registerExtension(IReplicaDescriptionExtension rdExtension)
Registers this description extension. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAccessType(int accessType)
Gets the Replica access type. |
void |
setGeometryByRef(IGeometry rhs1)
The geometry used to determine which features to extract or check out. |
void |
setIsPrivateTable(int index,
boolean isPrivate)
Indicates if a dataset is private or not. |
void |
setReplicaModelType(int modelType)
Defines whether to output the data as simple datasets or as they are defined in the master geodatabase. |
void |
setRowsType(int index,
int rhs2)
Replica row type options. |
void |
setSpatialRelation(int rhs1)
The spatial operator used for a replica. |
void |
setTableDefQuery(int index,
String rhs2)
The definition query to use when checking out a dataset. |
void |
setTableExcluded(int index,
boolean exclude)
Indicates if a table is to be excluded from a replica. |
void |
setTableSelectionByRef(int index,
ISelectionSet rhs2)
The selection set to use when checking out a dataset. |
void |
setTableUsesDefQuery(int index,
boolean rhs2)
Indicates if a definition query will be used when checking out a dataset. |
void |
setTableUsesQueryGeometry(int index,
boolean rhs2)
Indicates if a spatial extent will be used when checking out a dataset. |
void |
setTableUsesSelection(int index,
boolean rhs2)
Indicates if a selection will be used when checking out a dataset. |
void |
setUseArchiving(boolean useArchiving)
Gets the Replica UseArchiving Option. |
void |
unRegisterExtension(IUID pGUID)
UnRegisters this replica description. |
void |
writeExternal(ObjectOutput out)
|
| 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 ReplicaDescription()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ReplicaDescription(Object obj)
throws IOException
ReplicaDescription theReplicaDescription = (ReplicaDescription) obj;
obj to ReplicaDescription.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void init(IEnumName enumNames,
IWorkspaceName outputWSName,
boolean reuseSchema,
int deType)
throws IOException,
AutomationException
When defining a ReplicaDescription object to use in a check out or a data extraction, this method must be called before using any of the other properties and methods.
The Init method expands the enumNames list to include related datasets that may not already be in the enumNames list. For example, if the enumNames list includes a FeatureClass involved in a RelationshipClass, the Init method adds the related table to the check-out. This is done to maintain the integrity of the geodatabase. The FindTable method and the TableNameCount, TableName and TableExcluded properties apply to the expanded enumNames list.
The expanded list only contains objects that implement ITableName such as FeatureClasses, Tables and AttributedRelationshipClasses. Objects such as GeometricNetworks and FeatureDatasets are included in the checkout, but are not returned from this list. The properties of the objects returned can be used to get these objects if needed.
For the current release, all esriDataExtraction types are valid except esriDataReplication for the detype parameter. The OutputWSName parameter must be a workspacename for a personal or ArcSDE geodatabase.
Set ReuseSchema to True if you intend to check out or extract data to a workspace that already has a schema to match the data to be checked out or extracted.
To add a FeatureClass from a FeatureDataset, you must first add the FeatureDataset to the enumNames and call Init. This expands the description to include all FeatureClasses from the FeatureDataset. You can then set the IReplicaDescripion::TableExcluded property to false for any feature classes that you don't want to inlcluce in the check-out.
init in interface IReplicaDescriptionenumNames - A reference to a com.esri.arcgis.system.IEnumName (in)outputWSName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)reuseSchema - The reuseSchema (in)deType - A com.esri.arcgis.geodatabase.esriDataExtractionType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumName getDatasetNames()
throws IOException,
AutomationException
This enumeration is the unexpanded enumNames enumeration that was passed into the Init method.
getDatasetNames in interface IReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTableNameCount()
throws IOException,
AutomationException
This value returned may be different from the number of datasets passed into the Init method. This is because the Init method expands the list of datasets to ensure database integrity.
getTableNameCount in interface IReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getTableName(int index)
throws IOException,
AutomationException
getTableName in interface IReplicaDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableExcluded(int index,
boolean exclude)
throws IOException,
AutomationException
setTableExcluded in interface IReplicaDescriptionindex - The index (in)exclude - The exclude (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTableExcluded(int index)
throws IOException,
AutomationException
isTableExcluded in interface IReplicaDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReplicaModelType(int modelType)
throws IOException,
AutomationException
setReplicaModelType in interface IReplicaDescriptionmodelType - A com.esri.arcgis.geodatabase.esriReplicaModelType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getReplicaModelType()
throws IOException,
AutomationException
The ReplicaModelType property defines whether to output the data as simple datasets (esriModelTypeSimple) or as they are defined in the master geodatabase (esriModelTypeFullGeodatabase).
getReplicaModelType in interface IReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findTable(IName datasetName)
throws IOException,
AutomationException
This property may return indexes for Name objects that were not passed into the Init method. This is because the Init method expands the list of datasets to ensure database integrity. The index returned can be used with the TableName property to get name object back from the list.
findTable in interface IReplicaDescriptiondatasetName - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addDatasetNames(IEnumName datasetNames)
throws IOException,
AutomationException
The AddDatasetNames method can be used to add dataset names to the replica description after the init method has been called.
addDatasetNames in interface IReplicaDescriptiondatasetNames - A reference to a com.esri.arcgis.system.IEnumName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsPrivateTable(int index,
boolean isPrivate)
throws IOException,
AutomationException
setIsPrivateTable in interface IReplicaDescriptionindex - The index (in)isPrivate - The isPrivate (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPrivateTable(int index)
throws IOException,
AutomationException
isPrivateTable in interface IReplicaDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getGeometry()
throws IOException,
AutomationException
This property returns the shape that is used to determine which features are to be checked out. The SpatialRelation property returns how this shape is applied as a filter. For example, if the Geometry is a polygon and the SpatialRelation is esriSpatialRelIntersects, any features that intersect the polygon are checked out.
If a geometry is not used for the check-out, nothing is returned.
By default, the geometry is applied to all datasets in the replica description during a check out or extraction.
getGeometry in interface IReplicaFilterDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSpatialRelation()
throws IOException,
AutomationException
This property defines how the shape returned by the Geometry property is applied during check out. For example, if the geometry is a polygon and the SpatialRelation is esriSpatialRelIntersects, any features that intersect the polygon are checked out.
getSpatialRelation in interface IReplicaFilterDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTableUsesQueryGeometry(int index)
throws IOException,
AutomationException
isTableUsesQueryGeometry in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTableUsesSelection(int index)
throws IOException,
AutomationException
isTableUsesSelection in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTableUsesDefQuery(int index)
throws IOException,
AutomationException
isTableUsesDefQuery in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getTableSelection(int index)
throws IOException,
AutomationException
getTableSelection in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTableDefQuery(int index)
throws IOException,
AutomationException
getTableDefQuery in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRowsType(int index)
throws IOException,
AutomationException
getRowsType in interface IReplicaFilterDescriptionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFIDSet getTableSelectionIDs(int index)
throws IOException,
AutomationException
getTableSelectionIDs in interface IReplicaFilterDescription2index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFetchRelatedObjects()
throws IOException,
AutomationException
isFetchRelatedObjects in interface IReplicaDescription2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findTable2(String name,
String database,
String owner,
int type)
throws IOException,
AutomationException
findTable2 in interface IReplicaDescription2name - The name (in)database - The database (in)owner - The owner (in)type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRelationshipClassInfo findRelationshipClassInfoByName(String name,
String database,
String owner)
throws IOException,
AutomationException
findRelationshipClassInfoByName in interface IReplicaDescription2name - The name (in)database - The database (in)owner - The owner (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRelationshipClassInfo findRelationshipClassInfo(IRelationshipClassName rCName)
throws IOException,
AutomationException
findRelationshipClassInfo in interface IReplicaDescription2rCName - A reference to a com.esri.arcgis.geodatabase.IRelationshipClassName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumRelationshipClassInfo getRelationshipClassesInfo()
throws IOException,
AutomationException
getRelationshipClassesInfo in interface IReplicaDescription2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAccessType(int accessType)
throws IOException,
AutomationException
setAccessType in interface IReplicaDescription3accessType - A com.esri.arcgis.geodatabase.esriReplicaAccessType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAccessType()
throws IOException,
AutomationException
getAccessType in interface IReplicaDescription3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseArchiving(boolean useArchiving)
throws IOException,
AutomationException
setUseArchiving in interface IReplicaDescription4useArchiving - The useArchiving (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseArchiving()
throws IOException,
AutomationException
isUseArchiving in interface IReplicaDescription4IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNameMapping getReplicaEnumNameMapping()
throws IOException,
AutomationException
getReplicaEnumNameMapping in interface IReplicaDescription4IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void init2(IEnumName enumNames,
String outputXMLFile,
boolean binaryGeometry,
boolean compressed,
int deType)
throws IOException,
AutomationException
init2 in interface IXMLReplicaDescriptionenumNames - A reference to a com.esri.arcgis.system.IEnumName (in)outputXMLFile - The outputXMLFile (in)binaryGeometry - The binaryGeometry (in)compressed - The compressed (in)deType - A com.esri.arcgis.geodatabase.esriDataExtractionType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getOutputXMLFile()
throws IOException,
AutomationException
getOutputXMLFile in interface IXMLReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBinaryGeometry()
throws IOException,
AutomationException
isBinaryGeometry in interface IXMLReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCompressed()
throws IOException,
AutomationException
isCompressed in interface IXMLReplicaDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeometryByRef(IGeometry rhs1)
throws IOException,
AutomationException
Set this property if you want to add an association with the specified shape to determine the features to check out or extract. The association is defined by the SpatialRelation property. For example, if the Geometry is a polygon and the SpatialRelation is esriSpatialRelIntersects, any features that intersect the polygon are checked out.
The SpatialReference of the geometry is significant. Data from the check-out feature classes gets projected into this spatial reference when the geometry association is applied. If the spatial reference of the geometry is not set, the features you expect to get checked out or extracted may not be included.
By default, the geometry is applied to all datasets in the replica description during a check out or extraction.
setGeometryByRef in interface IReplicaFilterDescriptionEditrhs1 - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialRelation(int rhs1)
throws IOException,
AutomationException
This property defines how the shape set for the Geometry property is applied during check out. For example, if the geometry is a polygon and the SpatialRelation is esriSpatialRelIntersects, any features that intersect the polygon are checked out.
setSpatialRelation in interface IReplicaFilterDescriptionEditrhs1 - A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableUsesQueryGeometry(int index,
boolean rhs2)
throws IOException,
AutomationException
setTableUsesQueryGeometry in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableUsesSelection(int index,
boolean rhs2)
throws IOException,
AutomationException
setTableUsesSelection in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableUsesDefQuery(int index,
boolean rhs2)
throws IOException,
AutomationException
setTableUsesDefQuery in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableSelectionByRef(int index,
ISelectionSet rhs2)
throws IOException,
AutomationException
This property allows you to set a SelectionSet as a filter.
The IReplicaDescription::FindTable method can be used to return the index of a specific dataset. The IReplicaDescription::TableName and IReplicaDescription::TableNameCount properties can be used to cycle through all checked out datasets.
setTableSelectionByRef in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableDefQuery(int index,
String rhs2)
throws IOException,
AutomationException
setTableDefQuery in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - The rhs2 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRowsType(int index,
int rhs2)
throws IOException,
AutomationException
setRowsType in interface IReplicaFilterDescriptionEditindex - The index (in)rhs2 - A com.esri.arcgis.geodatabase.esriRowsType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findExtension(IUID pGUID)
throws IOException,
AutomationException
findExtension in interface IReplicaDescriptionExtensionManagerpGUID - A reference to a com.esri.arcgis.system.IUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getExtensionCount()
throws IOException,
AutomationException
getExtensionCount in interface IReplicaDescriptionExtensionManagerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IReplicaDescriptionExtension getExtension(int index)
throws IOException,
AutomationException
getExtension in interface IReplicaDescriptionExtensionManagerindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void registerExtension(IReplicaDescriptionExtension rdExtension)
throws IOException,
AutomationException
registerExtension in interface IReplicaDescriptionExtensionManagerrdExtension - A reference to a com.esri.arcgis.geodatabase.IReplicaDescriptionExtension (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unRegisterExtension(IUID pGUID)
throws IOException,
AutomationException
unRegisterExtension in interface IReplicaDescriptionExtensionManagerpGUID - A reference to a com.esri.arcgis.system.IUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportedAtVersion(int docVersion)
throws IOException,
AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object convertToSupportedObject(int docVersion)
throws IOException,
AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||