|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface RemoteReportInfo contains information of a report in the server.
| Method Summary | |
boolean |
canExportDHTMLResult()
Checks if the report can export to DHTML result(.rsd result), this type of result can re-run as DHTML. |
java.util.Vector |
getAvailableGroupFields()
Deprecated. You will not need to replace value options with available group fields when parameter is column.
Example: You can comment line in getRptDescPage.jsp like
//Vector grpCols = rptInfo.getAvailableGroupFields();
And you have to modify the java code in getRptDescPage.jsp from
<%
if (desc.isColumn() && grpCols != null) {
%>
<select name="<%= APIConst.TAG_PARAM_PREFIX + desc.getName()%>" size="1">
<% int sz1 = grpCols.size();
for (int i1 = 0; i1 < sz1; i1++) {
String s = (String)grpCols.elementAt(i1);
to become
<%
if (desc.isColumn() ) {
%>
<select name="<%= APIConst.TAG_PARAM_PREFIX + desc.getName()%>" size="1">
<% Vector v = desc.getValueOptions(Locale.getDefault());
int sz1 = v.size();
for (int i1 = 0; i1 < sz1; i1++) {
String s = (String)v.elementAt(i1);
|
java.util.Vector |
getAvailableLanguages()
Gets all of the Languages that current report supported. |
java.util.Vector |
getBooleanColumns()
Return boolean value fields of the report. |
java.util.Vector |
getOrderOfParams()
Return order of parameters of the report. |
java.lang.String |
getParamEngineId()
Return the ID of engine which generates parameters. |
java.util.Vector |
getParamInfos()
Return parameters of the report. |
java.util.Vector |
getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
Return parameters of the report according to a certain parameter and the value of the parameter. |
java.util.Vector |
getStyleGroupInfos()
Return style group of the report. |
boolean |
hasPageSecurity()
Checks if the report has page security. |
void |
removeParamEngineById(java.lang.String paramEngineId)
Remove engine object according to the ID of engine which generates parameters. |
| Method Detail |
public java.util.Vector getParamInfos()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.ParamInfo
public java.util.Vector getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
throws java.rmi.RemoteException
value - the value of the parameter.paramEngineId - the ID of engine which generates parameters.
java.rmi.RemoteException - if a RemoteException occurs.RemoteParamInfo
public java.lang.String getParamEngineId()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public void removeParamEngineById(java.lang.String paramEngineId)
throws java.rmi.RemoteException
paramEngineId - the ID of engine which generates parameters.
java.rmi.RemoteException - if a RemoteException occurs.
public java.util.Vector getAvailableGroupFields()
throws java.rmi.RemoteException
Example: You can comment line in getRptDescPage.jsp like
//Vector grpCols = rptInfo.getAvailableGroupFields();
And you have to modify the java code in getRptDescPage.jsp from
<%
if (desc.isColumn() && grpCols != null) {
%>
<select name="<%= APIConst.TAG_PARAM_PREFIX + desc.getName()%>" size="1">
<% int sz1 = grpCols.size();
for (int i1 = 0; i1 < sz1; i1++) {
String s = (String)grpCols.elementAt(i1);
to become
<%
if (desc.isColumn() ) {
%>
<select name="<%= APIConst.TAG_PARAM_PREFIX + desc.getName()%>" size="1">
<% Vector v = desc.getValueOptions(Locale.getDefault());
int sz1 = v.size();
for (int i1 = 0; i1 < sz1; i1++) {
String s = (String)v.elementAt(i1);
java.rmi.RemoteException - if a RemoteException occurs.
public java.util.Vector getOrderOfParams()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public java.util.Vector getStyleGroupInfos()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public java.util.Vector getBooleanColumns()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public java.util.Vector getAvailableLanguages()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public boolean hasPageSecurity()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
public boolean canExportDHTMLResult()
throws RptServerException,
java.rmi.RemoteException
RptServerException - if a RptServerException occurs.
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||