public interface IReportParameters
Contains all input IParameter items for any report
prompts, where the key is the parameter name from the report and the values are a
string array containing the input values.
Initially retrieved using the IApplicationService.getParametersForReport(String)
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAllParameterNames()
Gets all the report parameter names.
|
IParameter |
getParameter(java.lang.String parameterName)
Gets the parameter information which has name,
data type, default values, and values.
|
java.lang.String[] |
getParameterValue(java.lang.String parameterName)
Gets the value for a specified parameter.
|
void |
setParameterValue(java.lang.String parameterName,
java.lang.String... values)
Sets the value for a specified parameter to pass to the report.
|
java.util.Set<java.lang.String> getAllParameterNames()
void setParameterValue(java.lang.String parameterName,
java.lang.String... values)
Sets the value for a specified parameter to pass to the report. Depending on the type of the parameter, you must provide the values in the correct formats:
xsdByte
xsdDate - (YYYY-MM-DD)
xsdDateTime - (YYYY-MM-DDThh:mm:ss.fff)
xsdDecimal
xsdDouble
xsdDuration - (Specifies a time interval.
The time interval is specified using the ISO 8601 format PnYnMnDTnHnMnS. In this format,
parameterName - (required) name of the parametervalues - (required) one or more values for the parameterInvalidArgumentException - if the specified parameterName does not exist in
the set of parameters provided by the report calljava.lang.String[] getParameterValue(java.lang.String parameterName)
parameterName - (required) name of the parameterIParameter getParameter(java.lang.String parameterName)
parameterName - (required) name of the parameter
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.