|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RptServer
RptServer is an interface for using JReport Enterprise Server. This interface defines methods to initialize a RptServer, to start/restart a RptServer, to shutdown a RptServer, to get resource info of the RptServer, to run a report, to submit a scheduled task etc.
| Method Summary | |
|---|---|
boolean |
canAutoRefresh(java.lang.String name)
This method is used for judge if the pipeline html page auto-refresh |
java.lang.String |
copySchedules(java.lang.String[] taskids,
java.lang.String user)
Copy the selected schedules tasks |
java.lang.String |
deleteSchedules(java.lang.String[] taskids,
java.lang.String user)
Delete the selected schedules tasks |
void |
delScriptFile(java.lang.String filename)
Deprecated. |
boolean |
disableScheduledTask(java.lang.String taskID)
Disable a scheduled task through the task ID. |
java.lang.String |
disableSchedules(java.lang.String[] taskids,
java.lang.String user)
Disable the selected schedules tasks |
void |
dumpEnginesInfo()
Invoke this method to dump all currently active engine's instant information (status) |
boolean |
enableScheduledTask(java.lang.String taskID)
Enable a scheduled task through the task ID. |
java.lang.String |
enableSchedules(java.lang.String[] taskids,
java.lang.String user)
Enable the selected schedules tasks |
ExportedFileList |
exportResult(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
Export a report result to RST, HTML, PDF, TEXT, Excel, XML, RTF and PS. |
java.lang.String |
exportResultToOneFormat(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
Export a report result to RST, HTML, PDF, TEXT, Excel, XML, RTF or PS. |
java.lang.String |
exportScripts(java.lang.String userID,
java.lang.String[] taskIDs)
Generate script of the specified tasks |
java.util.Vector |
getActiveTasks()
Get active tasks. |
java.util.Vector |
getActiveTasksByUser(java.lang.String userId)
Get active tasks by submitter. |
AdminService |
getAdminService()
Get the admin service of report server. |
CatalogInfo |
getCatalogInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber)
Gets CatalogInfo of specific version of catalog. |
ClusterMonitor |
getClusterMonitor()
Get the cluster monitor. |
ClusterService |
getClusterService()
Get the report cluster service. |
CompletedTaskTable |
getCompletedTaskTable()
Get CompletedTaskTable. |
DHTMLClientService |
getDHTMLClientService()
Gets DHTMLClientService. |
java.util.List |
getEngineErrors(java.lang.String resultFile)
Get the engine errors after runing a report. |
FileAccessService |
getFileAccessService()
Gets FileAccessService |
java.lang.String |
getFilenames(java.lang.String name,
int index)
This method is used for get the order index 's html filenames |
HelpAPI |
getHelpService()
Gets HelpAPI. |
LargeReportManager |
getLargeReportManager()
Gets LargeReportManager. |
java.lang.String |
getLicenceExpiredDate()
Gets the expire date of the server license |
java.util.Hashtable |
getMediaTray()
Get names of printers' media tray . |
MonitorService |
getMonitorService()
Get the monitor service of the server. |
OndemandReportManager |
getOndemandReportManager()
Gets OndemandReportManager. |
java.lang.String[] |
getPaperList()
Get the print paper list. |
ParameterRecorder |
getParameterRecorder()
Get the report parameter recorder for user get and set historical parameter value. |
java.util.Vector |
getPrinters()
Get names of printers. |
ProfileManager |
getProfileManager()
Get the function profile manager, which is used to manage the function profiles. |
ReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber)
Gets ReportInfo of specific version of catalog and report. |
ReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber,
java.util.Hashtable ht)
Gets ReportInfo of specific version of catalog and report. |
ReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
Gets ReportInfo of specific catalog and report. |
ResourceManager |
getResourceManager()
Gets ResourceManager. |
ResultVersionTable |
getResultVersionTable()
Get ResultVersionTable. |
RstResultInfo |
getRstResultInfo(java.lang.String rst)
Gets RstResultInfo of specific rst file. |
java.util.Properties |
getScheduledTask(java.lang.String taskID)
Get properties of a scheduled task through the task ID. |
java.util.Vector |
getScheduledTasks()
Get scheduled tasks. |
java.util.Vector |
getScheduledTasksByUser(java.lang.String userId)
get scheduled tasks by submitter |
java.lang.String[] |
getScriptsList()
Deprecated. |
SecurityWebAdaptor |
getSecurityWebAdaptor()
Gets SecurityWebAdaptor |
ServerEnv |
getServerEnv()
Gets ServerEnv. |
SimpleDHtmlAPI |
getSimpleDHtmlService()
Gets SimpleDHtmlAPI. |
TempResultOwnerManager |
getTempResultOwnerManager()
Gets TempResultOwnerManager. |
TriggerManager |
getTriggerManager()
|
UserPreferenceManager |
getUserDHTMLPreferenceManager()
Get the preference manager for user get and save his/her dhtml preference. |
UserPreferenceManager |
getUserPreferenceManager()
Get the preference manager for user get and save his/her preference. |
UserSessionManager |
getUserSessionManager()
Gets UserSessionManager. |
VersionAmountLimitTable |
getVersionAmountLimitTable()
Get VersionAmountTable. |
jet.server.api.ui.WebUIConfig |
getWebUIConfig()
Gets WebUIConfig |
void |
init(java.util.Properties svrProps)
Initialize RptServer. |
boolean |
isClusterEnable()
Check if this server have cluster feature. |
boolean |
isFreeVirtualAppliance()
Whether this server is free virtual appliance. |
boolean |
isHtmlPipeLine(java.lang.String name)
This method is used for judge if the temp result is the pipeline html |
boolean |
isRunningQueue()
Judge if the running report managered by a running report queue |
boolean |
isScriptFileExist(java.lang.String filename)
Deprecated. |
boolean |
isStarted()
Checks the server is started |
boolean |
isTaskQueueFull(int priority)
return whether task queue is full. |
boolean |
isTempResultReady(java.lang.String tempResultName)
Test if the temporary result is ready. |
java.lang.String |
loadScheduledFromFile(java.lang.String fileName)
load schedules tasks from a sch file |
java.lang.String |
loadScriptFromFile(java.lang.String filename)
Deprecated. |
java.util.Properties[] |
parseScripts(java.lang.String scripts)
Parse given scripts, and transfer corresponding task into Properties object. |
void |
publishResultToVersion(java.lang.String userid,
java.util.Properties ht)
Publish report result to version system when viewing report result |
boolean |
removeScheduledTask(java.lang.String taskID)
Remove a scheduled task through the task ID. |
void |
restart(java.util.Properties svrProps)
Restart the RptServer. |
java.lang.String |
runReport(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
Run a report immediately. |
java.lang.String |
runReportNotWaitResult(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
Run a report. |
java.lang.String |
runReportWithTimeouts(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams,
long timeouts)
Run a report immediately with timeouts. |
java.lang.String |
runTask(java.lang.String userID,
java.util.Properties propTask)
Run a task immediately and return the completed task ID. |
long |
runTestReport(java.util.Properties ht)
run test report |
java.lang.String |
saveScheduledToFile(java.lang.String[] taskid,
java.lang.String fileName,
boolean bOverWrite)
Save schedules tasks to a sch file |
java.lang.String |
saveScheduledToScriptFile(java.lang.String[] taskid)
Deprecated. |
boolean |
saveScriptToFile(java.lang.String script,
java.lang.String filename)
Deprecated. |
void |
setJDBCConnection(java.lang.String userID,
java.lang.String catalog,
java.lang.String jdbcURL,
java.lang.String dbUser,
java.lang.String dbPswd,
java.lang.String jdbcDriver)
Deprecated. Replaced by properties jrs.jdbc_url, jrs.jdbc_driver and jrs.jdbc_connection_object for running report. |
void |
setRefreshed(java.lang.String name,
boolean isRefreshed)
This method is used for set the first pipeline html page refreshed |
void |
setTempResultOwnerManager(TempResultOwnerManager ownerMan)
Sets TempResultOwnerManager. |
void |
setUserSessionManager(UserSessionManager ssnMan)
Sets UserSessionManager. |
void |
shutdown()
Shutdown the RptServer. |
void |
start()
Starts the RptServer. |
boolean |
stopActiveTask(java.lang.String taskID)
Stop a scheduled task with the task ID. |
boolean |
stopActiveTaskByUser(java.lang.String taskID,
java.lang.String userId)
Stop a scheduled task with the task ID and submitter. |
java.lang.String |
submitScheduledTask(java.lang.String userID,
java.util.Properties propScheduledTask)
Submit a scheduled task and return the task ID. |
java.lang.Object[] |
submitScheduledTasks(java.lang.String userID,
java.util.Properties[] tasks)
Submit set of schedule task and return the task ID or Exception. |
java.lang.String |
waitTempResultReady(java.lang.String tempResultName)
Wait the temporary result to be ready and return the error message. |
| Method Detail |
|---|
void init(java.util.Properties svrProps)
svrProps - properties of the server. These properties related to the
implemetation of the RptServer.
For the jet.server.jrserver.JRRptServer of Jinfonet's implementation.
The property "reporthome" must be set.
Other properties are optional. The properties are:
void start()
boolean isStarted()
void restart(java.util.Properties svrProps)
svrProps - properties of the server. These properties are related to the
implementation of RptServer.void shutdown()
ServerEnv getServerEnv()
ServerEnvResourceManager getResourceManager()
ResourceManagerSecurityWebAdaptor getSecurityWebAdaptor()
SecurityWebAdaptorSimpleDHtmlAPI getSimpleDHtmlService()
SimpleDHtmlAPIDHTMLClientService getDHTMLClientService()
DHTMLClientServiceFileAccessService getFileAccessService()
FileAccessServiceHelpAPI getHelpService()
HelpAPITempResultOwnerManager getTempResultOwnerManager()
TempResultOwnerManagerLargeReportManager getLargeReportManager()
LargeReportManagervoid setTempResultOwnerManager(TempResultOwnerManager ownerMan)
ownerMan - the TempResultOwnerManager.TempResultOwnerManagerUserSessionManager getUserSessionManager()
UserSessionManagervoid setUserSessionManager(UserSessionManager ssnMan)
ssnMan - the UserSessionManager.UserSessionManagerRstResultInfo getRstResultInfo(java.lang.String rst)
rst - the real path of the rst file. For example: c:\temp\rst.
RstResultInfo
ReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SampleReports/SampleReports.cat.report - the report name. For example: /SampleReports/CustomerAnalysis.cls.
ReportInfo
CatalogInfo getCatalogInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber)
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SampleReports/SampleReports.cat.catVerNumber - version number of the catalog
CatalogInfo
ReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber)
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SampleReports/SampleReports.cat.catVerNumber - version number of the catalogreport - the report name. For example:/SampleReports/CustomerAnalysis.cls.rptVerNumber - versin number of the report
ReportInfo
ReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber,
java.util.Hashtable ht)
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SampleReports/SampleReports.cat.catVerNumber - version number of the catalogreport - the report name. For example:/SampleReports/CustomerAnalysis.cls.rptVerNumber - versin number of the reportht - a hashtable contains some additional properties such as catalog DB connection information.
ReportInfo
java.lang.String submitScheduledTask(java.lang.String userID,
java.util.Properties propScheduledTask)
throws RptServerException
userID - the user ID.propScheduledTask - the properties of the scheduled task. Please see the file
"INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm" for the instruction of the scheduled task properties.
RptServerException - if a RptServerException occurs.
java.lang.String runTask(java.lang.String userID,
java.util.Properties propTask)
throws RptServerException
userID - the user ID.propTask - the properties of the task. Please see the file
"INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm" for the instruction of the task properties.
RptServerException - if a RptServerException occurs.
java.lang.String runReport(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
throws RptServerException,
TooManyReportsException
userID - the user ID.catalog - the catalog path in the report server. For example:/SunVMDemo/SunVMDemo.cat.report - the report name. For example:invoice.cls.propParams - the properties that contains APIConst.TAG_WHERE_PORTION, APIConst.TAG_NAMED_WHERE_PORTION,
APIConst.TAG_WHERE_CLAUSE, APIConst.TAG_USE_DEF_DB_USER, APIConst.TAG_USE_NEW_DB_PSWD,
APIConst.TAG_DB_USER, APIConst.TAG_DB_PSWD, APIConst.TAG_JDBC_URL,
APIConst.TAG_JDBC_DRIVER, APIConst.TAG_JDBC_CONNECTION_OBJECT and
the parameter values of the report.
For each report parameter in the properties, the key is APIConst.TAG_PARAM_PREFIX + PARAMETER_NAME,
the value is the value of the parameter. if the parameter is support multiple choice, then the property value
must be a array consist of values of the parameter.
Example: Running a report with user's JDBC connection object(APIConst.TAG_JDBC_CONNECTION_OBJECT).
//creates the java.sql.Connection object.
java.sql.Connection myCon = java.sql.DriverManager.getConnection(dbUrl);
//set the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report.
propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon);
//run the report using this java.sql.Connection object instead of
//the default DB settings in the catalog.
rptServer.runReport(userID, catalog, report, propParams);
RptServerException - if a RptServerException occurs.
TooManyReportsException
java.lang.String runReportNotWaitResult(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
throws RptServerException,
TooManyReportsException
userID - the user ID.catalog - the catalog path in the report server. For example: /SunVMDemo/SunVMDemo.cat.report - the report name. For example: invoice.cls.propParams - the properties that contain APIConst.TAG_WHERE_PORTION, APIConst.TAG_NAMED_WHERE_PORTION,
APIConst.TAG_WHERE_CLAUSE, APIConst.TAG_USE_DEF_DB_USER, APIConst.TAG_USE_NEW_DB_PSWD,
APIConst.TAG_DB_USER, APIConst.TAG_DB_PSWD, APIConst.TAG_JDBC_URL,
APIConst.TAG_JDBC_DRIVER, APIConst.TAG_JDBC_CONNECTION_OBJECT and the parameter values of the report.
For each report parameter in the properties, the key is APIConst.TAG_PARAM_PREFIX + PARAMETER_NAME,
the value is the value of the paramter. if the parameter is support multiple choice, then the property value
must be a array consist of values of the parameter.
Example: Running a report with user's JDBC connection object(APIConst.TAG_JDBC_CONNECTION_OBJECT).
//creates the java.sql.Connection object.
java.sql.Connection myCon = java.sql.DriverManager.getConnection(dbUrl);
//set the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report.
propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon);
//run the report using this java.sql.Connection object instead of
//the default DB settings in the catalog.
rptServer.runReportNotWaitResult(userID, catalog, report, propParams);
RptServerException - if a RptServerException occurs.
TooManyReportsException
java.lang.String runReportWithTimeouts(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams,
long timeouts)
throws RptServerException,
TooManyReportsException
userID - the user ID.catalog - the catalog path in the report server. For example: /SunVMDemo/SunVMDemo.cat.report - the report name. For example: invoice.cls.propParams - the properties that contain APIConst.TAG_WHERE_PORTION, APIConst.TAG_NAMED_WHERE_PORTION,
APIConst.TAG_WHERE_CLAUSE, APIConst.TAG_USE_DEF_DB_USER, APIConst.TAG_USE_NEW_DB_PSWD,
APIConst.TAG_DB_USER, APIConst.TAG_DB_PSWD, APIConst.TAG_JDBC_URL,
APIConst.TAG_JDBC_DRIVER, APIConst.TAG_JDBC_CONNECTION_OBJECT and the parameter values of the report.
For each report parameter in the properties, the key is APIConst.TAG_PARAM_PREFIX + PARAMETER_NAME,
the value is the value of the paramter. if the parameter is support multiple choice, then the property value
must be a array consist of values of the parameter.
Example: Running a report with user's JDBC connection object(APIConst.TAG_JDBC_CONNECTION_OBJECT).
//creates the java.sql.Connection object.
java.sql.Connection myCon = java.sql.DriverManager.getConnection(dbUrl);
//set the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report.
propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon);
//run the report using this java.sql.Connection object instead of
//the default DB settings in the catalog.
rptServer.runReportWithTimeouts(userID, catalog, report, propParams, jet.server.api.http.HttpUtil.getReportWaitTimeouts());
timeouts - the timeouts in millisecond.
RptServerException - if a RptServerException occurs.
TooManyReportsException
boolean isTempResultReady(java.lang.String tempResultName)
throws RptServerException
tempResultName - the temporary result name.
RptServerException - if a RptServerException occurs.
java.lang.String waitTempResultReady(java.lang.String tempResultName)
throws java.lang.InterruptedException
tempResultName - the temporary result name.
java.lang.InterruptedException - if an InterruptedException occurs.
java.lang.String exportResultToOneFormat(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
throws RptServerException
userID - the user ID.resultFileName - the real filename of the result. For example: c:\jrserver\temp\18238181130.temp.props - the properties that contains APIConst.TAG_RESULT_TYPE. About properties for each result type,
please see the document "INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm".
RptServerException - if a RptServerException occurs.
ExportedFileList exportResult(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
throws RptServerException
userID - the user ID.resultFileName - the real filename of the result. For example: c:\jrserver\temp\18238181130.temp.props - the properties APIConst.TAG_RST, APIConst.TAG_PDF,
APIConst.TAG_TEXT, APIConst.TAG_EXCEL and APIConst.TAG_PS. Value of these properties is true or false.
The properties APIConst.TAG_HTML, APIConst.TAG_XML and APIConst.TAG_RTF. Value of these properties is filename without path(for example: invoice and invoice.rtf).
About properties for each result type,
please see the document "INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm".
RptServerException - if a RptServerException occurs.ResultVersionTable getResultVersionTable()
ResultVersionTablejava.util.Properties getScheduledTask(java.lang.String taskID)
taskID - the task ID.
boolean removeScheduledTask(java.lang.String taskID)
taskID - the task ID.
boolean enableScheduledTask(java.lang.String taskID)
taskID - the task ID.
boolean disableScheduledTask(java.lang.String taskID)
taskID - the task ID.
boolean stopActiveTask(java.lang.String taskID)
taskID - the task ID.
boolean stopActiveTaskByUser(java.lang.String taskID,
java.lang.String userId)
taskID - the task ID.userId - the submitter
java.util.Vector getScheduledTasks()
java.util.Vector getScheduledTasksByUser(java.lang.String userId)
userId - the submitter
java.util.Vector getActiveTasks()
jet.server.api.ActiveTaskRecord objects. Each
ActiveTaskRecord object contains information of an active task in
report server.ActiveTaskRecordjava.util.Vector getActiveTasksByUser(java.lang.String userId)
userId - the submitter
jet.server.api.ActiveTaskRecord objects. Each
ActiveTaskRecord object contains information of an active task in
report server.ActiveTaskRecordCompletedTaskTable getCompletedTaskTable()
CompletedTaskTablejava.util.Vector getPrinters()
java.util.Hashtable getMediaTray()
void setJDBCConnection(java.lang.String userID,
java.lang.String catalog,
java.lang.String jdbcURL,
java.lang.String dbUser,
java.lang.String dbPswd,
java.lang.String jdbcDriver)
throws RptServerException
userID - the user ID.jdbcURL - the URL of the JDBC connection. The value null means that the value is not changed.dbUser - the user ID of the JDBC connection. The value null means that the value is not changed.dbPswd - the password of the JDBC connection. The value null means that the value is not changed.jdbcDriver - the JDBC dirver of the JDBC connection. The value null means that the value is not changed.
RptServerException - if a RptServerException occurs.
void publishResultToVersion(java.lang.String userid,
java.util.Properties ht)
throws RptServerException
userid - user IDht - properties of report result, include catalog name,
report name, temp result file name, parameters(if this
report has any parameter.
RptServerException - if a RptServerException occurs.VersionAmountLimitTable getVersionAmountLimitTable()
VersionAmountTableboolean isRunningQueue()
boolean isTaskQueueFull(int priority)
java.lang.String saveScheduledToFile(java.lang.String[] taskid,
java.lang.String fileName,
boolean bOverWrite)
taskid - The taskid which task will be save to filefileName - The saved schedule task file's namebOverWrite - If Replace the exist Schedule file
java.lang.String loadScheduledFromFile(java.lang.String fileName)
fileName - The schedule task's fileName which will be loaded
java.lang.String saveScheduledToScriptFile(java.lang.String[] taskid)
taskid - The taskid which task will be save to filefileName - The saved schedule task file's namebOverWrite - If Replace the exist Schedule file
java.lang.String copySchedules(java.lang.String[] taskids,
java.lang.String user)
taskids - All selected schedule task id
java.lang.String deleteSchedules(java.lang.String[] taskids,
java.lang.String user)
taskids - All selected schedule task id
java.lang.String enableSchedules(java.lang.String[] taskids,
java.lang.String user)
taskids - All selected schedule task id
java.lang.String disableSchedules(java.lang.String[] taskids,
java.lang.String user)
taskids - All selected schedule task id
java.lang.String getFilenames(java.lang.String name,
int index)
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.index - : the order of the html file name
boolean canAutoRefresh(java.lang.String name)
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.
void setRefreshed(java.lang.String name,
boolean isRefreshed)
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.isRefreshed - the first pipeline html page if or not refreshedboolean isHtmlPipeLine(java.lang.String name)
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.
ClusterService getClusterService()
AdminService getAdminService()
RptServer instance is a remote wrapped server, which
is gotten by calling RemoteReportServerToolkit, this method will
throw UnsupportedOperationException always, for remote server API does not support administration functions.jet.server.api.MonitorService getMonitorService()
jet.server.api.monitor.ClusterMonitor getClusterMonitor()
boolean isClusterEnable()
ParameterRecorder getParameterRecorder()
UserPreferenceManager getUserPreferenceManager()
UserPreferenceManager getUserDHTMLPreferenceManager()
ProfileManager getProfileManager()
long runTestReport(java.util.Properties ht)
throws RptServerException
ht - run report needed infos, such as report, catalog and
submitter, etc.
RptServerExceptionjava.lang.String[] getScriptsList()
java.lang.String loadScriptFromFile(java.lang.String filename)
filename - - A String of the schedule script file name
boolean saveScriptToFile(java.lang.String script,
java.lang.String filename)
script - - A String object of Sheduler's script textfilename - - File name that the script will be stored.
boolean isScriptFileExist(java.lang.String filename)
filename - - File name that will be tested
void delScriptFile(java.lang.String filename)
filename - - File name that will be testedOndemandReportManager getOndemandReportManager()
OndemandReportReportManager
java.lang.String exportScripts(java.lang.String userID,
java.lang.String[] taskIDs)
taskIDs: - specified tasks' IDuserID: - specified user id
java.util.Properties[] parseScripts(java.lang.String scripts)
throws RptServerException
userID - specified user idscripts - contents of the scripts
RptServerExceptionTriggerManager getTriggerManager()
java.lang.Object[] submitScheduledTasks(java.lang.String userID,
java.util.Properties[] tasks)
throws RptServerException
userID - the user ID.tasks - An array of Properties, each Properties object in the array describes a task. Please see the file
"INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm" for the instruction of the scheduled task properties.
RptServerExceptionjava.lang.String[] getPaperList()
void dumpEnginesInfo()
java.util.List getEngineErrors(java.lang.String resultFile)
jet.server.api.ui.WebUIConfig getWebUIConfig()
WebUIConfigboolean isFreeVirtualAppliance()
java.lang.String getLicenceExpiredDate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||