|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteRptServer
| Field Summary | |
|---|---|
static java.lang.String |
REMOTE_NAME
|
| 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. |
RemoteAdminService |
getAdminService()
Get the admin service of report server. |
int |
getBuildNumber()
Get the build number of reports server. |
RemoteCatalogInfo |
getCatalogInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber)
Gets CatalogInfo of specific version of catalog. |
ClusterMonitor |
getClusterMonitor()
Get the cluster monitor. |
RemoteClusterService |
getClusterService()
Get the report cluster service. |
RemoteCompletedTaskTable |
getCompletedTaskTable()
Get CompletedTaskTable. |
RemoteDHTMLClientService |
getDHTMLClientService()
Gets RemoteDHTMLClientService. |
java.lang.String |
getDynamicClassDir()
Get the dynamic class directory of the report server. |
java.util.List |
getEngineErrors(java.lang.String resultFile)
Get the engine errors after runing a report. |
RemoteFileAccessService |
getFileAccessService()
Gets RemoteFileAccessService |
java.lang.String |
getFilenames(java.lang.String name,
int index)
This method is used for get the order index 's html filenames |
RemoteHelpAPI |
getHelpService()
Gets RemoteHelpAPI. |
java.lang.String |
getHomePath()
Get the home path of the report server. |
RemoteLargeReportManager |
getLargeReportManager()
Gets LargeReportManager. |
java.lang.String |
getLicenceExpiredDate()
Gets the expire date of the server license |
java.util.Hashtable |
getMediaTray()
Get names hashtable of printers' media tray. |
MonitorService |
getMonitorService()
Get the monitor service of the server. |
RemoteOndemandReportManager |
getOndemandReportManager()
Gets OndemandReportManager. |
java.lang.String[] |
getPaperList()
Get the print paper list. |
RemoteParameterRecorder |
getParameterRecorder()
Get the report parameter recorder for user get and set historical parameter value. |
java.util.Vector |
getPrinters()
Get names of printers. |
RemoteProfileManager |
getProfileManager()
Get the function profile manager, which is used to manage the function profiles. |
RemoteReportInfo |
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. |
RemoteReportInfo |
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. |
RemoteReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
Gets ReportInfo. |
RemoteResourceManager |
getResourceManager()
Gets ResourceManager. |
RemoteResultVersionTable |
getResultVersionTable()
Get ResultVersionTable. |
RemoteRstResultInfo |
getRstResultInfo(java.lang.String rst)
Gets RemoteRstResultInfo 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. |
RemoteSecurityWebAdaptor |
getSecurityWebAdaptor()
Gets SecurityWebAdaptor |
RemoteDHtmlAPI |
getSimpleDHtmlService()
Gets RemoteDHtmlAPI. |
RemoteTempResultOwnerManager |
getTempResultOwnerManager()
Gets TempResultOwnerManager. |
RemoteTriggerManager |
getTriggerManager()
|
RemoteUserPreferenceManager |
getUserDHTMLPreferenceManager()
Get the preference manager for user get and save his/her dhtml preference. |
RemoteUserPreferenceManager |
getUserPreferenceManager()
Get the preference manager for user get and save his/her preference. |
RemoteUserSessionManager |
getUserSessionManager()
Gets UserSessionManager. |
RemoteVersionAmountLimitTable |
getVersionAmountLimitTable()
Get VersionAmountTable. |
WebPageOptions |
getWebPageOptions()
Gets WebPageOptions. |
RemoteWebUIConfig |
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)
|
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(RemoteTempResultOwnerManager ownerMan)
Sets TempResultOwnerManager. |
void |
setUserSessionManager(RemoteUserSessionManager 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 the user ID. |
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. |
| Field Detail |
|---|
static final java.lang.String REMOTE_NAME
| Method Detail |
|---|
boolean isStarted()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
void shutdown()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
RemoteResourceManager getResourceManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.ResourceManager
RemoteSecurityWebAdaptor getSecurityWebAdaptor()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.SecurityWebAdaptor
RemoteDHtmlAPI getSimpleDHtmlService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.RemoteDHtmlAPI
RemoteDHTMLClientService getDHTMLClientService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.RemoteDHTMLClientService
RemoteFileAccessService getFileAccessService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.RemoteFileAccessService
RemoteHelpAPI getHelpService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.RemoteHelpAPI
RemoteTempResultOwnerManager getTempResultOwnerManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.TempResultOwnerManager
void setTempResultOwnerManager(RemoteTempResultOwnerManager ownerMan)
throws java.rmi.RemoteException
ownerMan - the TempResultOwnerManager.
java.rmi.RemoteException - if a RemoteException occurs.TempResultOwnerManager
RemoteUserSessionManager getUserSessionManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.UserSessionManager
void setUserSessionManager(RemoteUserSessionManager ssnMan)
throws java.rmi.RemoteException
ssnMan - the UserSessionManager.
java.rmi.RemoteException - if a RemoteException occurs.UserSessionManager
RemoteRstResultInfo getRstResultInfo(java.lang.String rst)
throws java.rmi.RemoteException
rst - the real path of the rst file. For example: c:\temp\rst.
java.rmi.RemoteException - if a RemoteException occurs.RemoteRstResultInfo
RemoteReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
throws java.rmi.RemoteException
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SunVMDemo/SunVMDemo.cat.report - the report name. For example:invoice.cls.
java.rmi.RemoteException - if a RemoteException occurs.ReportInfo
RemoteCatalogInfo getCatalogInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber)
throws java.rmi.RemoteException
userID - the user ID.catalog - the catalog path in JReport Report server. For example: /SunVMDemo/SunVMDemo.cat.catVerNumber - version number of the catalog
java.rmi.RemoteException - if a RemoteException occurs.CatalogInfo
java.lang.String submitScheduledTask(java.lang.String userID,
java.util.Properties propScheduledTask)
throws java.rmi.RemoteException,
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.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
java.lang.String runTask(java.lang.String userID,
java.util.Properties propTask)
throws java.rmi.RemoteException,
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.
java.rmi.RemoteException - if a RemoteException occurs.
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 java.rmi.RemoteException,
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.
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);
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
TooManyReportsException - if a TooManyReportsException occurs.
java.lang.String runReportNotWaitResult(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
throws java.rmi.RemoteException,
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.
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);
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
TooManyReportsException - if a TooManyReportsException occurs.
java.lang.String runReportWithTimeouts(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams,
long timeouts)
throws java.rmi.RemoteException,
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.
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.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
TooManyReportsException - if a TooManyReportsException occurs.
RemoteLargeReportManager getLargeReportManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.LargeReportManager
boolean isTempResultReady(java.lang.String tempResultName)
throws java.rmi.RemoteException,
RptServerException
tempResultName - the temporary result name.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
java.lang.String waitTempResultReady(java.lang.String tempResultName)
throws java.rmi.RemoteException,
java.lang.InterruptedException
tempResultName - the temporary result name.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
java.lang.InterruptedException
java.lang.String exportResultToOneFormat(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
throws java.rmi.RemoteException,
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".
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
ExportedFileList exportResult(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
throws java.rmi.RemoteException,
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".
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
RemoteResultVersionTable getResultVersionTable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.ResultVersionTable
java.util.Properties getScheduledTask(java.lang.String taskID)
throws java.rmi.RemoteException
taskID - the task ID.
java.rmi.RemoteException - if a RemoteException occurs.
boolean removeScheduledTask(java.lang.String taskID)
throws java.rmi.RemoteException
taskID - the task ID.
java.rmi.RemoteException - if a RemoteException occurs.
boolean enableScheduledTask(java.lang.String taskID)
throws java.rmi.RemoteException
taskID - the task ID.
java.rmi.RemoteException - if a RemoteException occurs.
boolean disableScheduledTask(java.lang.String taskID)
throws java.rmi.RemoteException
taskID - the task ID.
java.rmi.RemoteException - if a RemoteException occurs.
boolean stopActiveTask(java.lang.String taskID)
throws java.rmi.RemoteException
taskID - the task ID.
java.rmi.RemoteException - if a RemoteException occurs.
boolean stopActiveTaskByUser(java.lang.String taskID,
java.lang.String userID)
throws java.rmi.RemoteException
taskID - the task ID.userID - the user ID.
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getScheduledTasks()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getScheduledTasksByUser(java.lang.String userId)
throws java.rmi.RemoteException
userId - the submitter
java.rmi.RemoteException
java.util.Vector getActiveTasks()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getActiveTasksByUser(java.lang.String userID)
throws java.rmi.RemoteException
userID - the user ID.
java.rmi.RemoteException - if a RemoteException occurs.
RemoteCompletedTaskTable getCompletedTaskTable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.CompletedTaskTable
java.util.Vector getPrinters()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Hashtable getMediaTray()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
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 java.rmi.RemoteException,
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.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
void publishResultToVersion(java.lang.String userid,
java.util.Properties ht)
throws java.rmi.RemoteException,
RptServerException
userid - user IDht - properties of report result, include catalog name,
report name, temp result file name, parameters(if this
report has any parameter.
java.rmi.RemoteException - if a RemoteException occurs.
RptServerException - if a RptServerException occurs.
RemoteVersionAmountLimitTable getVersionAmountLimitTable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.VersionAmountTable
boolean isRunningQueue()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isTaskQueueFull(int priority)
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String saveScheduledToFile(java.lang.String[] taskid,
java.lang.String fileName,
boolean bOverWrite)
throws java.rmi.RemoteException
taskid - The taskid which task will be save to filefileName - The saved schedule task file's namebOverWrite - If Replace the exist Schedule file
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String loadScheduledFromFile(java.lang.String fileName)
throws java.rmi.RemoteException
fileName - The schedule task's fileName which will be loaded
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String saveScheduledToScriptFile(java.lang.String[] taskid)
throws java.rmi.RemoteException
taskid - The taskid which task will be save to filefileName - The saved schedule task file's namebOverWrite - If Replace the exist Schedule file
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String copySchedules(java.lang.String[] taskids,
java.lang.String user)
throws java.rmi.RemoteException
taskids - All selected schedule task id
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String deleteSchedules(java.lang.String[] taskids,
java.lang.String user)
throws java.rmi.RemoteException
taskids - All selected schedule task id
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String enableSchedules(java.lang.String[] taskids,
java.lang.String user)
throws java.rmi.RemoteException
taskids - All selected schedule task id
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String disableSchedules(java.lang.String[] taskids,
java.lang.String user)
throws java.rmi.RemoteException
taskids - All selected schedule task id
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getFilenames(java.lang.String name,
int index)
throws java.rmi.RemoteException
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
java.rmi.RemoteException - if a RemoteException occurs.
boolean canAutoRefresh(java.lang.String name)
throws java.rmi.RemoteException
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.
java.rmi.RemoteException - if a RemoteException occurs.
void setRefreshed(java.lang.String name,
boolean isRefreshed)
throws java.rmi.RemoteException
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 refreshed
java.rmi.RemoteException - if a RemoteException occurs.
boolean isHtmlPipeLine(java.lang.String name)
throws java.rmi.RemoteException
name - : the key of the html filename. For example, the key of the html filename 32646870_1.html is 32646870.
java.rmi.RemoteException
RemoteClusterService getClusterService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
RemoteAdminService getAdminService()
throws java.rmi.RemoteException
null always.
- Throws:
java.rmi.RemoteException - if a RemoteException occurs.- See Also:
jet.server.api.
MonitorService getMonitorService()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.jet.server.api.monitor.
ClusterMonitor getClusterMonitor()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isClusterEnable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
RemoteParameterRecorder getParameterRecorder()
throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteUserPreferenceManager getUserPreferenceManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
RemoteProfileManager getProfileManager()
throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteUserPreferenceManager getUserDHTMLPreferenceManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
long runTestReport(java.util.Properties ht)
throws java.rmi.RemoteException,
RptServerException
java.rmi.RemoteException
RptServerException
java.lang.String getHomePath()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getDynamicClassDir()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
int getBuildNumber()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String[] getScriptsList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String loadScriptFromFile(java.lang.String filename)
throws java.rmi.RemoteException
filename - - A String of the schedule script file name
java.rmi.RemoteException - if a RemoteException occurs.
boolean saveScriptToFile(java.lang.String script,
java.lang.String filename)
throws java.rmi.RemoteException
script - - A String object of Sheduler's script textfilename - - File name that the script will be stored.
java.rmi.RemoteException - if a RemoteException occurs.
boolean isScriptFileExist(java.lang.String filename)
throws java.rmi.RemoteException
filename - - File name that will be tested
java.rmi.RemoteException - if a RemoteException occurs.
void delScriptFile(java.lang.String filename)
throws java.rmi.RemoteException
filename - - File name that will be tested
java.rmi.RemoteException - if a RemoteException occurs.
RemoteOndemandReportManager getOndemandReportManager()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.OndemandReportReportManager
RemoteReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber)
throws java.rmi.RemoteException
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
java.rmi.RemoteException - if a RemoteException occurs.ReportInfo
RemoteReportInfo getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber,
java.util.Hashtable ht)
throws java.rmi.RemoteException
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.
java.rmi.RemoteException - if a RemoteException occurs.ReportInfo
WebPageOptions getWebPageOptions()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.WebPageOptions
java.lang.String exportScripts(java.lang.String userID,
java.lang.String[] taskIDs)
throws java.rmi.RemoteException
taskIDs: - specified tasks' IDuserID: - specified user id
java.rmi.RemoteException
java.util.Properties[] parseScripts(java.lang.String scripts)
throws java.rmi.RemoteException,
RptServerException
userID - specified user idscripts - contents of the scripts
java.rmi.RemoteException
RptServerException
RemoteTriggerManager getTriggerManager()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.Object[] submitScheduledTasks(java.lang.String userID,
java.util.Properties[] tasks)
throws java.rmi.RemoteException,
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.
RptServerException
java.rmi.RemoteException
java.lang.String[] getPaperList()
throws java.rmi.RemoteException
java.rmi.RemoteException
void init(java.util.Properties svrProps)
throws java.rmi.RemoteException
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:
java.rmi.RemoteException
void start()
throws java.rmi.RemoteException
java.rmi.RemoteException
void restart(java.util.Properties svrProps)
throws java.rmi.RemoteException
svrProps - properties of the server. These properties are related to the
implementation of RptServer.
java.rmi.RemoteException
void dumpEnginesInfo()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List getEngineErrors(java.lang.String resultFile)
throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteWebUIConfig getWebUIConfig()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isFreeVirtualAppliance()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getLicenceExpiredDate()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||