jet.server.api.rmi
Interface RemoteReportInfo

All Superinterfaces:
java.rmi.Remote

public interface RemoteReportInfo
extends java.rmi.Remote

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

getParamInfos

public java.util.Vector getParamInfos()
                               throws java.rmi.RemoteException
Return parameters of the report.

Returns:
parameters of the report. The Vector cantains ParamInfo objects.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.
See Also:
ParamInfo

getParamInfosByParam

public java.util.Vector getParamInfosByParam(java.lang.String paramName,
                                             java.lang.String value,
                                             java.lang.String paramEngineId)
                                      throws java.rmi.RemoteException
Return parameters of the report according to a certain parameter and the value of the parameter. If the value is null, it applies the default value; if the ParamInfo is null, it will return all first level parameters.

Parameters:
value - the value of the parameter.
paramEngineId - the ID of engine which generates parameters.
Returns:
parameters of the report accordingly The Vector cantains RemoteParamInfo objects.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.
See Also:
RemoteParamInfo

getParamEngineId

public java.lang.String getParamEngineId()
                                  throws java.rmi.RemoteException
Return the ID of engine which generates parameters.

Returns:
the ID of engine which generates parameters.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

removeParamEngineById

public void removeParamEngineById(java.lang.String paramEngineId)
                           throws java.rmi.RemoteException
Remove engine object according to the ID of engine which generates parameters.

Parameters:
paramEngineId - the ID of engine which generates parameters.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getAvailableGroupFields

public java.util.Vector getAvailableGroupFields()
                                         throws java.rmi.RemoteException
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);
      

Return available group fields of the report.

Returns:
available group fields of the report. The Vector cantains available group field names.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getOrderOfParams

public java.util.Vector getOrderOfParams()
                                  throws java.rmi.RemoteException
Return order of parameters of the report.

Returns:
order of parameters of the report. The Vector cantains parameter names in sequence.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getStyleGroupInfos

public java.util.Vector getStyleGroupInfos()
                                    throws java.rmi.RemoteException
Return style group of the report.

Returns:
style group of the report. The Vector cantains style group names in sequence.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getBooleanColumns

public java.util.Vector getBooleanColumns()
                                   throws java.rmi.RemoteException
Return boolean value fields of the report.

Returns:
boolean value fields of the report. The Vector cantains boolean value field names.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

getAvailableLanguages

public java.util.Vector getAvailableLanguages()
                                       throws java.rmi.RemoteException
Gets all of the Languages that current report supported.

Returns:
all of the languages that current report supported.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

hasPageSecurity

public boolean hasPageSecurity()
                        throws java.rmi.RemoteException
Checks if the report has page security.

Returns:
if the report has page security.
Throws:
java.rmi.RemoteException - if a RemoteException occurs.

canExportDHTMLResult

public boolean canExportDHTMLResult()
                             throws RptServerException,
                                    java.rmi.RemoteException
Checks if the report can export to DHTML result(.rsd result), this type of result can re-run as DHTML.

Returns:
true if the report can export to DHTML result.
Throws:
RptServerException - if a RptServerException occurs.
java.rmi.RemoteException