com.crystaldecisions.reports.sdk
Class ParameterFieldController

java.lang.Object
  |
  +--com.crystaldecisions.reports.sdk.ParameterFieldController

public class ParameterFieldController
extends java.lang.Object

A database controller which provides an interface for some database related operations.


Method Summary
 void setCurrentValue(java.lang.String sReportName, java.lang.String sFieldName, double newValue)
           Sets a single value for the parameter field.
 void setCurrentValue(java.lang.String sReportName, java.lang.String sFieldName, java.lang.Object newValue)
           Sets a single value for the parameter field.
 void setCurrentValues(java.lang.String sReportName, java.lang.String sFieldName, java.lang.Object[] newValue)
           Sets the current values for the parameter field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setCurrentValues

public void setCurrentValues(java.lang.String sReportName,
                             java.lang.String sFieldName,
                             java.lang.Object[] newValue)
                      throws ReportSDKException

Sets the current values for the parameter field.

Parameters:
sReportName - The report in which the specified parameter field is contained.
sFieldName - The parameter field name.
newValue - The values that are to be stored in the parameter field.
Throws:
ReportSDKException

setCurrentValue

public void setCurrentValue(java.lang.String sReportName,
                            java.lang.String sFieldName,
                            double newValue)
                     throws ReportSDKException

Sets a single value for the parameter field.

NOTE: The sReportName parameter refers to the name of the subreport. To set the parameters in the main report, use an empty string as the sReportName parameter.

Parameters:
sReportName - the report that contains the specified parameter field
sFieldName - the parameter field name
newValue - the value that you want to store in the parameter field
Throws:
ReportSDKException

setCurrentValue

public void setCurrentValue(java.lang.String sReportName,
                            java.lang.String sFieldName,
                            java.lang.Object newValue)
                     throws ReportSDKException

Sets a single value for the parameter field.

NOTE: The sReportName parameter refers to the name of the subreport. To set the parameters in the main report, use an empty string as the sReportName parameter.

Parameters:
sReportName - the report that contains the specified parameter field
sFieldName - the parameter field name
newValue - the object that you want to store in the parameter field
Throws:
ReportSDKException