com.esri.arcgis.arcweb
Class ArcWebReportInfo

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebReportInfo
All Implemented Interfaces:
IArcWebReportInfo, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebReportInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebReportInfo

The information describing an ArcWeb report.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebReportInfo()
          Constructs a ArcWebReportInfo using ArcGIS Engine.
ArcWebReportInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebReportInfo theArcWebReportInfo = (ArcWebReportInfo) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getDataSource()
          The name of the data source used for creating a report.
 int getReportFormat()
          The format of the report.
 String getReportURL()
          The URL to access the report.
 int hashCode()
          the hashcode for this object
 void setDataSource(String dataSource)
          The name of the data source used for creating a report.
 void setReportFormat(int reportFormat)
          The format of the report.
 void setReportURL(String reportURL)
          The URL to access the report.
 
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

ArcWebReportInfo

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

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

ArcWebReportInfo

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

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

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

getDataSource

public String getDataSource()
                     throws IOException,
                            AutomationException
The name of the data source used for creating a report.

Product Availability

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

Specified by:
getDataSource in interface IArcWebReportInfo
Returns:
The dataSource
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataSource

public void setDataSource(String dataSource)
                   throws IOException,
                          AutomationException
The name of the data source used for creating a report.

Product Availability

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

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

getReportFormat

public int getReportFormat()
                    throws IOException,
                           AutomationException
The format of the report.

Product Availability

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

Specified by:
getReportFormat in interface IArcWebReportInfo
Returns:
A com.esri.arcgis.arcweb.esriArcWebReportFormat constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReportFormat

public void setReportFormat(int reportFormat)
                     throws IOException,
                            AutomationException
The format of the report.

Product Availability

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

Specified by:
setReportFormat in interface IArcWebReportInfo
Parameters:
reportFormat - A com.esri.arcgis.arcweb.esriArcWebReportFormat constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReportURL

public String getReportURL()
                    throws IOException,
                           AutomationException
The URL to access the report.

Product Availability

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

Specified by:
getReportURL in interface IArcWebReportInfo
Returns:
The reportURL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReportURL

public void setReportURL(String reportURL)
                  throws IOException,
                         AutomationException
The URL to access the report.

Product Availability

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

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