java.lang.Object | |||||
↳ | com.microstrategy.web.transform.AbstractTransform | ||||
↳ | com.microstrategy.web.transform.AbstractLayoutTransform | ||||
↳ | com.microstrategy.web.app.transforms.AbstractAppTransform | ||||
↳ | com.microstrategy.web.app.transforms.PromptsClassicTransform | ||||
↳ | com.microstrategy.web.app.transforms.PromptsIFrameTransform |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ARGUMENT_PANE_QUALIFY | Specifies constant for identifying whether or not pane is in 'qualify' mode. | |||||||||
int | ARGUMENT_PANE_SELECT | Specifies constant for identifying whether or not pane is in 'select' mode. | |||||||||
int | ARGUMENT_PANE_STATUS | Specifies constant for identifying whether or not pane is in 'status' mode. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | _attributeImage | ||||||||||
protected String | _attributeLockedImage | ||||||||||
protected String | _elementImage | ||||||||||
protected String | _folderImage | ||||||||||
protected String | _hierarchyImage | ||||||||||
protected int | _promptPosition | ||||||||||
protected Vector | _treeList | ||||||||||
public FormalParameter | attributeImage | Specifies the image to use to represent an attribute object in tree. | |||||||||
public FormalParameter | attributeLockedImage | Specifies the image to use to represent a locked attribute object in tree. | |||||||||
public FormalParameter | elementImage | Specifies the image to use to represent an attribute's eleement object in tree. | |||||||||
public FormalParameter | folderImage | Specifies the image to use to represent a folder object in tree. | |||||||||
public FormalParameter | hierarchyImage | Specifies the image to use to represent a hierarchy object in tree. | |||||||||
public FormalParameter | imgError | Specifies the image to use to highlight an error in a prompt. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PromptsIFrameTransform()
Default no-args constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
canTransform(Transformable data)
whether the data is transformable.
| ||||||||||
String |
getDescription()
Return description for this Transform.
| ||||||||||
String |
getID()
Returns the unique name of the component to be used as the ID for its shell
| ||||||||||
void |
initializeImages()
Initialize the images to be used by this transform.
| ||||||||||
void | initializeTransform(Transformable data) | ||||||||||
void |
renderAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level)
This method is deprecated.
This method is not used anymore and will be removed in future versions of the product.
| ||||||||||
void |
renderJavaScriptFooter(MarkupOutput out)
Renders javascript variables at the bottom of the transform to be used in DHTML mode.
| ||||||||||
void |
renderPromptErrorMessage(MarkupOutput out)
Displays a localized generic error message to end-users.
| ||||||||||
boolean |
supports(Transformable data)
Indicates whether or not this object is supported.
| ||||||||||
boolean |
supports(Class c)
Indicates whether given Class is supported.
| ||||||||||
void |
transformForRequestSuccessful(MarkupOutput out)
Execute transform on PromptBean when the status is "Successful".
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addIncrementalFetchNode(String displayName, String id, int blockBegin, int iBlockCount, int level, WebAttribute attribute, WebDisplayUnit hierarchy, String cssClass)
Adds incremental fetch node to prompt tree node being expanded.
| ||||||||||
TreeNode |
addTreeNodeToList(WebDisplayUnit item, int level)
Adds tree node to prompt tree list.
| ||||||||||
WebDimensionAttribute |
getDimensionAttribute(WebDisplayUnit unit)
Returns the same object if it's already WebDimensionAttribute,
otherwise
| ||||||||||
String |
getErrorMessage(WebBeanError promptError)
Returns a localized error message.
| ||||||||||
WebDisplayUnit |
getFirstHighlightedItem(WebDisplayUnits units)
Returns the first highlighted item found
| ||||||||||
String |
getIFrameErrorMessage(WebBeanError promptError)
Returns IFrame error mesasage.
| ||||||||||
WebEvent |
getPromptEvent(int eventId)
Indicates a Prompt event based on Event Id passed in.
| ||||||||||
PromptObject |
getPromptObj()
Returns current instance of
PromptObject . | ||||||||||
int |
getPromptPosition(RequestKeys keys)
Determines prompt position from request.
| ||||||||||
WebPrompt |
getWebPrompt()
Returns current
WebPrompt instance. | ||||||||||
boolean |
hasAccessGranted(WebObjectInfo objInfo)
Indicates whether or not current user has access granted to given WebObjectInfo instance.
| ||||||||||
void |
initializeTreeImages()
Initializes this prompt images.
| ||||||||||
boolean |
isBrowseDimensionAttributeElementsEvent()
Indicates whether or not, given event is of type 'browse dimension attribute elements'.
| ||||||||||
boolean |
isBrowseElementsEvent()
Indicates whether or not, given event is of type 'browse elements'.
| ||||||||||
boolean |
isBrowseFolderEvent()
Indicates whether or not, given event is of type 'browse folder'.
| ||||||||||
boolean |
isBrowseHierarchyEvent()
Indicates whether or not given event is Hierarchy type.
| ||||||||||
boolean |
isHighlightDimensionAttributeEvent()
Indicates whether or not, given event is of type 'highlight dimension attribute'.
| ||||||||||
boolean |
isLocked(WebDisplayUnit unit)
function for determining whether given unit is locked up.
| ||||||||||
boolean |
isSAPExpression()
Check whether the prompt is a SAP Expression Prompt
| ||||||||||
boolean |
isSearchPossible(WebDisplayUnit unit)
Checks whether it's possible to filter elements based on the display unit
| ||||||||||
boolean |
isXDA_MDX_Report()
Indicates whether or not this a prompted MDX Report.
| ||||||||||
void |
processTreeAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level)
Populates the tree with all attribute's elements.
| ||||||||||
void |
processTreeList()
Process prompt tree request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Specifies constant for identifying whether or not pane is in 'qualify' mode.
Specifies constant for identifying whether or not pane is in 'select' mode.
Specifies constant for identifying whether or not pane is in 'status' mode.
Specifies the image to use to represent an attribute object in tree.
Specifies the image to use to represent a locked attribute object in tree.
Specifies the image to use to represent an attribute's eleement object in tree.
Specifies the image to use to represent a hierarchy object in tree.
Specifies the image to use to highlight an error in a prompt.
The value to indicate should be a valid image file name, with any necessary path information not included already on the
resourcesFolderImage
application configuration parameter.
Default no-args constructor.
Initialize all Formal Parameters.
whether the data is transformable.
data | the data |
---|
Return description for this Transform.
Returns the unique name of the component to be used as the ID for its shell
Initialize the images to be used by this transform.
Initializes prompt transform
It converts Transformable
data parameter into a PromptsBean
instance.
Transform can be used from Schedule or Subscription featueres.
data | Transformable object to be transformed. |
---|
This method is deprecated.
This method is not used anymore and will be removed in future versions of the product.
Renders output for all attribute's elements.
dimAttr | WebDimensionAttribute attribute where elements are parsed from. |
---|---|
hierarchy | WebDisplayUnit where dimAttr belongs to. |
level | int value for indicating level of indentation |
WebObjectsException} exception thrown if occurred. | |
WebObjectsException |
Renders javascript variables at the bottom of the transform to be used in DHTML mode.
Overrides renderJavaScriptFooter
by not generating any output.
out | where to write the output of the method. |
---|
Displays a localized generic error message to end-users.
Error is displayed mostly when a validation fails either in backend or SDK.
It is enabled in all prompt types and styles.
out | MarkupOutput the transform output |
---|
Indicates whether or not this object is supported.
data | Transformable to be checked |
---|
Indicates whether given Class is supported.
c | Class to be checked |
---|
Execute transform on PromptBean when the status is "Successful".
out | MarkupOutput instance where to write the output of the method. |
---|
Adds incremental fetch node to prompt tree node being expanded.
It only adds this functionality if number of element exceed block count settings.
displayName | String text describing incremental fetch |
---|---|
id | String unique id |
blockBegin | int index |
iBlockCount | int index |
level | int how deep in tree to be rendered new tree node. |
attribute | WebAttribute instance being parsed |
hierarchy | WebDisplayUnit instance where attribute belong to. |
cssClass | String CSS for formatting node output. |
Adds tree node to prompt tree list.
item | WebDisplayUnit being parsed |
---|---|
level | int tree node level |
Returns the same object if it's already WebDimensionAttribute, otherwise
unit | display unit to check |
---|
Returns a localized error message.
Error message is associated to promptError code returned by SDK. It's
associated to a generic error message to be displayed.
promptError | instance of WebBeanError, most likely an validation error thrown in process prompt phase. |
---|
Returns the first highlighted item found
units | display units to check |
---|
Returns IFrame error mesasage.
Indicates a Prompt event based on Event Id passed in.
eventId | int associated to a Prompt event. |
---|
Returns current instance of PromptObject
.
Determines prompt position from request.
keys | RequestKeys request |
---|
Indicates whether or not current user has access granted to given WebObjectInfo instance.
objInfo | WebObjectInfo instance which user is validated against |
---|
Initializes this prompt images.
It invokes parent method so all shared images get initialized as well.
Indicates whether or not, given event is of type 'browse dimension attribute elements'.
*
Indicates whether or not, given event is of type 'browse elements'.
*
Indicates whether or not, given event is of type 'browse folder'.
*
Indicates whether or not given event is Hierarchy type.
Indicates whether or not, given event is of type 'highlight dimension attribute'.
*
function for determining whether given unit is locked up.
unit | display unit to check |
---|
Check whether the prompt is a SAP Expression Prompt
EnumDSSXMLExpressionType.DssXmlExpressionMDXSAPVariable
Checks whether it's possible to filter elements based on the display unit
unit | the display unit for which we want to check: |
---|
Indicates whether or not this a prompted MDX Report.
Populates the tree with all attribute's elements.
dimAttr | WebDimensionAttribute attribute where elements are parsed from. |
---|---|
hierarchy | WebDisplayUnit where dimAttr belongs to. |
level | int value for indicating level of indentation |
WebObjectsException} exception thrown if occurred. | |
WebObjectsException |
Process prompt tree request.
It constructs and expands new tree node based on request values.