|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.reports.plugin.definition.ReportContext
The Reports context object. The context object provides environment information such as the Reports path, locale, and so on.
Field Summary | |
protected oracle.reports.definition.RWReport |
mRWObj |
protected Trace |
mTrace |
Constructor Summary | |
ReportContext(oracle.reports.definition.RWReport rwobj, Trace trace) Constructor. |
Method Summary | |
java.lang.String |
findFileInReportsPath(java.lang.String filename) Searches for a file named in paths specified by the REPORTS_PATH environment variable. |
java.lang.String |
getCacheDirectory() Returns the cache directory. |
java.util.Hashtable |
getCommandLineArguments() Returns the command line arguments. |
java.lang.String |
getConfigDirectory() Returns the configuration directory. |
java.lang.String |
getDTDDirectory() Returns the DTD directory. |
java.util.Locale |
getLocale() |
java.lang.String |
getOracleHome() Returns the ORACLE_HOME directory. |
java.lang.String |
getPluginParam(java.lang.String name) Returns the named plugin parameter from the server configuration file. |
java.lang.String |
getReportsDirectory() Returns the Reports directory. |
java.lang.String |
getServerDirectory() Returns the server directory. |
java.lang.String |
getTemplateDirectory() Returns the template directory. |
java.lang.String |
getTemporaryDirectory() Returns the Reports temporary directory as defined by the REPORTS_TMP environment variable. |
java.lang.String |
getTemporaryFile(java.lang.String basename) Returns a unique temporary file in the Reports temporary directory defined by the REPORTS_TMP environment variable. |
Trace |
getTrace() Returns the trace object. |
java.lang.String |
getVersion() Returns the Reports version. |
boolean |
isInsideReportsBuilder() Returns true if the current context is running inside Reports Builder. |
boolean |
isUIAllowedNow() Returns true if the plugin is allowed to raise its UI (for example, the Connect dialog box) at this moment. |
void |
showHelpContent(java.lang.String helpSetID) Displays the help content. |
void |
showHelpTopic(java.lang.String helpSetID, java.lang.String topicID) Displays the help topic. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected oracle.reports.definition.RWReport mRWObj
protected Trace mTrace
Constructor Detail |
public ReportContext(oracle.reports.definition.RWReport rwobj, Trace trace) throws PluginException
Method Detail |
public boolean isInsideReportsBuilder() throws PluginException
public boolean isUIAllowedNow() throws PluginException
public Trace getTrace() throws PluginException
public java.lang.String findFileInReportsPath(java.lang.String filename) throws PluginException
For example:
report.findFileInREPORTS_PATH("test.rdf")
will return
d:\orawin70\report70\demo\reqfiles\test.rdf
public java.util.Locale getLocale() throws PluginException
public java.lang.String getPluginParam(java.lang.String name) throws PluginException
public void showHelpContent(java.lang.String helpSetID) throws PluginException
helpSetID
- The ID set by Iplugin.setHelpSetID().public void showHelpTopic(java.lang.String helpSetID, java.lang.String topicID) throws PluginException
helpSetID
- The ID set by Iplugin.setHelpSetID().public java.util.Hashtable getCommandLineArguments() throws PluginException
public java.lang.String getReportsDirectory() throws PluginException
public java.lang.String getConfigDirectory() throws PluginException
public java.lang.String getCacheDirectory() throws PluginException
public java.lang.String getDTDDirectory() throws PluginException
public java.lang.String getOracleHome() throws PluginException
public java.lang.String getServerDirectory() throws PluginException
public java.lang.String getTemplateDirectory() throws PluginException
public java.lang.String getTemporaryDirectory() throws PluginException
public java.lang.String getTemporaryFile(java.lang.String basename) throws PluginException
basename
- The basename for the temporary file. For ease in identifying who created a temporary file, it is recommended that you use the same basename as your help prefix. For example:public java.lang.String getVersion() throws PluginException
|
Oracle Reports Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |