java.lang.Object | ||||
↳ | com.microstrategy.web.transform.AbstractTransform | |||
↳ | com.microstrategy.web.transform.AbstractLayoutTransform | |||
↳ | com.microstrategy.web.app.transforms.AbstractPromptObjectTransform | |||
↳ | com.microstrategy.web.app.transforms.AbstractPromptExpressionTransform |
![]() |
Title: PromptExpressionBaseTransform.
Description: This is an intermediate class between the AbstractPromptObjectTransform and all other expression
transforms. This transform contains expression prompts specific methods.
This transforms makes use of Tag
instances to render HTML output.
See reference to TagsFactory
.
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public FormalParameter | attrFormTypeInAvailableList | Specifies what attribute forms are to be displayed. | |||||||||
public FormalParameter | defaultOperatorId | Specifies operator Id to be used as default in expression. | |||||||||
public FormalParameter | editMetricQualificationOutputLevel | Specifies whether or not the output level of a metric qualification is editable. | |||||||||
public FormalParameter | inputFromTextFile | Specifies whether or not to display section for uploading prompt answers in text file. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractPromptExpressionTransform()
Default no-args constructor, initialize all the formal parameters.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
renderHiddenInputsForMQEditor(MarkupOutput out)
Renders hidden inputs used in the MQLevel Editor.
| ||||||||||
void |
renderOutputLevelLabel(MarkupOutput out)
Renders label for output level button.
| ||||||||||
void |
renderPromptHiddenInputs(MarkupOutput out)
Renders all hidden inputs of this prompt.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDimtyAsString()
Returns the dimensionality of a metric qualification as a string.
| ||||||||||
String |
getDimtyAttributesAsString()
Returns the dimensionality of a metric qualification as a string.
| ||||||||||
int |
getOutputLevel()
Returns the output level of the prompt if it is a metric qualification prompt
| ||||||||||
boolean |
isBrowserIE6()
Utility method that checks if the browser is IE 6.0 version or higher.
| ||||||||||
boolean | isCart() | ||||||||||
boolean |
isMQLevelEditingSupported()
Indicates whether or not metric qualification level editing is supported or not.
| ||||||||||
boolean |
isNodeComplex(WebNode node)
This method is deprecated.
This method has been deprecated since this is specific to expression prompts.
Use the method on AbstractPromptExpressionTransform. | ||||||||||
boolean |
isNodeDimtyEmpty(WebNode node)
Indicates whether or not node parameter has dimensionality.
| ||||||||||
void |
setExtraArguments()
Sets extra arguments and properties for this prompt.
| ||||||||||
void |
setMetricQualOutputLevelAndDimty()
Determines the output level and dimensionality for current prompt being processed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Specifies what attribute forms are to be displayed.
This formal parameter will only three possible values defined in CartExpression interface:
Specifies operator Id to be used as default in expression.
If this value is set to empty string, then original behavior will be adopted.
Default value is empty string.
Possible values are any constant defined in EnumDSSXMLFunction enumeration which is supported by
any style of Expression prompts.
Specifies whether or not the output level of a metric qualification is editable.
If this value is set to true, a button to open and edit the output level is shown.
This flag is used as a boolean value
Default value is true
.
Specifies whether or not to display section for uploading prompt answers in text file.
Not all prompt types and styles support this functionality, so even if this parameter is true,
this section might not be available.
This flag is used as a boolean value.
Default no-args constructor, initialize all the formal parameters.
Renders hidden inputs used in the MQLevel Editor.
It gets invoked from renderPromptHiddenInputs() if MQ Level editing is supported.
out | where to write the output of the method. |
---|
Renders label for output level button.
out | where to write the output of the method. |
---|
Renders all hidden inputs of this prompt.
The inputs are retrieved from the answer event. It invokes
overriten method and if user has permissions for editing MQ level,
then it invokes renderHiddenInputsForMQEditor() method.
out | the transform output |
---|
Returns the dimensionality of a metric qualification as a string.
Returns the dimensionality of a metric qualification as a string.
Returns the output level of the prompt if it is a metric qualification prompt
Utility method that checks if the browser is IE 6.0 version or higher.
Indicates whether or not metric qualification level editing is supported or not.
This returns TRUE if the user preference is set to DHTML and the browser is IE6 or higher
version and the report is not a XDA/MDX report.
This method is deprecated.
This method has been deprecated since this is specific to expression prompts.
Use the method on AbstractPromptExpressionTransform.
Indicates whether or not given node is considered as complex.
An expression is complex if it cannot be created using the Web interface.
This is used by ExpressionPrompts transforms to determine if the Answer is Complex.
node | the root node of the subexpression to check |
---|
Indicates whether or not node parameter has dimensionality.
Dimty node is empty if given node has dimensionality and its size is 0.
It is required to have MQ level editing supported and permission for editing Metric
Qualification Output level.
node | The node to check. |
---|
Sets extra arguments and properties for this prompt.
It invokes method setMetricQualOutputLevelAndDimty() which sets properties
related to MQ level editing. It invokes its parent method as well.
These arguments will be render later as hidden inputs.
Determines the output level and dimensionality for current prompt being processed.
It parses WebPrompt instance being transformed and sets transform properties for indicating
output level and dimensionality in a formmated text to be used in Metric Level editor.
This function is invoked from setExtraArguments() method.