com.esri.arcgis.geodatabase
Class ItemInfo

java.lang.Object
  extended by com.esri.arcgis.geodatabase.ItemInfo
All Implemented Interfaces:
IItemInfo, IItemInfo2, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, IXMLSerialize, Externalizable, Serializable

public class ItemInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IItemInfo, IItemInfo2, IXMLSerialize, IPersistStream, IPersist, Externalizable

Item Info coclass.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
ItemInfo()
          Constructs a ItemInfo using ArcGIS Engine.
ItemInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ItemInfo theItemInfo = (ItemInfo) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(Object o)
          Compare this object with another
 String getAccessConstraints()
          Access constraints to this data.
 String getCatalogPath()
          Catalog path of the item.
 void getClassID(GUID[] pClassID)
          getClassID
static String getClsid()
          getClsid.
 String getCredits()
          Credits of the item.
 String getDescription()
          Description of the item.
 IDocumentationInfo getDocumentationInfo()
          Documentation info of the item.
 IEnvelope getExtent()
          Extent of the item.
 String getGUID()
          GUID of the item.
 IPropertySet getItemProperties()
          Additional properties of this item.
 Object getLastModifiedTime()
          The last modified time of the data.
 double getMaxScale()
          Maximum scale of the item.
 double getMinScale()
          Minimum scale of the item.
 String getName()
          Name of the item.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 String getSnippet()
          Snippet of the item.
 ISpatialReference getSpatialReference()
          The spatial reference of the data.
 String getSpatialReferenceName()
          The name of the spatial reference.
 IStringArray getTags()
          Tags of the item.
 IThumbnailInfo getThumbnailInfo()
          Thumbnail info of the item.
 String getTitle()
          Title of the item.
 String getType()
          Type of the item.
 IStringArray getTypeInfo()
          The additional info of a type of the item.
 IStringArray getTypeKeywords()
          The keywords of a type of the item.
 String getURL()
          Url of the item.
 int hashCode()
          the hashcode for this object
 void isDirty()
          isDirty
 void load(IStream pstm)
          load
 void readExternal(ObjectInput in)
           
 void save(IStream pstm, int fClearDirty)
          save
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setAccessConstraints(String pConstraints)
          Access constraints to this data.
 void setCatalogPath(String pCatalogPath)
          Catalog path of the item.
 void setCredits(String pCredits)
          Credits of the item.
 void setDescription(String pDescription)
          Description of the item.
 void setDocumentationInfoByRef(IDocumentationInfo ppDocInfo)
          Documentation info of the item.
 void setExtentByRef(IEnvelope ppExtent)
          Extent of the item.
 void setGUID(String pGUID)
          GUID of the item.
 void setItemProperties(IPropertySet ppProps)
          Additional properties of this item.
 void setLastModifiedTime(Object pDateT)
          The last modified time of the data.
 void setMaxScale(double pScale)
          Maximum scale of the item.
 void setMinScale(double pScale)
          Minimum scale of the item.
 void setName(String pName)
          Name of the item.
 void setSnippet(String pSnippet)
          Snippet of the item.
 void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
          The spatial reference of the data.
 void setTags(IStringArray ppTags)
          Tags of the item.
 void setThumbnailInfoByRef(IThumbnailInfo ppThumbnailInfo)
          Thumbnail info of the item.
 void setTitle(String pTitle)
          Title of the item.
 void setType(String pType)
          Type of the item.
 void setTypeInfo(IStringArray ppInfo)
          The additional info of a type of the item.
 void setTypeKeywords(IStringArray ppKeywords)
          The keywords of a type of the item.
 void setURL(String pUrl)
          Url of the item.
 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

ItemInfo

public ItemInfo()
         throws IOException,
                UnknownHostException
Constructs a ItemInfo using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

ItemInfo

public ItemInfo(Object obj)
         throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ItemInfo theItemInfo = (ItemInfo) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getName in interface IItemInfo
Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String pName)
             throws IOException,
                    AutomationException
Name of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setName in interface IItemInfo
Parameters:
pName - The pName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGUID

public String getGUID()
               throws IOException,
                      AutomationException
GUID of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGUID in interface IItemInfo
Returns:
The pGUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGUID

public void setGUID(String pGUID)
             throws IOException,
                    AutomationException
GUID of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setGUID in interface IItemInfo
Parameters:
pGUID - The pGUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public String getType()
               throws IOException,
                      AutomationException
Type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getType in interface IItemInfo
Returns:
The pType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(String pType)
             throws IOException,
                    AutomationException
Type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setType in interface IItemInfo
Parameters:
pType - The pType (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeKeywords

public IStringArray getTypeKeywords()
                             throws IOException,
                                    AutomationException
The keywords of a type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTypeKeywords in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTypeKeywords

public void setTypeKeywords(IStringArray ppKeywords)
                     throws IOException,
                            AutomationException
The keywords of a type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setTypeKeywords in interface IItemInfo
Parameters:
ppKeywords - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeInfo

public IStringArray getTypeInfo()
                         throws IOException,
                                AutomationException
The additional info of a type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTypeInfo in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTypeInfo

public void setTypeInfo(IStringArray ppInfo)
                 throws IOException,
                        AutomationException
The additional info of a type of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setTypeInfo in interface IItemInfo
Parameters:
ppInfo - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalogPath

public String getCatalogPath()
                      throws IOException,
                             AutomationException
Catalog path of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCatalogPath in interface IItemInfo
Returns:
The pCatalogPath
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCatalogPath

public void setCatalogPath(String pCatalogPath)
                    throws IOException,
                           AutomationException
Catalog path of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setCatalogPath in interface IItemInfo
Parameters:
pCatalogPath - The pCatalogPath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTitle

public String getTitle()
                throws IOException,
                       AutomationException
Title of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTitle in interface IItemInfo
Returns:
The pTitle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTitle

public void setTitle(String pTitle)
              throws IOException,
                     AutomationException
Title of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setTitle in interface IItemInfo
Parameters:
pTitle - The pTitle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
Description of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDescription in interface IItemInfo
Returns:
The pDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(String pDescription)
                    throws IOException,
                           AutomationException
Description of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setDescription in interface IItemInfo
Parameters:
pDescription - The pDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTags

public IStringArray getTags()
                     throws IOException,
                            AutomationException
Tags of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTags in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTags

public void setTags(IStringArray ppTags)
             throws IOException,
                    AutomationException
Tags of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setTags in interface IItemInfo
Parameters:
ppTags - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnippet

public String getSnippet()
                  throws IOException,
                         AutomationException
Snippet of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSnippet in interface IItemInfo
Returns:
The pSnippet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnippet

public void setSnippet(String pSnippet)
                throws IOException,
                       AutomationException
Snippet of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSnippet in interface IItemInfo
Parameters:
pSnippet - The pSnippet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

public String getURL()
              throws IOException,
                     AutomationException
Url of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getURL in interface IItemInfo
Returns:
The pUrl
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setURL

public void setURL(String pUrl)
            throws IOException,
                   AutomationException
Url of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setURL in interface IItemInfo
Parameters:
pUrl - The pUrl (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastModifiedTime

public Object getLastModifiedTime()
                           throws IOException,
                                  AutomationException
The last modified time of the data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLastModifiedTime in interface IItemInfo
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLastModifiedTime

public void setLastModifiedTime(Object pDateT)
                         throws IOException,
                                AutomationException
The last modified time of the data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setLastModifiedTime in interface IItemInfo
Parameters:
pDateT - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws IOException,
                           AutomationException
Extent of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getExtent in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtentByRef

public void setExtentByRef(IEnvelope ppExtent)
                    throws IOException,
                           AutomationException
Extent of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setExtentByRef in interface IItemInfo
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference of the data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpatialReference in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
                              throws IOException,
                                     AutomationException
The spatial reference of the data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSpatialReferenceByRef in interface IItemInfo
Parameters:
ppSpatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnailInfo

public IThumbnailInfo getThumbnailInfo()
                                throws IOException,
                                       AutomationException
Thumbnail info of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getThumbnailInfo in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThumbnailInfoByRef

public void setThumbnailInfoByRef(IThumbnailInfo ppThumbnailInfo)
                           throws IOException,
                                  AutomationException
Thumbnail info of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setThumbnailInfoByRef in interface IItemInfo
Parameters:
ppThumbnailInfo - A reference to a com.esri.arcgis.geodatabase.IThumbnailInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocumentationInfo

public IDocumentationInfo getDocumentationInfo()
                                        throws IOException,
                                               AutomationException
Documentation info of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDocumentationInfo in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IDocumentationInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDocumentationInfoByRef

public void setDocumentationInfoByRef(IDocumentationInfo ppDocInfo)
                               throws IOException,
                                      AutomationException
Documentation info of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setDocumentationInfoByRef in interface IItemInfo
Parameters:
ppDocInfo - A reference to a com.esri.arcgis.geodatabase.IDocumentationInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccessConstraints

public String getAccessConstraints()
                            throws IOException,
                                   AutomationException
Access constraints to this data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAccessConstraints in interface IItemInfo
Returns:
The pConstraints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccessConstraints

public void setAccessConstraints(String pConstraints)
                          throws IOException,
                                 AutomationException
Access constraints to this data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAccessConstraints in interface IItemInfo
Parameters:
pConstraints - The pConstraints (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemProperties

public IPropertySet getItemProperties()
                               throws IOException,
                                      AutomationException
Additional properties of this item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getItemProperties in interface IItemInfo
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItemProperties

public void setItemProperties(IPropertySet ppProps)
                       throws IOException,
                              AutomationException
Additional properties of this item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getCredits

public String getCredits()
                  throws IOException,
                         AutomationException
Credits of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCredits in interface IItemInfo2
Returns:
The pCredits
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCredits

public void setCredits(String pCredits)
                throws IOException,
                       AutomationException
Credits of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setCredits in interface IItemInfo2
Parameters:
pCredits - The pCredits (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinScale

public double getMinScale()
                   throws IOException,
                          AutomationException
Minimum scale of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMinScale in interface IItemInfo2
Returns:
The pScale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinScale

public void setMinScale(double pScale)
                 throws IOException,
                        AutomationException
Minimum scale of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMinScale in interface IItemInfo2
Parameters:
pScale - The pScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxScale

public double getMaxScale()
                   throws IOException,
                          AutomationException
Maximum scale of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMaxScale in interface IItemInfo2
Returns:
The pScale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxScale

public void setMaxScale(double pScale)
                 throws IOException,
                        AutomationException
Maximum scale of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMaxScale in interface IItemInfo2
Parameters:
pScale - The pScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReferenceName

public String getSpatialReferenceName()
                               throws IOException,
                                      AutomationException
The name of the spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpatialReferenceName in interface IItemInfo2
Returns:
The srName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws IOException,
                      AutomationException
Serializes an object to XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws IOException,
                        AutomationException
Deserializes an object from XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws IOException,
                    AutomationException
isDirty

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDirty in interface IPersistStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws IOException,
                 AutomationException
load

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
save

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
getSizeMax

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
getClassID

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException