|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteReportInfo
Interface RemoteReportInfo contains the information of a report on server.
| Method Summary | |
|---|---|
boolean |
canExportDHTMLResult()
Deprecated. Need to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
boolean |
canExportDHTMLResult(int status)
Checks if the report can export to DHTML result(.rsd result), whose type of result can re-run as DHTML. |
java.lang.String[] |
getAllDataSource()
Deprecated. Need to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.lang.String[] |
getAllDataSource(int status)
Gets all of the data source names used in a report. |
java.util.Vector |
getAvailableGroupFields()
Deprecated. You don't need to replace value options with available group fields when parameter is column. Example: You can comment out the 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()
Deprecated. Need to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.util.Vector |
getAvailableLanguages(int status)
Gets all of the languages that are supported in the current report. |
java.util.Vector |
getBooleanColumns()
Returns boolean value fields of the report. |
RemoteReportSheetInfo |
getCurrentReportSheet()
Deprecated. Needs to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
RemoteReportSheetInfo |
getCurrentReportSheet(int status)
Returns the current report sheet info. |
java.lang.String |
getDefaultStyleGroupName()
Deprecated. Needs to set the status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL as default. |
java.lang.String |
getDefaultStyleGroupName(int status)
Gets default style group name. |
java.util.Vector |
getOrderOfParams()
Deprecated. Needs to set the status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.util.Vector |
getOrderOfParams(int status)
Returns the order of parameters in the report. |
java.util.List<RemoteParamInfo> |
getOriginalParamInfos(java.util.List<java.lang.String> rptSheets,
java.util.Map paramChangeProp)
Returns the original parameters of this report. |
java.lang.String |
getParamEngineId()
Deprecated. Needs to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.lang.String |
getParamEngineId(int status)
Returns the ID of engine which generates parameters. |
java.util.Vector |
getParamInfos()
Deprecated. Needs to set The status of reports, can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.util.Vector |
getParamInfos(int status)
Returns parameters of the report. |
java.util.List<RemoteParamInfo> |
getParamInfos(java.util.List<java.lang.String> rptSheets,
java.util.Map paramChangeProp)
Returns parameters of the report. |
java.util.Vector |
getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
Returns parameters of the report according to the name and the value of the specified parameter. |
java.util.Vector |
getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId,
int status)
Returns parameters of the report according to the name and the value of the specified parameter. |
java.util.Vector |
getParamInfosByValue(java.lang.String paramName,
java.lang.String[] values,
java.lang.String paramEngineId,
int status)
Returns parameters of the report according to the name and value of the specified parameter. |
java.util.Vector |
getParamInfosByValue(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
Returns parameters of the report according to the name and value of the specified parameter. |
java.util.Vector |
getParamInfosByValue(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId,
int status)
Returns parameters of the report according to the name and value of the specified parameter. |
java.util.Vector<CRDInfoKey> |
getQueryInfos()
Returns all queries that are used in the report info. |
java.util.Vector |
getReportFontFiles()
Gets font file names of a report. |
java.util.Vector |
getReportImageFiles()
Gets image file names of a report. |
java.util.Vector |
getReportSheetInfos()
Deprecated. Needs to set the status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.util.Vector |
getReportSheetInfos(int status)
Returns information of report sheets in the report. |
java.util.Vector |
getReportSubreports()
Gets subreport names of a report. |
java.util.Map |
getSheetParamNames(int status)
Returns all sheets and their parameters relation Map. |
java.util.Vector |
getStyleGroupInfos()
Deprecated. Needs to set the status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
java.util.Vector |
getStyleGroupInfos(int status)
Returns style group of the report. |
boolean |
hasPageSecurity()
Deprecated. Needs to set the status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default. |
boolean |
hasPageSecurity(int status)
Checks if the report has page security. |
boolean |
hasReportParam()
Deprecated. Needs to set The status of reports, which can be APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or server will use
APIConst.RPT_STATUS_ALL by default. |
boolean |
hasReportParam(int status)
Checks whether any sheets in the report have parameters. |
boolean |
isPortletPreferred()
Checks if the report contains only one report sheet and if report sheet is portlet preferred. |
void |
removeParamEngineById(java.lang.String paramEngineId)
Removes engine object according to the ID of engine which generates parameters. |
java.lang.String |
validateParameter(int status,
java.util.Properties taskProp)
Checks parameters validation. |
| Method Detail |
|---|
java.util.Vector getReportSheetInfos()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or else server will use
APIConst.RPT_STATUS_ALL by default.
Vector containsReportSheetInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteReportSheetInfo
java.util.Vector getReportSheetInfos(int status)
throws java.rmi.RemoteException
status - The status of reports, can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
vector contains RemoteReportSheetInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteReportSheetInfo
java.util.Vector getParamInfos()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or else server will use
APIConst.RPT_STATUS_ALL by default.
vector contains RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
java.util.Vector getParamInfos(int status)
throws java.rmi.RemoteException
status - The status of reports, can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
vector contains RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
java.util.List<RemoteParamInfo> getParamInfos(java.util.List<java.lang.String> rptSheets,
java.util.Map paramChangeProp)
throws java.rmi.RemoteException
rptSheets - Names of report sheets.paramChangeProp - The properties about param(s) change info.
vector contains ParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.List<RemoteParamInfo> getOriginalParamInfos(java.util.List<java.lang.String> rptSheets,
java.util.Map paramChangeProp)
throws RptServerException,
java.rmi.RemoteException
rptSheets - the report sheets namesparamChangeProp - the property about parameter(s) changing information
RptServerException
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
throws java.rmi.RemoteException
param - The parameter name.value - The value of the parameter.paramEngineId - The ID of engine that generates parameters.
vector contains RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
java.util.Vector getParamInfosByParam(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId,
int status)
throws java.rmi.RemoteException
paramName - The parameter name.value - The value of the parameter.paramEngineId - The ID of engine which generates parameters.status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
vector contains
ParamInfo objects.
RptServerException - If a RptServerException occurs or not.
RptServerException
java.rmi.RemoteException
java.util.Vector getParamInfosByValue(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId)
throws java.rmi.RemoteException
paramName - The parameter name.value - The value of the parameter.paramEngineId - The ID of engine which generates parameters.
vector contains RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
java.util.Vector getParamInfosByValue(java.lang.String paramName,
java.lang.String value,
java.lang.String paramEngineId,
int status)
throws java.rmi.RemoteException
paramName - The parameter name.value - The value of the parameter.paramEngineId - The ID of engine which generates parameters.status -
vector contains RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
java.util.Vector getParamInfosByValue(java.lang.String paramName,
java.lang.String[] values,
java.lang.String paramEngineId,
int status)
throws java.rmi.RemoteException
paramName - The parameter name.values - The values of the parameter.paramEngineId - The ID of engine which generates parameters.status -
RemoteParamInfo objects.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.RemoteParamInfo
boolean hasReportParam()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL, or server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean hasReportParam(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Map getSheetParamNames(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
Vector of parameter name .
java.rmi.RemoteException
RemoteReportSheetInfo getCurrentReportSheet()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
RemoteReportSheetInfo getCurrentReportSheet(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String getParamEngineId()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String getParamEngineId(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
void removeParamEngineById(java.lang.String paramEngineId)
throws java.rmi.RemoteException
paramEngineId - The ID of engine which generates parameters.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getAvailableGroupFields()
throws java.rmi.RemoteException
//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);
vector contains names of available group field.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getOrderOfParams()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
vector contains parameter names in sequence.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getOrderOfParams(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
vector contains parameter names in sequence.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getStyleGroupInfos()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
vector contains style group names in sequence.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getStyleGroupInfos(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
vector contains style group names in sequence.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getBooleanColumns()
throws java.rmi.RemoteException
vector contains boolean value field names.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getAvailableLanguages()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getAvailableLanguages(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean hasPageSecurity()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean hasPageSecurity(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean canExportDHTMLResult()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean canExportDHTMLResult(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String getDefaultStyleGroupName()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL as default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String getDefaultStyleGroupName(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector getReportImageFiles()
throws java.rmi.RemoteException
RptServerException - If communication-related error occurs during RMI call execution or not.
java.rmi.RemoteException
java.util.Vector getReportFontFiles()
throws java.rmi.RemoteException
RptServerException - If communication-related error occurs during RMI call execution or not.
java.rmi.RemoteException
java.util.Vector getReportSubreports()
throws java.rmi.RemoteException
RptServerException - If communication-related error occurs during RMI call execution or not.
java.rmi.RemoteException
java.lang.String[] getAllDataSource()
throws java.rmi.RemoteException
APIConst.RPT_STATUS_CURRENT, APIConst.RPT_STATUS_OPEN and
APIConst.RPT_STATUS_ALL. Or else server will use
APIConst.RPT_STATUS_ALL by default.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String[] getAllDataSource(int status)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
boolean isPortletPreferred()
throws RptServerException,
java.rmi.RemoteException
RptServerException - If a RptServerException occurs or not.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.lang.String validateParameter(int status,
java.util.Properties taskProp)
throws java.rmi.RemoteException
status - The status of reports, which can be APIConst.RPT_STATUS_CURRENT,
APIConst.RPT_STATUS_OPEN and APIConst.RPT_STATUS_ALL.taskProp - The properties of the task.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.
java.util.Vector<CRDInfoKey> getQueryInfos()
throws java.rmi.RemoteException
java.rmi.RemoteException - If communication-related error occurs during RMI call execution or not.CRDInfoKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||