public interface DHTMLClientService
Support the running of multiple report sets in one session, and a report set can include one or more reports.
Descriptions of some key terms:
sessionId: the key for the session in the server (generated by the server automatically when you log in), and users can invoke DHTMLUtil.getSessionID(HttpServletRequest request) to get the key.
rptSetId: the key for the report set in DHTML (generated automatically after the report set has been run), and users can invoke DHTMLUtil.getRptSetId(HttpServletRequest request) to get the key.
rptName: the key for the report in DHTML (retrieved from the report set after the report set has been run), and users can invoke DHTMLUtil.getRptName(HttpServletRequest request) to get the key.
Note of using this DHTML API:
You must follow a certain order for the method which uses the parameters "sessionId", "rptSetId" and "rptName" in dhtml.jsp. For example: getCurrentPageNumber(String sessionId, String rptSetId, String rptName) must be called after the code "Map tmpmap = DHTMLUtil.runReport(request, params);", because the parameters are offered after the report set has been run. If the wrong order is used, a jsp error will be generated. And there is no specified order for the other API methods that do not use the parameters.
Modifier and Type | Method and Description |
---|---|
void |
addDHTMLException(java.lang.String sessionId,
java.lang.String dRptSetId,
java.lang.Throwable e) |
java.lang.String |
buildPagePropertyElement(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String propName,
java.lang.String dsid,
java.lang.String subkey)
|
java.lang.String |
buildPropertyElement(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String propName)
Deprecated.
|
java.lang.String |
buildPropertyElement(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName,
java.lang.String propName)
|
java.lang.String |
buildRenderPropertyElement(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
int renderType,
java.lang.String propName)
|
java.lang.String |
buildReportPropertyElement(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String propName)
Deprecated.
|
int |
canDoAction(int op) |
boolean |
canNewReport(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether a new report set can be created or not.
|
java.lang.String |
checkFlyFormulaSyntax(java.lang.String reportId,
DHTMLFlyResourceScope scope,
java.lang.String expression,
java.lang.String blQulifyDisplayName,
boolean function)
Checks whether the fly formula has syntax error.
|
boolean |
checkFlyResourceName(java.lang.String reportId,
DHTMLFlyResourceScope scope,
java.lang.String rscQulifiedDisplayName)
Checks whether the rscQulifiedDisplayName of a dynamic resource is valid or not in current environment.
|
java.lang.String |
checkSelectParameters(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.util.Hashtable parameters)
Checks user-selected parameters.
|
void |
clearDHTMLExceptions(java.lang.String sessionId,
java.lang.String dRptSetId)
Clears all current DHTML Exceptions.
|
void |
closeBackgroundReport(java.lang.String sessionId,
java.lang.String openTaskId) |
int |
closeReportSet(java.lang.String sessionId,
java.lang.String rptSetId) |
void |
closeRptSheet(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName) |
java.lang.String |
convertingOldReport(java.lang.String aCatPath,
java.lang.String aRptPath) |
byte[] |
copyOctet(java.util.Hashtable params)
Copies the content of the specified binary file to a byte array.
|
byte[] |
copyOctet(java.lang.String id,
java.lang.String translate)
Deprecated.
Copies the content of the specified binary file to a byte array.
|
char[] |
copyText(java.util.Hashtable params)
Deprecated.
Copies the content of the specified text file to a char array.
|
char[] |
copyText(java.lang.String id,
java.lang.String translate)
Deprecated.
Copies the content of the specified text file to a char array.
|
int |
createDHTMLSession(java.lang.String sessionID,
java.lang.String UserName)
Checks and creates DHTML Session information.
|
java.lang.String |
createReportSetId()
Gets the id generated after the report set has been initialized for opening or cancelling a report set.
|
java.util.Hashtable |
dispatch(java.util.Hashtable params) |
java.util.Vector |
dispatch(java.lang.String id,
java.util.Hashtable params)
Deprecated.
Responses and processes all the requests from DHTML client.
|
void |
expire(java.lang.String sessionId)
Destroys user session when it expires.
|
java.lang.String[] |
getAllFonts()
Gets all fonts.
|
java.lang.String[] |
getAllRptNames(java.lang.String rptSetId)
Gets names of all reports in the report set.
|
java.util.Hashtable |
getAutoRefreshReportDataInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the information about auto refreshing report data.
|
DHTMLRunTimeReportInfo |
getBackgroundReportInfo(java.lang.String openTaskId) |
int |
getBrowserType(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the browser type.
|
int |
getBuildNumber()
Gets the build number of JReport Server.
|
int |
getBuildUpdate()
Gets the update number of JReport Server.
|
java.lang.String |
getBusinessLogicHandle(java.lang.String catalogName,
java.lang.String jrs_ds_name,
java.lang.String jrs_query_name,
java.lang.String jrs_cube_name,
java.lang.String userName) |
java.lang.String |
getBVTree(java.lang.String catalogName,
java.lang.String UserName,
java.lang.String dsName,
java.lang.String bcName,
boolean noDetail,
java.lang.String dhtmlimagepath)
Deprecated.
|
boolean |
getCanRedo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether a redo action can be performed or not.
|
boolean |
getCanUndo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether an undo action can be performed or not.
|
CatalogInfo |
getCatalogInfo(java.lang.String catalogName,
java.lang.String userName)
Deprecated.
from V13.1
getCatalogInfo(String, String, HashMap) |
CatalogInfo |
getCatalogInfo(java.lang.String catalogName,
java.lang.String userName,
java.util.HashMap parameters)
Gets the CatalogInfo object of a catalog.
|
CatalogInfo |
getCatalogInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String sheetId,
java.lang.String subKey,
java.lang.String dsid)
Gets the CatalogInfo object of a report set.
|
java.lang.String |
getCatalogName(java.lang.String rptSetId)
Gets the catalog name of the report set.
|
java.lang.String |
getCatalogName(java.lang.String userName,
java.lang.String resourcePath)
Gets the real path of the catalog.
|
java.lang.String |
getCatalogResourceName(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the relative path and name of the catalog used by the specified report.
|
java.lang.String[][][][] |
getChartAvailableComboType()
Deprecated.
|
java.lang.String[] |
getChartPrimTypeName()
Deprecated.
|
java.lang.String[] |
getChartSubTypeName(int primTypeIDX)
Deprecated.
|
ChartTypeInfo |
getChartTypeInfo()
Gets the ChartTypeInfo.
|
java.lang.String |
getConcurrentReports()
Gets the maximum number of concurrent reports.
|
java.lang.String |
getConcurrentUsers()
Gets the maximum number of concurrent users.
|
JNode |
getCubeTreeNode(java.lang.String rptset_id,
java.lang.String report_id,
java.lang.String rcName)
Gets the cube tree.
|
JNode |
getCubeTreeNode(java.lang.String rptset_id,
java.lang.String report_id,
java.lang.String rcName,
java.util.HashMap prop)
Gets the cube tree.
|
int |
getCurrentPageNumber(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the current page number.
|
java.lang.String |
getCurrentPagePanelInstanceName(java.lang.String sessionId,
java.lang.String dRptSetId,
java.lang.String drptName,
java.lang.String dsId)
Gets the current page panel instance name.
|
java.lang.String |
getCurrentStyle(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the current style name.
|
java.lang.String |
getCurReportId(java.lang.String rptSetId)
Gets the name of the active report in the report set.
|
DHTMLAction |
getDHTMLAction()
Gets a DHTMLAction instance.
|
DHTMLConfig |
getDHTMLConfig()
Gets a DHTMLConfig instance.
|
DHTMLDataInfo |
getDHTMLDataInfo()
Gets a DHTMLDataInfo instance.
|
java.lang.Throwable[] |
getDHTMLExceptions(java.lang.String sessionId,
java.lang.String dRptSetId)
Gets all current DHTML Exceptions.
|
DHTMLToolkit |
getDHTMLToolkit()
Gets a DHTMLToolkit instance.
|
DHTMLWriter |
getDHTMLWriter(java.lang.String sessionID,
java.lang.String rptSetId)
Gets a DHTMLWriter instance.
|
java.util.Vector |
getDlgStatus(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dlgName)
Gets status of dialogs.
|
java.lang.String |
getExpire()
Deprecated.
from V11.1
|
java.lang.String |
getExpire(java.lang.String seesionId)
Gets the expiration time of JReport Server license.
|
FlyFormula |
getFlyFormula(java.lang.String reportId,
DHTMLFlyResourceScope scope,
java.lang.String rscQulifiedDisplayName)
Gets dynamic formula with the scope (report, data source, query).
|
FlyMeasure |
getFlyMeasure(java.lang.String reportId,
DHTMLFlyResourceScope scope,
java.lang.String rscQulifiedDisplayName)
Gets dynamic measure with the scope (report, data source, query).
|
java.lang.String[][] |
getGotoList(java.lang.String sessionId,
java.lang.String rptSetId)
Gets the report list generated by Go series actions (such as go up/go down).
|
java.lang.String |
getHelpPath(java.lang.String helpId)
Gets help path URL.
|
java.lang.String |
getHelpRootPath()
Gets JReport Server help's root path
|
java.lang.String |
getHomePath()
Gets the home path of the report server.
|
java.lang.String[] |
getJoinPathList(java.lang.String sessionId,
java.lang.String rptSetId)
Gets the list of join paths among the query tables for continuing to run the report, for the case when queries are created in JReport Viewer.
|
java.lang.String |
getLicenseType()
Gets the license type, for example whether it is a temporary license.
|
java.lang.String |
getLicenseUser()
Gets the user id used for installing the JReport Server.
|
java.lang.String |
getMainPage()
Gets the path and filename of user main page.
|
java.lang.String[][][] |
getNewReportInfo(java.lang.String catalogName,
java.lang.String UserName)
Deprecated.
|
java.lang.String[] |
getOpenedRptDisplayNames(java.lang.String rptSetId)
Gets display names of all open reports in the report set.
|
java.lang.String[] |
getOpenedRptNames(java.lang.String rptSetId)
Gets names of all open reports in the report set.
|
java.lang.String[][] |
getOpenedRptsNames(java.lang.String rptSetId)
Gets names and display names of all open reports in the report set.
|
java.lang.String[][] |
getOpenedRptsNames(java.lang.String rptSetId,
java.lang.String sessionId)
Gets names and NLS display names of all open reports in the report set.
|
int[] |
getOpenReportStates(java.lang.String sessionId,
java.lang.String rptSetId)
Gets the open state of the report set.
In order to avoid repeatedly showing the alert message to the user. |
int |
getPageCompCount(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String componetType)
Gets the number of the specific component in the current page.
|
java.lang.String[][] |
getPagePanelsObject(java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey)
Gets a list of page panels in the report.
|
PropertiesInfo |
getPagePropertiesInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String subkey)
Gets a PropertiesInfo instance of the report page.
|
PropertyInfo |
getPagePropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String propName)
Gets a PropertyInfo instance of a property of the report page.
|
PropertyInfo |
getPagePropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String propName,
java.lang.String dsid,
java.lang.String subkey)
Deprecated.
|
java.lang.String |
getParameterDefaultValue(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
java.lang.String[] |
getParameterDefaultValues(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
java.lang.String[][] |
getParameterDisplayAndRealValues(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
java.lang.String |
getParameterFormat(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
java.lang.String[] |
getParameterNames(java.lang.String sessionId,
java.lang.String rptSetId)
Deprecated.
|
java.lang.String |
getParameterPrompt(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
ParametersInfo |
getParametersInfo(java.lang.String sessionId,
java.lang.String rptsetId)
Deprecated.
getParametersResultObject(String, String)
From V13
Gets parameters information for an open report set |
ResultObjectImpl |
getParametersResultObject(java.lang.String sessionId,
java.lang.String rptsetId)
Gets parameters information for an open report set
|
java.lang.String |
getParameterType(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
java.util.Hashtable |
getParsedOpenreport(java.lang.String sessionId,
java.lang.String rptsetid) |
java.lang.String |
getPreviousBusinessCubeName(java.lang.String sessionId,
java.lang.String rptSetId)
Gets a Business Cube's BLName in previous DataContainerWizardInformation.
|
PropertiesInfo |
getPropertisInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid)
Gets a PropertiesInfo instance of a component.
|
PropertiesInfo |
getPropertisInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName)
Gets a PropertiesInfo instance of a component.
|
PropertiesInfo |
getPropertisInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName,
java.util.Set<java.lang.String> propNames)
Gets a PropertiesInfo instance of a component.
|
PropertyInfo |
getPropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String propName)
Gets a PropertyInfo instance of a property of a result object.
|
PropertyInfo |
getPropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName,
java.lang.String propName)
Gets a PropertyInfo instance of a property of a result object.
|
java.lang.String |
getPropertyValue(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName,
java.lang.String propName)
Gets the property value of the specified object.
|
java.lang.String[] |
getPropertyValueList(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
java.lang.String instName,
java.lang.String propName) |
java.util.Hashtable |
getReferedByParameters(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName,
java.lang.Object paramValue)
Gets all referred parameters information with the specified parameter
name and value of open report set.
|
java.util.Hashtable |
getReferedByParameters(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName,
java.lang.String paramValue)
Deprecated.
|
ParametersInfo |
getReferedByParametersInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName,
java.lang.String paramValue)
Gets all referred parameters information with the specified parameter
name and value of the open report set.
|
PropertiesInfo |
getRenderPropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
int renderType)
Gets a PropertiesInfo instance of a render.
|
PropertyInfo |
getRenderPropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid,
int renderType,
java.lang.String propName)
Gets a PropertyInfo instance of a property of the Render.
|
java.lang.String |
getReportName(java.lang.String id,
int index)
Deprecated.
Gets the report name by index.
|
PropertiesInfo |
getReportPropertiesInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets a PropertyInfo instance of the report.
|
PropertyInfo |
getReportPropertyInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String propName)
Gets a PropertyInfo instance of a property of the report.
|
java.lang.String |
getReportResourceName(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the relative path and name of the report set.
|
java.lang.String |
getRestrictID()
Gets the restrict id.
|
java.lang.String |
getResultTempPath(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Returns the report result temporary path.
|
java.lang.String |
getRptCountry(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the country information used by the report set.
|
java.lang.String |
getRptEncoding(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the encoding used by the report set.
|
java.lang.String |
getRptLanguage(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the language used by the report set.
|
int[] |
getRptPageWH(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the current report page's width and height.
|
java.lang.String |
getRptSetDisplayName(java.lang.String rptSetId)
Gets the display name of the report set.
|
java.lang.String |
getRptSheetDesc(java.lang.String rptSetId,
java.lang.String rptName)
Gets the report sheet descirption.
|
java.lang.String |
getRptSheetDisplayName(java.lang.String rptSetId,
java.lang.String rptName)
Gets the display name of the report sheet.
|
java.util.Hashtable |
getRptSheetOpenState(java.lang.String sessionId,
java.lang.String rptSetId) |
java.util.Vector |
getRuntimeDHTMLReportsStatus(java.lang.String userID) |
SearchInfo |
getSearchInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets a SearchInfo instance of the report.
|
SearchInfo |
getSearchInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsId)
Gets a SearchInfo instance of the report.
|
java.lang.String[][] |
getStyleList()
Gets the display name and CSS path of the style list.
|
java.lang.String |
getSubReportKey(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String dsid)
Gets the key of the engine corresponding to the current object.
|
java.lang.String[] |
getSubReportKeys(java.lang.String rptSetId,
java.lang.String rptName)
Gets the list of keys of all engines related to the current report.
|
java.util.List |
getTempFileDirectories()
Gets the temporary file directories.
|
int |
getTotalPageNumnber(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Gets the total physical page number.
|
java.lang.String |
getUsableReportName(java.lang.String rptSetId)
Gets the report name when creating a new report.
|
java.lang.String |
getUserName(java.lang.String sessionId)
Gets the user name by the session id.
|
java.lang.String |
getVersion()
Gets the version number of JReport Server.
|
java.util.Hashtable |
handleDHTMLRunTimeInfo(java.util.Hashtable key) |
boolean |
hasMaster(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report is linked from a master report or not.
|
boolean |
hasNextDetail(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report will link to another detail report or not.
|
boolean |
hasPrevDetail(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report is linked to another detail report or not.
|
boolean |
isCloseWindow(java.lang.String sessionId)
Gets the mode of closing window for a specified user.
|
boolean |
isDesignerViewMode(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether it is Designer view mode or not.
|
boolean |
isFinishPipeline(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report is pipe-line mode or not.
|
boolean |
isFirstOpen(java.lang.String sessionId)
Determines whether it is the first time to run the report set or not.
|
boolean |
isLink(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report is a link report or not.
|
boolean |
isModified(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report set has been modified or not.
|
boolean |
isNewReportSet(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report set is newly-created or not.
|
boolean |
isOldReport(java.lang.String rptPath) |
boolean |
isOldRptSetVersion(java.lang.String dRptSetId)
Determines whether the report is an old version (8.2) report or not.
|
boolean |
isOpened(java.lang.String rptSetId,
java.lang.String rptName)
Determines whether the report is opened or not.
|
boolean |
isParameterOnlySelect(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
boolean |
isParameterReferedBy(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
boolean |
isParameterRequired(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String paramName)
Deprecated.
|
boolean |
isReportSetFirstOpen(java.lang.String sessionId,
java.lang.String rptSetId) |
boolean |
isRptSheetSaved(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName) |
boolean |
isRSD(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report set is of RSD type or not.
|
boolean |
isRsdFile(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report set is of RSD type or not.
|
boolean |
isRSDFile(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report is RSD or not.
|
boolean |
isSaved(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether the report set has been saved or not.
|
boolean |
isShowSpalshScreen(java.lang.String sessionId)
Determines whether to show the splash screen or not.
|
boolean |
isTaglib(java.lang.String sessionId,
java.lang.String rptSetId)
Determines whether to use taglib to run report set or not.
|
void |
loadSkin(java.lang.String sessionId,
java.lang.String rptSetId)
Loads the default current skin name from session or skin.txt
|
void |
notify_change_engine_dosort_buffer_size(int buffer_size) |
java.util.Map |
OpenAndGetReportInfo(java.util.Hashtable params) |
void |
openBackgroundReport(java.lang.String oldOpenTaskId,
java.lang.String newOpenTaskId) |
java.lang.String |
openBackgroundReportURI(java.lang.String sessionId,
java.lang.String openTaskId) |
java.util.Hashtable |
openReport(java.util.Hashtable params)
Opens a report set with an active report.
|
java.lang.String[] |
parseRuntimeID(java.lang.String runtimeID)
Builds an array from a runtimeID.
|
void |
removeParsedOpenreportParameter(java.lang.String sessionId,
java.lang.String rptsetid) |
void |
reStartRunBackgroundReport(java.lang.String openTaskId) |
void |
setCloseWindow(boolean closeWindow)
Sets the mode of closing window for all users.
|
void |
setCloseWindow(java.lang.String sessionId,
boolean closeWindow)
Sets the mode of closing window for a specified user.
|
void |
setDHTMLRptSheetByteArrayContent(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
byte[] byteArrayContent) |
void |
setParsedOpenreport(java.lang.String sessionId,
java.lang.String rptsetid,
java.util.Hashtable parsedOpenRptParams) |
boolean |
stopProcessingBackgroundReport(java.lang.String sessionId,
java.lang.String openTaskId) |
SearchInfo |
updateSearchInfo(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName)
Updates the SearchInfo of the report.
|
int createDHTMLSession(java.lang.String sessionID, java.lang.String UserName)
An example of the method:
sessionId
- the user session id.UserName
- user name.java.lang.String createReportSetId()
void expire(java.lang.String sessionId)
sessionId
- the user session id.java.lang.String[] getAllRptNames(java.lang.String rptSetId)
rptSetId
- the report set id.boolean getCanUndo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.boolean getCanRedo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getCatalogName(java.lang.String rptSetId)
An example of the method:
rptSetId
- the report set id.java.lang.String getCatalogName(java.lang.String userName, java.lang.String resourcePath)
An example of the method:
userName
- the user name.resourcePath
- the relative path of the catalog resources.boolean isCloseWindow(java.lang.String sessionId)
sessionId
- the user session id.int getCurrentPageNumber(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getCurrentStyle(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getCurReportId(java.lang.String rptSetId)
An example of the method:
rptSetId
- the report set id.DHTMLConfig getDHTMLConfig()
An example of the method:
DHTMLDataInfo getDHTMLDataInfo()
An example of the method:
DHTMLWriter getDHTMLWriter(java.lang.String sessionID, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String[] getOpenedRptNames(java.lang.String rptSetId)
rptSetId
- the report set id.java.lang.String getRptLanguage(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getRptEncoding(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getRptCountry(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getRptSetDisplayName(java.lang.String rptSetId)
rptSetId
- the report set id.java.lang.String getRptSheetDisplayName(java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
rptSetId
- the report set id.rptName
- the report name.java.lang.String[][] getStyleList()
int getTotalPageNumnber(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.void setCloseWindow(java.lang.String sessionId, boolean closeWindow)
sessionId
- the user session id.closeWindow
- if true, the window will be closed; otherwise the window will not be closed.void setCloseWindow(boolean closeWindow)
closeWindow
- if true, the window will be closed; otherwise the window will not be closed.java.lang.String[] getSubReportKeys(java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
rptSetId
- the report set id.rptName
- the report name.java.lang.String[] parseRuntimeID(java.lang.String runtimeID)
runtimeID
- runtime id. supported runtimeID format:
SessionID-RptSetId-RptName or SessionID-RptSetId.java.util.Hashtable openReport(java.util.Hashtable params) throws RptServerException, java.io.IOException, JDException
params
- input user parameter.RptServerException
java.io.IOException
JDException
DHTMLAction getDHTMLAction()
An example of the method:
java.lang.String getSubReportKey(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- ID of the result object.java.lang.String[] getOpenedRptDisplayNames(java.lang.String rptSetId)
rptSetId
- the report set id.java.lang.String[][] getOpenedRptsNames(java.lang.String rptSetId)
An example of the method:
rptSetId
- the report set id.java.lang.String[][] getOpenedRptsNames(java.lang.String rptSetId, java.lang.String sessionId)
An example of the method:
rptSetId
- the report set id.sessionId
- the session id.boolean isOpened(java.lang.String rptSetId, java.lang.String rptName)
rptSetId
- the report set id.rptName
- the report name.java.lang.String getUserName(java.lang.String sessionId)
An example of the method:
sessionId
- the user session id.PropertyInfo getPropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.propName
- the property name.PropertyInfo getPropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of templet object.propName
- the property name.SearchInfo getSearchInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName) throws JRScheduleException
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.JRScheduleException
SearchInfo getSearchInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsId) throws JRScheduleException
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsId
- the result object id.JRScheduleException
SearchInfo updateSearchInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName) throws JRScheduleException
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.JRScheduleException
byte[] copyOctet(java.util.Hashtable params) throws JDException
params
- input user parameters:JDException
int getBrowserType(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.boolean hasMaster(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.boolean hasPrevDetail(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.boolean hasNextDetail(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.boolean isLink(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.util.Vector getDlgStatus(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dlgName) throws JRScheduleException
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dlgName
- the dialog name: "filter" or "sort".JRScheduleException
DHTMLToolkit getDHTMLToolkit()
int[] getRptPageWH(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getMainPage()
java.lang.String getRptSheetDesc(java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
rptSetId
- the report set id.rptName
- the report name.ParametersInfo getParametersInfo(java.lang.String sessionId, java.lang.String rptsetId)
getParametersResultObject(String, String)
From V13
Gets parameters information for an open report setsessionId
- the user session idrptsetId
- the report set idjet.webreport.ParametersInfo
ParametersInfo getReferedByParametersInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName, java.lang.String paramValue)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- parameter name.paramValue
- parameter value.java.util.Hashtable getReferedByParameters(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName, java.lang.Object paramValue)
com.jinfonet.web.com.jinfonet.web.beans.ReportParameter
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the parameter name.paramValue
- the parameter value:com.jinfonet.web.com.jinfonet.web.beans.ReportParameter
]
};
For example:
%serverhome%/public_html/dhtmljsp/actionjsp/get_referedby_parameter.jsp.java.lang.String[] getJoinPathList(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the parameter.PropertyInfo getPagePropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.propName
- the property name.PropertyInfo getReportPropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String propName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.propName
- the property name.java.lang.String getHelpRootPath()
java.lang.String getHelpPath(java.lang.String helpId)
An example of the method:
java.lang.String getCatalogResourceName(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getReportResourceName(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.int[] getOpenReportStates(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.boolean isSaved(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String[][] getPagePanelsObject(java.lang.String rptSetId, java.lang.String rptName, java.lang.String subRptKey)
An example of the method:
rptSetId
- the report set id.rptName
- the report name.subRptKey
- the key of the engine.boolean isFirstOpen(java.lang.String sessionId)
sessionId
- the user session id.void loadSkin(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.boolean isNewReportSet(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.boolean isRSD(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String getUsableReportName(java.lang.String rptSetId)
An example of the method:
rptSetId
- the report set id.boolean canNewReport(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getVersion()
An example of the method:
int getBuildNumber()
int getBuildUpdate()
java.lang.String getLicenseUser()
An example of the method:
java.lang.String getExpire()
java.lang.String getLicenseType()
An example of the method:
java.lang.String getRestrictID()
An example of the method:
java.lang.String getConcurrentUsers()
An example of the method:
java.lang.String getConcurrentReports()
An example of the method:
java.lang.String getResultTempPath(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getHomePath()
jet.server.api.ServerEnv.getHomePath().
PropertyInfo getRenderPropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, int renderType, java.lang.String propName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.renderType
- the render type of the target object.propName
- the property name.java.lang.String checkSelectParameters(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.util.Hashtable parameters)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.parameters
- the user input parameters and the parameter's value(s).boolean isModified(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.boolean isTaglib(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.boolean isRsdFile(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.java.lang.Throwable[] getDHTMLExceptions(java.lang.String sessionId, java.lang.String dRptSetId)
sessionId
- the user session id.dRptSetId
- the report set id.void clearDHTMLExceptions(java.lang.String sessionId, java.lang.String dRptSetId)
An example of the method:
sessionId
- the user session id.dRptSetId
- the report set id.CatalogInfo getCatalogInfo(java.lang.String catalogName, java.lang.String userName)
getCatalogInfo(String, String, HashMap)
catalogName
- the catalog resource name.userName
- the user name.jet.webreport.CatalogInfo
.CatalogInfo getCatalogInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String sheetId, java.lang.String subKey, java.lang.String dsid)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.sheetId
- the report name.subKey
- the key of the engine.dsid
- the context id for inserting components .jet.webreport.CatalogInfo
.ChartTypeInfo getChartTypeInfo()
An example of the method:
boolean isDesignerViewMode(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.boolean isShowSpalshScreen(java.lang.String sessionId)
An example of the method:
sessionId
- java.lang.String getPropertyValue(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of the templet object.propName
- the property name of the object.java.util.List getTempFileDirectories()
boolean isFinishPipeline(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String[] getAllFonts()
An example of the method:
java.lang.String[][] getGotoList(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.boolean isRSDFile(java.lang.String sessionId, java.lang.String rptSetId)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String getCurrentPagePanelInstanceName(java.lang.String sessionId, java.lang.String dRptSetId, java.lang.String drptName, java.lang.String dsId)
An example of the method:
sessionId
- the user session id.dRptSetId
- the report set id.drptName
- the report name.dsId
- ID of the result object.boolean isOldRptSetVersion(java.lang.String dRptSetId)
An example of the method:
dRptSetId
- the report set id.PropertiesInfo getPropertisInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of templet object.PropertiesInfo getPropertisInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.PropertiesInfo getRenderPropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, int renderType)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.renderType
- the type value which is defined in jet.report.mode.common.RptRenderer:PropertiesInfo getPagePropertiesInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String subkey)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id or instant name of templet object.subkey
- the key of the engine.PropertiesInfo getReportPropertiesInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.JNode getCubeTreeNode(java.lang.String rptset_id, java.lang.String report_id, java.lang.String rcName, java.util.HashMap prop)
An example of the method:
rptset_id
- the report set id.report_id
- the report name.rcName
- the rc qualified name (formed by data source name, query name, rc name, with separator '.').prop
- the tree config properties, such as image path, root expand level.jet.webreport.util.JNode
.JNode getCubeTreeNode(java.lang.String rptset_id, java.lang.String report_id, java.lang.String rcName)
rptset_id
- the report set id.report_id
- the report name.rcName
- the rc qualified name (formed by data source name, query name, rc name, with separator '.').jet.webreport.util.JNode
.FlyFormula getFlyFormula(java.lang.String reportId, DHTMLFlyResourceScope scope, java.lang.String rscQulifiedDisplayName)
An example of the method:
reportId
- identifier of report set.scope
- on the fly formula scope, jet.webreport.beans.DHTMLFlyResourceScope
.rscQulifiedDisplayName
- the qualified display name of the resource.FlyMeasure getFlyMeasure(java.lang.String reportId, DHTMLFlyResourceScope scope, java.lang.String rscQulifiedDisplayName)
An example of the method:
reportId
- identifier of the report set.scope
- on the fly formula scope, jet.webreport.beans.DHTMLFlyResourceScope
.rscQulifiedDisplayName
- the qualified display name of the resource.boolean checkFlyResourceName(java.lang.String reportId, DHTMLFlyResourceScope scope, java.lang.String rscQulifiedDisplayName)
reportId
- identifier of the report set.scope
- on the fly formula scope, jet.webreport.beans.DHTMLFlyResourceScope
.rscQulifiedDisplayName
- the qualified display name of the resource.java.lang.String checkFlyFormulaSyntax(java.lang.String reportId, DHTMLFlyResourceScope scope, java.lang.String expression, java.lang.String blQulifyDisplayName, boolean function)
An example of the method:
reportId
- identifier of the report set.scope
- on the fly formula scope, jet.webreport.beans.DHTMLFlyResourceScope
.expression
- the formula expression.blQulifyDisplayName
- the qualified display name of the resource.function
- whether is function.java.util.Hashtable getAutoRefreshReportDataInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.java.lang.String getPreviousBusinessCubeName(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String getReportName(java.lang.String id, int index)
id
- can be the report runtime id or the user session id. When it
is the user session id, the method will return the special
properties at session level. When it is the report runtime id,
the method will return the special properties in the report
with this runtime id.index
- the report index.byte[] copyOctet(java.lang.String id, java.lang.String translate) throws java.io.IOException
id
- can be the report runtime id or the user session id. When it
is the user session id (Deprecated, it cannot be used in
multiple reports mode), it indicates the only report in
the session. When it is the report runtime id, it indicates the
report specified by this runtime id in the session.translate
- the binary file name.java.io.IOException
char[] copyText(java.util.Hashtable params) throws JDException
params
- input user parameters:
DHTMLConstant.SESSION_ID, the user session id;
DHTMLConstant.RPTSET_ID, the report set id;
DHTMLConstant.RPT_NAME, the report name;
DHTMLConstant.TRANSLATE, the file name.JDException
char[] copyText(java.lang.String id, java.lang.String translate) throws java.io.IOException
id
- can be the report runtime id or the user session id. When it
is the user session id (Deprecated, it cannot be used in
multiple reports mode), it indicates the only report in
the session. When it is the report runtime id, it indicates the
report specified by this runtime id in the session.translate
- the text file name.java.io.IOException
java.util.Vector dispatch(java.lang.String id, java.util.Hashtable params) throws RptServerException, java.io.IOException
id
- the user session id.params:
- client request query in hashtable type If you are going to use
relative path in dhtml, param params should contain three
parameters as following: DHTMLConstant.DHTML_SERVLET_PATH, the
value is dhtml servlet path that can be got like this:
HttpUtil.getWebAppUrl(HttpServletRequest request,
HttpUtil.getJSPWebAppName(APIConst.APPNAME_DHTML)),
DHTMLConstant.DHTML_JSP_PATH, the value is dhtml jsp path that
can be got like this:
HttpUtil.getWebAppUrl(HttpServletRequest request,
HttpUtil.getJSPWebAppName(APIConst.APPNAME_DHTMLJSP)),
DHTMLConstant.DHTML_HELP_PATH, the value is dhtml help servlet
path that can be got like this:
HttpUtil.getWebAppUrl(HttpServletRequest request,
HttpUtil.getJSPWebAppName(APIConst.APPNAME_HELP)).RptServerException
java.io.IOException
java.lang.String[] getParameterNames(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.Gets the parameter names for open report sheets.
java.lang.String[] getParameterDefaultValues(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the parameter names.Gets the parameter default values for open report sheet.
java.lang.String getParameterDefaultValue(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the parameter name.Gets the default value of the current parameter.
java.lang.String getParameterFormat(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of parameter.Gets the current parameter format.
java.lang.String getParameterType(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of parameter.Gets the current parameter type.
java.lang.String[][] getParameterDisplayAndRealValues(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the current parameter.Gets the current parameter values including display values and real values.
java.lang.String getParameterPrompt(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the parameter.Gets the text for prompting users to provide the value of the current parameter.
boolean isParameterRequired(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the parameter.Gets the flag of isRequired from the parameter.
boolean isParameterOnlySelect(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the parameter.Gets the flag of isOnlySelect from the parameter.
boolean isParameterReferedBy(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the name of the parameter.Gets the flag of isReferedBy from the parameter.
java.util.Hashtable getReferedByParameters(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String paramName, java.lang.String paramValue)
sessionId
- the user session id.rptSetId
- the report set id.paramName
- the parameter name.paramValue
- the parameter value.Gets all referred parameters information with the specified parameter
name and value of the open report set.
PropertyInfo getPagePropertyInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String propName, java.lang.String dsid, java.lang.String subkey)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.propName
- the property name, which is defined in PropertyConstant:dsid
- the result object id (the HTML element dsid property).Gets a PropertyInfo instance of a property of the report page.
An example of the method:
- %serverhome%/public_html/dhtmljsp/dialogjsp/pageproperty.jsp.
java.lang.String[][][] getNewReportInfo(java.lang.String catalogName, java.lang.String UserName) throws DesignerErrorException
catalogName
- UserName
- DesignerErrorException
getCatalogInfo(String, String).
java.lang.String getBVTree(java.lang.String catalogName, java.lang.String UserName, java.lang.String dsName, java.lang.String bcName, boolean noDetail, java.lang.String dhtmlimagepath) throws DesignerErrorException
catalogName
- UserName
- dsName
- bcName
- noDetail
- dhtmlimagepath
- DesignerErrorException
getCatalogInfo(String, String).
java.lang.String[] getChartPrimTypeName()
#jet.webreport.ChartTypeInfo.getChartTypeNames().
java.lang.String[] getChartSubTypeName(int primTypeIDX)
primTypeIDX
- #jet.webreport.ChartTypeInfo.
java.lang.String[][][][] getChartAvailableComboType()
#jet.webreport.ChartTypeInfo.getAvailableCombTypes().
java.lang.String buildPropertyElement(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String propName)
getPropertisInfo(String, String, String, String)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.propName
- the property name of object.java.lang.String buildPropertyElement(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of templet object.propName
- the property name of object.java.lang.String buildRenderPropertyElement(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, int renderType, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.renderType
- the type value which defined in jet.report.mode.common.RptRenderer:propName
- the property name of object.java.lang.String buildReportPropertyElement(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String propName)
getReportPropertiesInfo(String, String, String)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.propName
- the property name of object.java.lang.String buildPagePropertyElement(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String propName, java.lang.String dsid, java.lang.String subkey)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.propName
- the property name of object.dsid
- the result object id.subkey
- the key of the engine.int getPageCompCount(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String componetType)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.componetType
- the component type.java.util.Hashtable dispatch(java.util.Hashtable params) throws JDException
params
- input user parameter.JDException
java.util.Map OpenAndGetReportInfo(java.util.Hashtable params) throws JDException
params
- input user parameters.JDException
void setDHTMLRptSheetByteArrayContent(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, byte[] byteArrayContent)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.byteArrayContent
- byte array.java.util.Hashtable getRptSheetOpenState(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.java.lang.String convertingOldReport(java.lang.String aCatPath, java.lang.String aRptPath)
aCatPath
- the catalog path and name.aRptPath
- old report path and name.boolean isOldReport(java.lang.String rptPath) throws JDException
aRptPath
- old report path and name.JDException
boolean isReportSetFirstOpen(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.boolean isRptSheetSaved(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.int canDoAction(int op)
op
- the op which is defined in DHTMLConstant.void addDHTMLException(java.lang.String sessionId, java.lang.String dRptSetId, java.lang.Throwable e)
sessionId
- the user session id.dRptSetId
- the report set id.e
- int closeReportSet(java.lang.String sessionId, java.lang.String rptSetId)
sessionId
- the user session id.rptSetId
- the report set id.void closeRptSheet(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.void setParsedOpenreport(java.lang.String sessionId, java.lang.String rptsetid, java.util.Hashtable parsedOpenRptParams)
sessionId
- the user session id.rptsetid
- the report set id.parsedOpenRptParams
- java.util.Hashtable getParsedOpenreport(java.lang.String sessionId, java.lang.String rptsetid)
sessionId
- the user session id.rptsetid
- the report set id.void removeParsedOpenreportParameter(java.lang.String sessionId, java.lang.String rptsetid)
sessionId
- the user session id.rptsetid
- the report set id.java.util.Hashtable handleDHTMLRunTimeInfo(java.util.Hashtable key)
key
- java.lang.String[] getPropertyValueList(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName, java.lang.String propName)
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of the templet object.propName
- the property name of the object.java.util.Vector getRuntimeDHTMLReportsStatus(java.lang.String userID)
userID
- the user name.DHTMLRunTimeReportInfo getBackgroundReportInfo(java.lang.String openTaskId)
openTaskId
- void closeBackgroundReport(java.lang.String sessionId, java.lang.String openTaskId)
sessionId
- the user session id.openTaskId
- the report set id (according to code).boolean stopProcessingBackgroundReport(java.lang.String sessionId, java.lang.String openTaskId)
sessionId
- the user session id.openTaskId
- the report set id(according to code).void reStartRunBackgroundReport(java.lang.String openTaskId)
openTaskId
- the report set id (according to code).java.lang.String openBackgroundReportURI(java.lang.String sessionId, java.lang.String openTaskId) throws java.lang.Exception
sessionId
- the user session id.openTaskId
- the report set id (according to code).java.lang.Exception
void notify_change_engine_dosort_buffer_size(int buffer_size)
buffer_size
- the memory size.java.lang.String getBusinessLogicHandle(java.lang.String catalogName, java.lang.String jrs_ds_name, java.lang.String jrs_query_name, java.lang.String jrs_cube_name, java.lang.String userName)
java.lang.String getExpire(java.lang.String seesionId)
An example of the method:
sessionId
- the user session id.void openBackgroundReport(java.lang.String oldOpenTaskId, java.lang.String newOpenTaskId) throws java.lang.Exception
java.lang.Exception
ResultObjectImpl getParametersResultObject(java.lang.String sessionId, java.lang.String rptsetId)
An example of the method:
sessionId
- the user session idrptsetId
- the report set idcom.jinfonet.web.ResultObjectImpl
com.jinfonet.web.com.jinfonet.web.beans.ReportParameter
],
"country":xxx, "language":xxx};CatalogInfo getCatalogInfo(java.lang.String catalogName, java.lang.String userName, java.util.HashMap parameters)
An example of the method:
catalogName
- the catalog resource name.userName
- the user name.jet.webreport.CatalogInfo
.PropertiesInfo getPropertisInfo(java.lang.String sessionId, java.lang.String rptSetId, java.lang.String rptName, java.lang.String dsid, java.lang.String instName, java.util.Set<java.lang.String> propNames)
An example of the method:
sessionId
- the user session id.rptSetId
- the report set id.rptName
- the report name.dsid
- the result object id.instName
- the instant name of templet object.propNames
- the specified properties name