|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DHTMLDataInfo
DHTML APIs provide APIs for users. With DHTML APIs, users can easily embed the DHTML pages or components into their own JSPs. All the methods in this interface can be invoked by remote server (RMI).
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 of 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 of 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 of 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 use the parameters "sessionId", "rptSetId" and "rptName" in dhtml.jsp. For example: getSortColumns(String sessionId, String rptSetId, String rptName, String subRptKey, String comName, boolean isDateSet) 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.
| Method Summary | |
|---|---|
java.lang.String[] |
getBusinessCubeNames(java.lang.String rptSetId,
java.lang.String subRptKey)
Gets names of business cube tree. |
java.lang.String[][] |
getFilterColumns(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey,
java.lang.String comName,
boolean isDateSet)
Gets all columns' mapping name and display name for filter action. |
java.lang.String[] |
getFilterComponents(java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey)
get all components' name for filter action. |
java.lang.String[][] |
getSortColumns(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey,
java.lang.String comName,
boolean isDateSet)
Gets all columns' name mapping name and display name for sort action. |
java.lang.String[] |
getSortComponents(java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey)
get all components' name for sort action. |
| Method Detail |
|---|
java.lang.String[][] getSortColumns(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey,
java.lang.String comName,
boolean isDateSet)
throws JRScheduleException
sessionId - the user session id.rptSetId - the report set id.rptName - the report name.subRptKey - the key of the engine.comName - component name.isDateSet - if data set 's component.
JRScheduleException
java.lang.String[][] getFilterColumns(java.lang.String sessionId,
java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey,
java.lang.String comName,
boolean isDateSet)
throws JRScheduleException
sessionId - the user session id.rptSetId - the report set id.rptName - the report name.subRptKey - the key of the engine.comName - component name.isDateSet - if data set 's component.
JRScheduleException
java.lang.String[] getSortComponents(java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey)
throws JRScheduleException
rptSetId - the report set id.rptName - the report name.subRptKey - the key of the engine.
JRScheduleException
java.lang.String[] getFilterComponents(java.lang.String rptSetId,
java.lang.String rptName,
java.lang.String subRptKey)
throws JRScheduleException
rptSetId - the report set id.rptName - the report name.subRptKey - the key of the engine.
JRScheduleException
java.lang.String[] getBusinessCubeNames(java.lang.String rptSetId,
java.lang.String subRptKey)
rptSetId - the report set id.subRptKey - the key of the engine.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||