com.esri.arcgis.globecore
Class GlobeDocument

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeDocument
All Implemented Interfaces:
IDocumentInfo, IDocumentInfo2, IDocumentPreview, IGlobeDocument, com.esri.arcgis.interop.RemoteObjRef, IDocumentVersion, java.io.Serializable

public class GlobeDocument
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeDocument, IDocumentVersion, IDocumentInfo, IDocumentInfo2, IDocumentPreview

COM Class 'GlobeDocument'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The GlobeDocument coclass is used to read and write globe document files.' 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.carto.IGlobeDocument
IID, IIDd2bcaf32_541c_4965_9980_aae56ab3a964, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IDocumentVersion
IID, IIDecc43c55_0148_4ec1_bf87_b9a183c5dc98, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo
IID, IIDd3e5c54e_2a84_11d4_9ff2_00c04f6bc78e, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDocumentInfo2
IID, IIDd3e5c54f_2a84_11d4_9ff2_00c04f6bc78e, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDocumentPreview
IID, IIDefe86eff_4c92_47b8_af1b_2d7ded932e24, xxDummy
 
Constructor Summary
GlobeDocument()
          Constructs a GlobeDocument using ArcGIS Engine.
GlobeDocument(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeDocument theGlobeDocument = (GlobeDocument) obj;
 
Method Summary
 void close()
          Close the globe document.
 void createPreview()
          Creates a thumbnail preview of the document.
 void deletePreview()
          Deletes the thumbnail preview of the document.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_new(java.lang.String bsDocument)
          Creates and opens a new globe document in preparation for the contents to be retrieve or updated.
 java.lang.String getAuthor()
          The author of the document.
 java.lang.String getCategory()
          The category of the document.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getComments()
          Comments for the document.
 java.lang.String getCredits()
          The credits of the document.
 java.lang.Object getDateExported()
          Date the document was last exported.
 java.lang.Object getDatePrinted()
          Date the document was last printed.
 java.lang.Object getDateSaved()
          Date the document was last saved.
 java.lang.String getDocumentFilename()
          The globe document filename that the GlobeDocument coclass is linked to.
 java.lang.String getDocumentTitle()
          The title of the document.
 int getDocumentType()
          The type of globe document currently loaded in the object.
 int getDocumentVersion()
          Indicates if the version of the globe document is compatible with the current version of software.
 java.lang.String getFolder()
          The folder of the document.
 java.lang.Object getGlobeObject()
          The Globe object.
 java.lang.String getHyperlinkBase()
          The hyperlink base of the document.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getKeywords()
          The keywords for the document.
 ILayer getLayer(int lLayerIndex)
          The Layer object at the specified index.
 int getLayerCount()
          The number of Layer objects contained within the globe document.
 java.lang.String getName()
          The name of the document.
 java.lang.String getPath()
          The path of the document.
 java.lang.String getSubject()
          The subject of the document.
 IPicture getThumbnail()
          The thumbnail stored in the globe document.
 void getVersionInfo(boolean[] pbVersionInfoMissing, int[] plMajor, int[] plMinor, int[] plRevision, int[] plBuild)
          Retrieve the detailed version information of the globe document.
 int hashCode()
          the hashcode for this object
 boolean isGlobeDocument(java.lang.String bsDocument)
          Indicates if the globe document is a valid globe document.
 boolean isHasPreviewSaved()
          Indicates the presence of a thumbnail preview in the document.
 boolean isHasPreviewToSave()
          Indicates the presence of a thumbnail preview to be saved with the document.
 boolean isPasswordProtected(java.lang.String bsDocument)
          Indicates if the globe document is protected by a passsword.
 boolean isPresent(java.lang.String bsDocument)
          Indicates if the globe document is present.
 boolean isReadOnly(java.lang.String bsDocument)
          Indicates if the globe document is read only.
 boolean isRelativePaths()
          Indicates if relative path is used when the document is saved.
 boolean isRestricted(java.lang.String bsDocument)
          Indicates if the use of the globe document is restricted to certain applications.
 boolean isSavePreview()
          Indicates if a preview of the document is saved when the document is saved.
 boolean isUsesRelativePaths()
          Indicates if the data in the globe document is referenced using relative paths.
 void open(java.lang.String bsDocument, java.lang.String bsPassword)
          Open the globe document in preparation for the contents to be retrieved or updated.
 void release()
          Release a GlobeDocument.
 void save(boolean bUseRelativePaths, boolean bCreateThumnbail)
          Save the contents of the globe document to the bound file.
 void saveAs(java.lang.String bsDocument, boolean bUseRelativePaths, boolean bCreateThumnbail)
          Save the contents of the globe document to the specified file name.
 void setAuthor(java.lang.String author)
          The author of the document.
 void setCategory(java.lang.String category)
          The category of the document.
 void setComments(java.lang.String comments)
          Comments for the document.
 void setCredits(java.lang.String credits)
          The credits of the document.
 void setDocumentTitle(java.lang.String title)
          The title of the document.
 void setDocumentVersion(int docVersion)
          The version of the document to save.
 void setGlobeObject(java.lang.Object ppUnk)
          The Globe object.
 void setHyperlinkBase(java.lang.String path)
          The hyperlink base of the document.
 void setKeywords(java.lang.String keywords)
          The keywords for the document.
 void setRelativePaths(boolean useRelativePaths)
          Indicates if relative path is used when the document is saved.
 void setSavePreview(boolean savePreview)
          Indicates if a preview of the document is saved when the document is saved.
 void setSubject(java.lang.String subject)
          The subject of the document.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeDocument

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

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

GlobeDocument

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

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

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

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

isGlobeDocument

public boolean isGlobeDocument(java.lang.String bsDocument)
                        throws java.io.IOException,
                               AutomationException
Indicates if the globe document is a valid globe document.

Specified by:
isGlobeDocument in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Returns:
The pbIsGlobeDocument
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPresent

public boolean isPresent(java.lang.String bsDocument)
                  throws java.io.IOException,
                         AutomationException
Indicates if the globe document is present.

Specified by:
isPresent in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Returns:
The pbIsPresent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReadOnly

public boolean isReadOnly(java.lang.String bsDocument)
                   throws java.io.IOException,
                          AutomationException
Indicates if the globe document is read only.

Specified by:
isReadOnly in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Returns:
The pbIsReadOnly
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRestricted

public boolean isRestricted(java.lang.String bsDocument)
                     throws java.io.IOException,
                            AutomationException
Indicates if the use of the globe document is restricted to certain applications.

Specified by:
isRestricted in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Returns:
The pbIsRestricted
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPasswordProtected

public boolean isPasswordProtected(java.lang.String bsDocument)
                            throws java.io.IOException,
                                   AutomationException
Indicates if the globe document is protected by a passsword.

Specified by:
isPasswordProtected in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Returns:
The pbIsPasswordProtected
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_new

public void esri_new(java.lang.String bsDocument)
              throws java.io.IOException,
                     AutomationException
Creates and opens a new globe document in preparation for the contents to be retrieve or updated.

Specified by:
esri_new in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public void open(java.lang.String bsDocument,
                 java.lang.String bsPassword)
          throws java.io.IOException,
                 AutomationException
Open the globe document in preparation for the contents to be retrieved or updated.

Specified by:
open in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
bsPassword - The bsPassword (in, optional, pass if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocumentFilename

public java.lang.String getDocumentFilename()
                                     throws java.io.IOException,
                                            AutomationException
The globe document filename that the GlobeDocument coclass is linked to.

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

getDocumentType

public int getDocumentType()
                    throws java.io.IOException,
                           AutomationException
The type of globe document currently loaded in the object.

Specified by:
getDocumentType in interface IGlobeDocument
Returns:
A com.esri.arcgis.carto.esriGlobeDocumentType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsesRelativePaths

public boolean isUsesRelativePaths()
                            throws java.io.IOException,
                                   AutomationException
Indicates if the data in the globe document is referenced using relative paths.

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

getDocumentVersion

public int getDocumentVersion()
                       throws java.io.IOException,
                              AutomationException
Indicates if the version of the globe document is compatible with the current version of software.

Specified by:
getDocumentVersion in interface IGlobeDocument
Specified by:
getDocumentVersion in interface IDocumentVersion
Returns:
A com.esri.arcgis.carto.esriGlobeDocumentVersionInfo constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobeObject

public void setGlobeObject(java.lang.Object ppUnk)
                    throws java.io.IOException,
                           AutomationException
The Globe object.

Specified by:
setGlobeObject in interface IGlobeDocument
Parameters:
ppUnk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobeObject

public java.lang.Object getGlobeObject()
                                throws java.io.IOException,
                                       AutomationException
The Globe object.

Specified by:
getGlobeObject in interface IGlobeDocument
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerCount

public int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
The number of Layer objects contained within the globe document.

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

getLayer

public ILayer getLayer(int lLayerIndex)
                throws java.io.IOException,
                       AutomationException
The Layer object at the specified index.

Specified by:
getLayer in interface IGlobeDocument
Parameters:
lLayerIndex - The lLayerIndex (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThumbnail

public IPicture getThumbnail()
                      throws java.io.IOException,
                             AutomationException
The thumbnail stored in the globe document. If this is empty E_FAIL is returned.

Specified by:
getThumbnail in interface IGlobeDocument
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.IPicture
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

public void close()
           throws java.io.IOException,
                  AutomationException
Close the globe document.

Specified by:
close in interface IGlobeDocument
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionInfo

public void getVersionInfo(boolean[] pbVersionInfoMissing,
                           int[] plMajor,
                           int[] plMinor,
                           int[] plRevision,
                           int[] plBuild)
                    throws java.io.IOException,
                           AutomationException
Retrieve the detailed version information of the globe document.

Specified by:
getVersionInfo in interface IGlobeDocument
Parameters:
pbVersionInfoMissing - The pbVersionInfoMissing (in/out: use single element array)
plMajor - The plMajor (in/out: use single element array)
plMinor - The plMinor (in/out: use single element array)
plRevision - The plRevision (in/out: use single element array)
plBuild - The plBuild (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(boolean bUseRelativePaths,
                 boolean bCreateThumnbail)
          throws java.io.IOException,
                 AutomationException
Save the contents of the globe document to the bound file.

Specified by:
save in interface IGlobeDocument
Parameters:
bUseRelativePaths - The bUseRelativePaths (in, optional, pass true if not required)
bCreateThumnbail - The bCreateThumnbail (in, optional, pass true if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAs

public void saveAs(java.lang.String bsDocument,
                   boolean bUseRelativePaths,
                   boolean bCreateThumnbail)
            throws java.io.IOException,
                   AutomationException
Save the contents of the globe document to the specified file name.

Specified by:
saveAs in interface IGlobeDocument
Parameters:
bsDocument - The bsDocument (in)
bUseRelativePaths - The bUseRelativePaths (in, optional, pass true if not required)
bCreateThumnbail - The bCreateThumnbail (in, optional, pass true if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDocumentVersion

public void setDocumentVersion(int docVersion)
                        throws java.io.IOException,
                               AutomationException
The version of the document to save.

Specified by:
setDocumentVersion in interface IDocumentVersion
Parameters:
docVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDocumentTitle

public java.lang.String getDocumentTitle()
                                  throws java.io.IOException,
                                         AutomationException
The title of the document.

Specified by:
getDocumentTitle in interface IDocumentInfo
Specified by:
getDocumentTitle in interface IDocumentInfo2
Returns:
The title
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDocumentTitle

public void setDocumentTitle(java.lang.String title)
                      throws java.io.IOException,
                             AutomationException
The title of the document.

Specified by:
setDocumentTitle in interface IDocumentInfo
Specified by:
setDocumentTitle in interface IDocumentInfo2
Parameters:
title - The title (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubject

public java.lang.String getSubject()
                            throws java.io.IOException,
                                   AutomationException
The subject of the document.

Specified by:
getSubject in interface IDocumentInfo
Specified by:
getSubject in interface IDocumentInfo2
Returns:
The subject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSubject

public void setSubject(java.lang.String subject)
                throws java.io.IOException,
                       AutomationException
The subject of the document.

Specified by:
setSubject in interface IDocumentInfo
Specified by:
setSubject in interface IDocumentInfo2
Parameters:
subject - The subject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAuthor

public java.lang.String getAuthor()
                           throws java.io.IOException,
                                  AutomationException
The author of the document.

Specified by:
getAuthor in interface IDocumentInfo
Specified by:
getAuthor in interface IDocumentInfo2
Returns:
The author
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAuthor

public void setAuthor(java.lang.String author)
               throws java.io.IOException,
                      AutomationException
The author of the document.

Specified by:
setAuthor in interface IDocumentInfo
Specified by:
setAuthor in interface IDocumentInfo2
Parameters:
author - The author (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the document.

Specified by:
getCategory in interface IDocumentInfo
Specified by:
getCategory in interface IDocumentInfo2
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCategory

public void setCategory(java.lang.String category)
                 throws java.io.IOException,
                        AutomationException
The category of the document.

Specified by:
setCategory in interface IDocumentInfo
Specified by:
setCategory in interface IDocumentInfo2
Parameters:
category - The category (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getComments

public java.lang.String getComments()
                             throws java.io.IOException,
                                    AutomationException
Comments for the document.

Specified by:
getComments in interface IDocumentInfo
Specified by:
getComments in interface IDocumentInfo2
Returns:
The comments
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setComments

public void setComments(java.lang.String comments)
                 throws java.io.IOException,
                        AutomationException
Comments for the document.

Specified by:
setComments in interface IDocumentInfo
Specified by:
setComments in interface IDocumentInfo2
Parameters:
comments - The comments (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKeywords

public java.lang.String getKeywords()
                             throws java.io.IOException,
                                    AutomationException
The keywords for the document.

Specified by:
getKeywords in interface IDocumentInfo
Specified by:
getKeywords in interface IDocumentInfo2
Returns:
The keywords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKeywords

public void setKeywords(java.lang.String keywords)
                 throws java.io.IOException,
                        AutomationException
The keywords for the document.

Specified by:
setKeywords in interface IDocumentInfo
Specified by:
setKeywords in interface IDocumentInfo2
Parameters:
keywords - The keywords (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHyperlinkBase

public java.lang.String getHyperlinkBase()
                                  throws java.io.IOException,
                                         AutomationException
The hyperlink base of the document.

Specified by:
getHyperlinkBase in interface IDocumentInfo
Specified by:
getHyperlinkBase in interface IDocumentInfo2
Returns:
The path
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHyperlinkBase

public void setHyperlinkBase(java.lang.String path)
                      throws java.io.IOException,
                             AutomationException
The hyperlink base of the document.

Specified by:
setHyperlinkBase in interface IDocumentInfo
Specified by:
setHyperlinkBase in interface IDocumentInfo2
Parameters:
path - The path (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSavePreview

public boolean isSavePreview()
                      throws java.io.IOException,
                             AutomationException
Indicates if a preview of the document is saved when the document is saved.

Specified by:
isSavePreview in interface IDocumentInfo
Specified by:
isSavePreview in interface IDocumentInfo2
Returns:
The savePreview
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSavePreview

public void setSavePreview(boolean savePreview)
                    throws java.io.IOException,
                           AutomationException
Indicates if a preview of the document is saved when the document is saved.

Specified by:
setSavePreview in interface IDocumentInfo
Specified by:
setSavePreview in interface IDocumentInfo2
Parameters:
savePreview - The savePreview (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCredits

public java.lang.String getCredits()
                            throws java.io.IOException,
                                   AutomationException
The credits of the document.

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

setCredits

public void setCredits(java.lang.String credits)
                throws java.io.IOException,
                       AutomationException
The credits of the document.

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

isRelativePaths

public boolean isRelativePaths()
                        throws java.io.IOException,
                               AutomationException
Indicates if relative path is used when the document is saved.

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

setRelativePaths

public void setRelativePaths(boolean useRelativePaths)
                      throws java.io.IOException,
                             AutomationException
Indicates if relative path is used when the document is saved.

Specified by:
setRelativePaths in interface IDocumentInfo2
Parameters:
useRelativePaths - The useRelativePaths (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the document.

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

getPath

public java.lang.String getPath()
                         throws java.io.IOException,
                                AutomationException
The path of the document.

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

getFolder

public java.lang.String getFolder()
                           throws java.io.IOException,
                                  AutomationException
The folder of the document.

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

getDateSaved

public java.lang.Object getDateSaved()
                              throws java.io.IOException,
                                     AutomationException
Date the document was last saved.

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

getDatePrinted

public java.lang.Object getDatePrinted()
                                throws java.io.IOException,
                                       AutomationException
Date the document was last printed.

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

getDateExported

public java.lang.Object getDateExported()
                                 throws java.io.IOException,
                                        AutomationException
Date the document was last exported.

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

createPreview

public void createPreview()
                   throws java.io.IOException,
                          AutomationException
Creates a thumbnail preview of the document.

Specified by:
createPreview in interface IDocumentPreview
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deletePreview

public void deletePreview()
                   throws java.io.IOException,
                          AutomationException
Deletes the thumbnail preview of the document.

Specified by:
deletePreview in interface IDocumentPreview
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasPreviewSaved

public boolean isHasPreviewSaved()
                          throws java.io.IOException,
                                 AutomationException
Indicates the presence of a thumbnail preview in the document.

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

isHasPreviewToSave

public boolean isHasPreviewToSave()
                           throws java.io.IOException,
                                  AutomationException
Indicates the presence of a thumbnail preview to be saved with the document.

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