public interface RemoteRptServer
extends java.rmi.Remote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REMOTE_NAME
Constant for specifying the remote report server name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAutoRefresh(java.lang.String name)
This method is used for determining if the pipeline html page auto-refreshes.
|
java.lang.String |
copySchedules(java.lang.String[] taskids,
java.lang.String user)
Copies the selected scheduled tasks.
|
java.lang.String |
deleteCCDSchedules(java.util.Vector taskids,
java.lang.String user)
Deletes the selected Cached Connection Data (CCD) schedules.
|
java.lang.String |
deleteCRDSchedules(java.util.Vector taskids,
java.lang.String user)
Deletes the selected CRD schedules.
|
java.lang.String |
deleteCubeSchedules(java.util.Vector taskids,
java.lang.String user)
Deletes the selected cube schedules.
|
java.lang.String |
deleteSchedules(java.lang.String[] taskids,
java.lang.String user)
Deletes the selected scheduled tasks.
|
void |
delScriptFile(java.lang.String filename)
Deprecated.
|
boolean |
disableScheduledTask(java.lang.String taskID)
Disables a scheduled task by the task ID.
|
java.lang.String |
disableSchedules(java.lang.String[] taskids,
java.lang.String user)
Disables the selected scheduled tasks.
|
void |
dumpEnginesInfo()
Invokes this method to dump all currently active engines' instant information (status).
|
boolean |
enableScheduledTask(java.lang.String taskID)
Enables a scheduled task by the task ID.
|
java.lang.String |
enableSchedules(java.lang.String[] taskids,
java.lang.String user)
Enables the selected scheduled tasks.
|
ExportedFileList |
exportResult(java.lang.String userID,
java.lang.String resultFileName,
java.util.Properties props)
Exports 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)
Exports 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)
Generates the script of the specified tasks.
|
java.util.Vector |
getActiveTasks()
Gets the active tasks.
|
java.util.Vector |
getActiveTasksByUser(java.lang.String userID)
Gets the active tasks.
|
RemoteAdminService |
getAdminService()
Gets the admin service of the report server.
|
RemoteAliasMappingManager |
getAliasMappingManager()
Gets the alias mapping manager object associated with this server.
|
RemoteBookmarkManager |
getBookmarkManager()
Gets the BookmarkManager instance.
|
int |
getBuildNumber()
Gets the build number of reports server.
|
RemoteCatalogInfo |
getCatalogInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber)
Gets the
RemoteCatalogInfo of the specific version of the catalog. |
RemoteCCDManager |
getCCDManager()
Gets the CCD manager.
|
java.util.Properties |
getCCDTask(java.lang.String taskID)
Gets the properties of a CCD task using the specified task ID.
|
ClusterMonitor |
getClusterMonitor()
Gets the cluster monitor.
|
RemoteClusterService |
getClusterService()
Gets the report cluster service.
|
RemoteCompletedTaskTable |
getCompletedTaskTable()
Gets the
RemoteCompletedTaskTable object associated with this server. |
RemoteCRDManager |
getCRDManager()
Gets the CRD manager object associated with this server.
|
java.util.Properties |
getCRDTask(java.lang.String taskID)
Gets the properties of a CRD task by the task ID.
|
RemoteCubeManager |
getCubeManager()
Get the cube manager.
|
java.util.Properties |
getCubeTask(java.lang.String taskID)
Gets the properties of a cube task using the specified task ID.
|
java.util.GregorianCalendar |
getCurrentCalendar()
Gets the current calendar object associated with this server.
|
RemoteDashboardListenerManager |
getDashboardListenerManager()
Gets the Dashboard listener Manager.
|
RemoteDHTMLClientService |
getDHTMLClientService()
Gets the
RemoteDHTMLClientService object associate with this server. |
java.lang.String |
getDynamicClassDir()
Gets the dynamic class directory of the report server.
|
RemoteDynamicConnectionService |
getDynamicConnectionService()
Gets the DynamicConnection Service.
|
java.util.List |
getEngineErrors(java.lang.String resultFile)
Gets the engine errors after running a report.
|
java.lang.String |
getFilenames(java.lang.String name,
int index)
This method is used for getting the order index's html file names.
|
RemoteGlobalNLSLibrary |
getGlobalNLSLibrary()
Gets the Global NLS Library object associated with this server.
|
RemoteGlobalSearcher |
getGlobalSearcher(java.lang.String userId,
java.util.Locale locale) |
RemoteHelpAPI |
getHelpService()
Gets the
RemoteHelpAPI object associate with this server. |
java.lang.String |
getHomePath()
Gets the home path of the report server.
|
RemoteInformationBusManager |
getInformationBusManager()
Gets the InformationBusManager
|
RemoteInteractiveReportTaskService |
getInteractiveReportTaskService()
Gets the InteractiveReport task service.
|
RemoteLargeReportManager |
getLargeReportManager()
Deprecated.
As of v8, replaced by
getOndemandReportManager() |
java.lang.String |
getLicenceExpiredDate()
Gets the expired date of the server license.
|
java.util.Hashtable |
getMediaTray()
Gets the names hashtable of printers' media tray.
|
MonitorService |
getMonitorService()
Gets the monitor service of the server.
|
RemoteNLSLibraryManager |
getNLSLibraryManager()
Gets the NLSLibraryManager
|
RemoteOndemandReportManager |
getOndemandReportManager()
Gets the
RemoteOndemandReportManager object associated with this server. |
RemotePageHelper |
getPageHelper(int helperId)
Gets the page helper
|
RemotePageHelper |
getPageHelper(PageHelperType type,
java.lang.String userId)
Gets the NLS manager for server resource names
|
java.lang.String[] |
getPaperList()
Gets the print paper list.
|
RemoteParameterRecorder |
getParameterRecorder()
Gets the report parameter recorder for user to get and set historical parameter value.
|
java.util.Vector |
getPrinters()
Gets the names of printers.
|
RemoteProfileManager |
getProfileManager()
Gets the function profile manager, which is used to manage the function profiles.
|
RemotePropertySearcher |
getPropertySearcher() |
RemoteReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
int catVerNumber,
java.lang.String report,
int rptVerNumber)
Gets the
RemoteReportInfo of the specific version of the 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 the
RemoteReportInfo of the specific version of the catalog and report. |
RemoteReportInfo |
getReportInfo(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
Gets the
RemoteReportInfo object associate with this server. |
RemoteResourceManager |
getResourceManager()
Deprecated.
As of v17.1, replaced by
getResourceManagerJDK14() due to java 14 removes Permission. |
RemoteResourceManagerJDK14 |
getResourceManagerJDK14()
Gets the
RemoteResourceManagerJDK14 object associated with this server. |
RemoteResourceNLSManager |
getResourceNLSManager()
Gets the NLS manager for server resource names
|
RemoteResultVersionTable |
getResultVersionTable()
Gets the
RemoteResultVersionTable object associated with this server. |
RemoteRstResultInfo |
getRstResultInfo(java.lang.String rst)
Gets the RemoteRstResultInfo of the specific rst file.
|
java.util.Vector |
getSchedCCDTasks()
Gets the scheduled CCD tasks.
|
java.util.Vector |
getSchedCCDTasksByUser(java.lang.String userId)
Gets the scheduled CCD tasks by submitter.
|
java.util.Vector |
getSchedCRDTasks()
Gets the scheduled CRD tasks.
|
java.util.Vector |
getSchedCRDTasksByUser(java.lang.String userId)
Gets the scheduled CRD tasks by submitter.
|
java.util.Vector |
getSchedCubeTasks()
Gets the scheduled cube tasks.
|
java.util.Vector |
getSchedCubeTasksByUser(java.lang.String userId)
Gets the scheduled cube tasks by submitter.
|
java.util.Properties |
getScheduledTask(java.lang.String taskID)
Gets the properties of a scheduled task by the task ID.
|
java.util.Vector |
getScheduledTasks()
Gets the scheduled tasks.
|
java.util.Vector |
getScheduledTasksByUser(java.lang.String userId)
Gets the scheduled tasks by submitter.
|
java.lang.String[] |
getScriptsList()
Deprecated.
|
RemoteSecurityWebAdaptor |
getSecurityWebAdaptor()
Gets the
RemoteSecurityWebAdaptor object associated with this server. |
RemoteServiceManager |
getServiceManager()
Gets the Service Manager object associated with this server.
|
RemoteDHtmlAPI |
getSimpleDHtmlService()
Gets the
RemoteDHtmlAPI object associated with this server. |
SystemPerformanceInfo |
getSystemPerformanceInfo()
Gets the System Performance information.
|
RemoteTargetServerManager |
getTargetServerManager()
Gets the TargetServerManager instance.
|
RemoteTaskAuditor |
getTaskAuditor() |
RemoteTempResultOwnerManager |
getTempResultOwnerManager()
Gets the
RemoteTempResultOwnerManager object associate with this server. |
RemoteTriggerManager |
getTriggerManager()
Gets a
RemoteTriggerManager object associated with this server. |
RemoteUserPreferenceManager |
getUserDHTMLPreferenceManager()
Gets the preference manager for user to get and save his/her dhtml preference.
|
RemoteUserPreferenceManager |
getUserPreferenceManager()
Gets the preference manager for user to get and save his/her preference.
|
RemoteUserSessionManager |
getUserSessionManager()
Gets the
UserSessionManager object associate with this server. |
RemoteVersionAmountLimitTable |
getVersionAmountLimitTable()
Gets the
RemoteVersionAmountLimitTable object associated with this server. |
WebPageOptions |
getWebPageOptions()
Gets the
WebPageOptions object associated with this server. |
RemoteWebUIConfig |
getWebUIConfig()
Gets the
WebUIConfig object associated with this server. |
void |
init(java.util.Properties svrProps)
Initializes the RptServer.
|
boolean |
isClusterEnable()
Checks if this server has the cluster feature.
|
boolean |
isFreeVirtualAppliance()
Checks whether this server is free virtual appliance.
|
boolean |
isHtmlPipeLine(java.lang.String name)
This method is used for determining if the temp result is the pipeline html.
|
boolean |
isRunningQueue()
Determines if the running report is managed by a running report queue
|
boolean |
isScriptFileExist(java.lang.String filename)
Deprecated.
|
boolean |
isStarted()
Checks whether the server has started
|
boolean |
isTaskQueueFull(int priority)
Returns whether the task queue is full.
|
boolean |
isTempResultReady(java.lang.String tempResultName)
Tests if the temporary result is ready.
|
java.lang.String |
loadScheduledFromFile(java.lang.String fileName)
Loads the scheduled tasks from a sch file.
|
java.lang.String |
loadScriptFromFile(java.lang.String filename)
Deprecated.
|
java.util.Properties[] |
parseScripts(java.lang.String scripts)
Parses the given scripts, and transfers the corresponding task into Properties object.
|
void |
publishResultToVersion(java.lang.String userid,
java.util.Properties ht)
Publishes the report result to version system when viewing report result.
|
boolean |
removeScheduledTask(java.lang.String taskID)
Removes a scheduled task by the task ID.
|
void |
restart(java.util.Properties svrProps)
Restarts the RptServer.
|
java.lang.String |
runReport(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
Runs a report immediately.
|
java.lang.String |
runReportNotWaitResult(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams)
Runs a report.
|
java.lang.String |
runReportWithTimeouts(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.util.Properties propParams,
long timeouts)
Runs a report immediately with timeouts.
|
java.lang.String |
runTask(java.lang.String userID,
java.util.Properties propTask)
Runs a task immediately and returns the completed task ID.
|
long |
runTestReport(java.util.Properties ht)
Runs test report.
|
java.lang.String |
saveScheduledToFile(java.lang.String[] taskid,
java.lang.String fileName,
boolean bOverWrite)
Saves the scheduled 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 setting whether the first pipeline html page is refreshed.
|
void |
setTempResultOwnerManager(RemoteTempResultOwnerManager ownerMan)
Sets the
RemoteTempResultOwnerManager object associate with this server. |
void |
setUserSessionManager(RemoteUserSessionManager ssnMan)
Sets the
RemoteUserSessionManager object associate with this server. |
void |
shutdown()
Shuts down the report server.
|
void |
start()
Starts the RptServer.
|
boolean |
stopActiveTask(java.lang.String taskID)
Stops a scheduled task by the task ID.
|
boolean |
stopActiveTaskByUser(java.lang.String taskID,
java.lang.String userID)
Stops a scheduled task by the task ID and the user ID.
|
java.lang.String |
submitScheduledTask(java.lang.String userID,
java.util.Properties propScheduledTask)
Submits a scheduled task and returns the task ID.
|
java.lang.Object[] |
submitScheduledTasks(java.lang.String userID,
java.util.Properties[] tasks)
Submits scheduled tasks and returns the task ID or Exception.
|
java.lang.String |
waitTempResultReady(java.lang.String tempResultName)
Waits the temporary result to be ready and returns the error message.
|
static final java.lang.String REMOTE_NAME
boolean isStarted() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void shutdown() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteResourceManager getResourceManager() throws java.rmi.RemoteException
getResourceManagerJDK14()
due to java 14 removes Permission.RemoteResourceManager
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteResourceManager
RemoteResourceManagerJDK14 getResourceManagerJDK14() throws java.rmi.RemoteException
RemoteResourceManagerJDK14
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteResourceManager
RemoteSecurityWebAdaptor getSecurityWebAdaptor() throws java.rmi.RemoteException
RemoteSecurityWebAdaptor
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteSecurityWebAdaptor
RemoteDHtmlAPI getSimpleDHtmlService() throws java.rmi.RemoteException
RemoteDHtmlAPI
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteDHtmlAPI
RemoteDHTMLClientService getDHTMLClientService() throws java.rmi.RemoteException
RemoteDHTMLClientService
object associate with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteDHTMLClientService
RemoteHelpAPI getHelpService() throws java.rmi.RemoteException
RemoteHelpAPI
object associate with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteHelpAPI
RemoteTempResultOwnerManager getTempResultOwnerManager() throws java.rmi.RemoteException
RemoteTempResultOwnerManager
object associate with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteTempResultOwnerManager
void setTempResultOwnerManager(RemoteTempResultOwnerManager ownerMan) throws java.rmi.RemoteException
RemoteTempResultOwnerManager
object associate with this server.ownerMan
- the RemoteTempResultOwnerManager.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteTempResultOwnerManager
RemoteUserSessionManager getUserSessionManager() throws java.rmi.RemoteException
UserSessionManager
object associate with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.UserSessionManager
void setUserSessionManager(RemoteUserSessionManager ssnMan) throws java.rmi.RemoteException
RemoteUserSessionManager
object associate with this server.ssnMan
- the RemoteUserSessionManager.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.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 communication-related error occurs during RMI call execution.RstResultInfo
RemoteReportInfo getReportInfo(java.lang.String userID, java.lang.String catalog, java.lang.String report) throws java.rmi.RemoteException
RemoteReportInfo
object associate with this server.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 communication-related error occurs during RMI call execution.RemoteReportInfo
RemoteCatalogInfo getCatalogInfo(java.lang.String userID, java.lang.String catalog, int catVerNumber) throws java.rmi.RemoteException
RemoteCatalogInfo
of the specific version of the catalog.userID
- the user ID.catalog
- the catalog path in JReport Report server, for example, /SunVMDemo/SunVMDemo.cat.catVerNumber
- the version number of the catalogjava.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCatalogInfo
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.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an 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.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an 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 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.Example: Running a report with the 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); //sets the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report. propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon); //runs 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 communication-related error occurs during RMI call execution.RptServerException
- if an 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.Example: Running a report with the 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); //sets the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report. propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon); //runs 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 communication-related error occurs during RMI call execution.RptServerException
- if an 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 parameter.
Example: Running a report with the 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); //sets the parameter APIConst.TAG_JDBC_CONNECTION_OBJECT(jrs.jdbc_connection_object) to run a report. propParams.put(APIConst.TAG_JDBC_CONNECTION_OBJECT, myCon); //runs 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 milliseconds.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an RptServerException occurs.TooManyReportsException
- if a TooManyReportsException occurs.RemoteLargeReportManager getLargeReportManager() throws java.rmi.RemoteException
getOndemandReportManager()
RemoteLargeReportManager
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteLargeReportManager
boolean isTempResultReady(java.lang.String tempResultName) throws java.rmi.RemoteException, RptServerException
tempResultName
- the temporary result name.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an 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 communication-related error occurs during RMI call execution.RptServerException
- if an 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 file name of the result, for example, c:\jrserver\temp\18238181130.temp.props
- the properties that contain APIConst.TAG_RESULT_TYPE.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an 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 file name 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. java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an RptServerException occurs.RemoteResultVersionTable getResultVersionTable() throws java.rmi.RemoteException
RemoteResultVersionTable
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteResultVersionTable
java.util.Properties getScheduledTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean removeScheduledTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean enableScheduledTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean disableScheduledTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean stopActiveTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.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 communication-related error occurs during RMI call execution.java.util.Vector getScheduledTasks() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getScheduledTasksByUser(java.lang.String userId) throws java.rmi.RemoteException
userId
- the submitterjava.rmi.RemoteException
java.util.Vector getActiveTasks() throws java.rmi.RemoteException
jet.server.api.ActiveTaskRecord
objects. Each
ActiveTaskRecord object contains information of an active task in
the report server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getActiveTasksByUser(java.lang.String userID) throws java.rmi.RemoteException
userID
- the user ID.jet.server.api.ActiveTaskRecord
objects. Each
ActiveTaskRecord object contains information of an active task in
the report server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCompletedTaskTable getCompletedTaskTable() throws java.rmi.RemoteException
RemoteCompletedTaskTable
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCompletedTaskTable
java.util.Vector getPrinters() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Hashtable getMediaTray() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.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 driver of the JDBC connection. The value null means that the value is not changed.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an RptServerException occurs.void publishResultToVersion(java.lang.String userid, java.util.Properties ht) throws java.rmi.RemoteException, RptServerException
userid
- user ID.ht
- the properties of report result, including catalog name,
report name, temp result file name, parameters if this
report has any parameter.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RptServerException
- if an RptServerException occurs.RemoteVersionAmountLimitTable getVersionAmountLimitTable() throws java.rmi.RemoteException
RemoteVersionAmountLimitTable
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteVersionAmountLimitTable
boolean isRunningQueue() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isTaskQueueFull(int priority) throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String saveScheduledToFile(java.lang.String[] taskid, java.lang.String fileName, boolean bOverWrite) throws java.rmi.RemoteException
taskid
- The taskid to specify which task will be saved to file.fileName
- The saved scheduled task file's name.bOverWrite
- whether to replace the existing Scheduled file.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String loadScheduledFromFile(java.lang.String fileName) throws java.rmi.RemoteException
fileName
- The scheduled task's fileName which will be loaded.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String saveScheduledToScriptFile(java.lang.String[] taskid) throws java.rmi.RemoteException
taskid
- The taskid to specify which task will be saved to file.fileName
- The saved scheduled task file's name.bOverWrite
- If Replace the exist Scheduled file.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String copySchedules(java.lang.String[] taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected scheduled task ids.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String deleteSchedules(java.lang.String[] taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected scheduled task ids.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String enableSchedules(java.lang.String[] taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected scheduled task ids.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String disableSchedules(java.lang.String[] taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected scheduled task ids.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String getFilenames(java.lang.String name, int index) throws java.rmi.RemoteException
name
- the key of the html file name, for example, the key of the html file name 32646870_1.html is 32646870.index
- the order of the html file name.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean canAutoRefresh(java.lang.String name) throws java.rmi.RemoteException
name
- the key of the html file name, for example, the key of the html file name 32646870_1.html is 32646870.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setRefreshed(java.lang.String name, boolean isRefreshed) throws java.rmi.RemoteException
name
- the key of the html file name, for example, the key of the html file name 32646870_1.html is 32646870.isRefreshed
- whether the first pipeline html page is refreshed.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isHtmlPipeLine(java.lang.String name) throws java.rmi.RemoteException
name
- the key of the html file name, for example, the key of the html file name 32646870_1.html is 32646870.java.rmi.RemoteException
RemoteClusterService getClusterService() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteAdminService getAdminService() throws java.rmi.RemoteException
null.
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteAdminService
MonitorService getMonitorService() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.MonitorService
ClusterMonitor getClusterMonitor() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.MonitorService
boolean isClusterEnable() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteParameterRecorder getParameterRecorder() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteParameterRecorder
RemoteUserPreferenceManager getUserPreferenceManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteUserPreferenceManager
RemoteProfileManager getProfileManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteProfileManager
RemoteUserPreferenceManager getUserDHTMLPreferenceManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteUserPreferenceManager
long runTestReport(java.util.Properties ht) throws java.rmi.RemoteException, RptServerException
ht
- running reports needed information, such as report, catalog and
submitter, etc.RptServerException
- if an RptServerException occurs.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String getHomePath() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String getDynamicClassDir() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.int getBuildNumber() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String[] getScriptsList() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String loadScriptFromFile(java.lang.String filename) throws java.rmi.RemoteException
filename
- A String of the scheduled script file name.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean saveScriptToFile(java.lang.String script, java.lang.String filename) throws java.rmi.RemoteException
script
- A String object of Scheduler's script text.filename
- File name in which the script will be stored.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isScriptFileExist(java.lang.String filename) throws java.rmi.RemoteException
filename
- File name that will be tested.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void delScriptFile(java.lang.String filename) throws java.rmi.RemoteException
filename
- File name that will be tested.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteOndemandReportManager getOndemandReportManager() throws java.rmi.RemoteException
RemoteOndemandReportManager
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteOndemandReportManager
RemoteReportInfo getReportInfo(java.lang.String userID, java.lang.String catalog, int catVerNumber, java.lang.String report, int rptVerNumber) throws java.rmi.RemoteException
RemoteReportInfo
of the specific version of the catalog and report.userID
- the user ID.catalog
- the catalog path in JReport Report server, for example, /SampleReports/SampleReports.cat.catVerNumber
- the version number of the catalog.report
- the report name, for example,/SampleReports/CustomerAnalysis.cls.rptVerNumber
- the version number of the report.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteReportInfo
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
RemoteReportInfo
of the specific version of the catalog and report.userID
- the user ID.catalog
- the catalog path in JReport Report server, for example, /SampleReports/SampleReports.cat.catVerNumber
- the version number of the catalog.report
- the report name, for example, /SampleReports/CustomerAnalysis.cls.rptVerNumber
- the version number of the report.ht
- a hashtable containing some additional properties such as catalog DB connection information.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteReportInfo
WebPageOptions getWebPageOptions() throws java.rmi.RemoteException
WebPageOptions
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.WebPageOptions
java.lang.String exportScripts(java.lang.String userID, java.lang.String[] taskIDs) throws java.rmi.RemoteException
taskIDs
- the specified tasks' IDs.userID
- the specified user id.java.rmi.RemoteException
java.util.Properties[] parseScripts(java.lang.String scripts) throws java.rmi.RemoteException, RptServerException
scripts
- the contents of the scripts.java.rmi.RemoteException
RptServerException
RemoteTriggerManager getTriggerManager() throws java.rmi.RemoteException
RemoteTriggerManager
object associated with this server.RemoteTriggerManager
object.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.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
- the properties of the server. These properties are related to the
implemetation of the RptServer.
For the jet.server.jrserver.JRRptServer of JReport's implementation.
The property "reporthome" must be set.
Other properties are optional. The properties are:
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void start() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void restart(java.util.Properties svrProps) throws java.rmi.RemoteException
svrProps
- the properties of the server. These properties are related to the
implementation of the RptServer.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void dumpEnginesInfo() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.List getEngineErrors(java.lang.String resultFile) throws java.rmi.RemoteException
resultFile
- the result file.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteWebUIConfig getWebUIConfig() throws java.rmi.RemoteException
WebUIConfig
object associated with this server.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.boolean isFreeVirtualAppliance() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String getLicenceExpiredDate() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Properties getCRDTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCRDTasks() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCRDTasksByUser(java.lang.String userId) throws java.rmi.RemoteException
userId
- the submitter.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String deleteCRDSchedules(java.util.Vector taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected CRD scheduled task ids.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCRDManager getCRDManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Properties getCubeTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCubeTasks() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCubeTasksByUser(java.lang.String userId) throws java.rmi.RemoteException
userId
- the submitterjava.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.lang.String deleteCubeSchedules(java.util.Vector taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected cube schedule task idsuser
- the userjava.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCubeManager getCubeManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteServiceManager getServiceManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.GregorianCalendar getCurrentCalendar() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteAliasMappingManager getAliasMappingManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteGlobalNLSLibrary getGlobalNLSLibrary() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteTaskAuditor getTaskAuditor() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteDashboardListenerManager getDashboardListenerManager() throws java.rmi.RemoteException
java.rmi.RemoteException
SystemPerformanceInfo getSystemPerformanceInfo() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteInteractiveReportTaskService getInteractiveReportTaskService() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteDynamicConnectionService getDynamicConnectionService() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteInformationBusManager getInformationBusManager() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteNLSLibraryManager getNLSLibraryManager() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteResourceNLSManager getResourceNLSManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemotePageHelper getPageHelper(int helperId) throws java.rmi.RemoteException
helperId
- The ID of the page helper.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemotePageHelper getPageHelper(PageHelperType type, java.lang.String userId) throws java.rmi.RemoteException
type
- the type of page helper.userId
- the user who work at front-ground.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemotePropertySearcher getPropertySearcher() throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteGlobalSearcher getGlobalSearcher(java.lang.String userId, java.util.Locale locale) throws java.rmi.RemoteException
java.rmi.RemoteException
RemoteTargetServerManager getTargetServerManager() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Properties getCCDTask(java.lang.String taskID) throws java.rmi.RemoteException
taskID
- the task ID.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCCDTasks() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.java.util.Vector getSchedCCDTasksByUser(java.lang.String userId) throws java.rmi.RemoteException
userId
- the submitterjava.rmi.RemoteException
- if communication-related error occurs during RMI call execution.
object includes the properties of a scheduled CCD task.java.lang.String deleteCCDSchedules(java.util.Vector taskids, java.lang.String user) throws java.rmi.RemoteException
taskids
- All selected CCD schedule task idsuser
- the userjava.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteCCDManager getCCDManager() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.RemoteBookmarkManager getBookmarkManager() throws java.rmi.RemoteException
java.rmi.RemoteException