|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReportParameter
The IReportParameter interface represents a single parameter for a particular report.
It allows you to view detailed information about the parameter, and to also add new values to
the parameter values list.
| Nested Class Summary | |
|---|---|
static interface |
IReportParameter.ParameterPickListSortMethod
Deprecated. |
static interface |
IReportParameter.ReportVariableValueType
The type of the parameter value. |
| Method Summary | |
|---|---|
IReportParameterValues |
getCurrentValues()
Returns a collection of the values currently chosen for the parameter. |
IReportParameterValues |
getDefaultValues()
Deprecated. Since 4.0. |
byte[] |
getDynamicCascadePromptData()
Returns a collection that contains dynamic cascading prompt data. |
java.lang.String |
getDynamicCascadePromptGroupID()
Returns a dynamic cascade prompt group ID. |
java.lang.String |
getEditMask()
Returns the mask that defines the format of the value to be input for the prompt. |
int |
getGroupNumber()
Returns the number of the group that the parameter belongs to. |
java.lang.Object |
getMaximumValue()
Returns the maximum value a parameter may have. |
java.lang.Object |
getMinimumValue()
Returns the minimum value a parameter may have. |
ParameterField |
getParameterField()
Returns a ParameterField object that is equivalent to the current IReportParameter
object. |
java.lang.String |
getParameterName()
Returns the name of the parameter. |
java.lang.String |
getPrompt()
Returns the text that prompts the user to enter a value for the parameter. |
java.lang.String |
getReportName()
Returns the name of the report to which the parameter belongs. |
java.lang.String |
getValueDisplayString(java.util.Locale locale)
Returns a localized String representation of the parameter's value. |
int |
getValueType()
Returns the type of the parameter. |
boolean |
isCurrentValueSet()
Shows whether the current value is set or not. |
boolean |
isDataParameter()
For internal use only |
boolean |
isDefaultValueSet()
Deprecated. Since 4.0. |
boolean |
isDiscreteValueSupported()
Indicates whether or not the parameter supports discrete values. |
boolean |
isDynamicCascadePromptAvailable()
Returns a boolean that indicates if this object has dynamic cascading prompts. |
boolean |
isEditingDisallowed()
Returns the flag that indicates whether or not a value that is not a default value can be chosen. |
boolean |
isExclusiveGroupEnabled()
Indicates whether the group the parameter belongs to is mutually exclusive. |
boolean |
isInUse()
Returns a boolean that indicates whether this parameter is in use. |
boolean |
isMultipleValuesEnabled()
Returns whether the user has the choice of having multiple current values for the parameter. |
boolean |
isNullValueEnabled()
Returns whether the user can choose null current values. |
boolean |
isOptionalPrompt()
Indicates whether or not the parameter supports no values. |
boolean |
isPartOfGroup()
Returns whether or not the parameter is part of a group. |
boolean |
isPrerequisiteInfoAvailable()
For internal use only returns true if dependencies are known, otherwise false if we don't know |
boolean |
isPromptOnDemandViewing()
Indicates whether or not parameter values should be prompted for when viewing on-demand reports. |
boolean |
isRangeLimitEnabled()
Returns whether a limit is enabled within which the current value, and default value, will be confined. |
boolean |
isRangeValueSupported()
Indicates whether or not the parameter supports range values. |
boolean |
isShowDescriptionOnlyEnabled()
Returns whether BusinessObjects Enterprise will display only the current value's description, and not its value. |
boolean |
isSortBasedOnDescEnabled()
Returns whether or not the current and default values are sorted based on description. |
void |
setPromptOnDemandViewing(boolean bPromptOnDemand)
Sets whether or not parameter values should be prompted for when viewing on-demand reports. |
| Method Detail |
|---|
IReportParameterValues getCurrentValues()
Returns a collection of the values currently chosen for the parameter.
IReportParameterValues object containing the values currently
chosen for the parameter.IReportParameterValues getDefaultValues()
Returns a collection of the default values that may be chosen to be the current value for the parameter.
IReportParameterValues object containing the values currently
chosen for the parameter.boolean isEditingDisallowed()
Returns the flag that indicates whether or not a value that is not a default value can be chosen.
boolean specifying whether or not a value can be chosen that is not
one of the default values.java.lang.String getEditMask()
Returns the mask that defines the format of the value to be input for the prompt.
String containing the mask that defines the format of the value
to be input for the prompt.boolean isExclusiveGroupEnabled()
Indicates whether the group the parameter belongs to is mutually exclusive.
boolean specifying whether the group the parameter belongs to is
mutually exclusive.boolean isMultipleValuesEnabled()
Returns whether the user has the choice of having multiple current values for the parameter.
boolean specifying whether the user has the choice of having
multiple current values for the parameter.boolean isNullValueEnabled()
Returns whether the user can choose null current values.
boolean specifying whether the user can choose null current values.boolean isRangeLimitEnabled()
Returns whether a limit is enabled within which the current value, and default value, will be confined.
true if a limit is enabled, false otherwise.boolean isShowDescriptionOnlyEnabled()
Returns whether BusinessObjects Enterprise will display only the current value's description, and not its value.
true if only the description will be displayed, false
otherwise.boolean isSortBasedOnDescEnabled()
Returns whether or not the current and default values are sorted based on description.
true if the values will be sorted by description, false
otherwise.int getGroupNumber()
Returns the number of the group that the parameter belongs to.
int specifying the number of the group that the parameter
belongs to.boolean isCurrentValueSet()
Shows whether the current value is set or not.
true if the value is set, false otherwise.boolean isDefaultValueSet()
Shows whether there are any default values.
true if the value is set, false otherwise.java.lang.Object getMaximumValue()
Returns the maximum value a parameter may have. In the case of strings this is the length. This value is only enforced if range checking is enabled.
Object containing the maximum value that a parameter may have.java.lang.Object getMinimumValue()
Returns the minimum value a parameter may have. In the case of strings this is the length. This value is only enforced if range checking is enabled.
Object containing the minimum value that a parameter may have.ParameterField getParameterField()
Returns a ParameterField object that is equivalent to the current IReportParameter
object. This allows manipulation of report parameters for use with the Java Crystal Report Web Viewer.
ParameterField object.java.lang.String getParameterName()
Returns the name of the parameter.
String specifying the name of the parameter.boolean isPartOfGroup()
Returns whether or not the parameter is part of a group.
true if the parameter is part of a group, false
otherwise.boolean isPromptOnDemandViewing()
Indicates whether or not parameter values should be prompted for when viewing on-demand reports.
true if parameter values should be prompted for when viewing on-demand.void setPromptOnDemandViewing(boolean bPromptOnDemand)
Sets whether or not parameter values should be prompted for when viewing on-demand reports.
bPromptOnDemand - true if parameter values should be prompted for when
viewing on-demand.java.lang.String getPrompt()
Returns the text that prompts the user to enter a value for the parameter.
String containing the text that prompts the user to enter a
value for the parameter.java.lang.String getReportName()
Returns the name of the report to which the parameter belongs.
String containing the name of the report to which the parameter belongs.boolean isDiscreteValueSupported()
Indicates whether or not the parameter supports discrete values.
true if the parameter supports discrete values, false
otherwise.boolean isRangeValueSupported()
Indicates whether or not the parameter supports range values.
true if the parameter supports range values, false
otherwise.boolean isOptionalPrompt()
Indicates whether or not the parameter supports no values.
true if the parameter supports no values, false
otherwise.java.lang.String getValueDisplayString(java.util.Locale locale)
Returns a localized String representation of the parameter's value.
locale - A Locale object specifying the locale for which the String
should be displayed.
String representation of the parameter's value.int getValueType()
Returns the type of the parameter. This value is a ReportVariableValueType
constant.
int specifying the type of the parameter. This value is of type
ReportVariableValueType.IReportParameter.ReportVariableValueTypeboolean isInUse()
Returns a boolean that indicates whether this parameter is in use.
true if the parameter is in use, and false otherwise.boolean isDynamicCascadePromptAvailable()
Returns a boolean that indicates if this object has dynamic cascading prompts.
true if this object has dynamic cascading prompts, and false otherwise.
byte[] getDynamicCascadePromptData()
throws SDKException
Returns a collection that contains dynamic cascading prompt data.
byte[] array that contains dynamic cascading prompt data.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getDynamicCascadePromptGroupID()
throws SDKException
Returns a dynamic cascade prompt group ID.
String that identifies the dynamic cascade prompt group ID.
SDKException - This is thrown if the process is unsuccessful.boolean isDataParameter()
boolean isPrerequisiteInfoAvailable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||