| java.lang.Object | |||||
| ↳ | com.microstrategy.web.transform.AbstractTransform | ||||
| ↳ | com.microstrategy.web.transform.AbstractLayoutTransform | ||||
| ↳ | com.microstrategy.web.app.transforms.AbstractAppTransform | ||||
| ↳ | com.microstrategy.web.app.transforms.AbstractWebBeanTransform | ||||
| ↳ | com.microstrategy.web.app.transforms.AbstractReportTransform | ||||
AbstractReportTransform is an abstract class extending from AbstractAppTranform.
All functional report transform classes, such as ReportTransformGrid, ReportTransformGraph, ...
are extending from it.
Copyright: Copyright (c) 2001
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected FormalParameter | cssErrorMessage | This field is deprecated. There are no references to this formal parameter in the application | |||||||||
| protected FormalParameter | cssErrorTitle | This field is deprecated. There are no references to this formal parameter anymore | |||||||||
| protected FormalParameter | cssUseFileContent | This is the flag used in the transform to specify whether to show a link to the CSS file or the whole CSS file content. | |||||||||
| protected FormalParameter | generateJSForDrillCheckBoxesForIncFetch | This is the flag which will decide if we need to generate the javascript code required to preserve check boxes for drilling in incremental fetch. | |||||||||
| protected FormalParameter | iFramePara | This is the flag used to indicate wheter the transform will use iframes. | |||||||||
| protected FormalParameter | imgError | This is the Image to display when there bean is in Error status. | |||||||||
| protected FormalParameter | showScroller | Indicates if the transform will render navigation scrollers along with the graph image. | |||||||||
| protected FormalParameter | useBuiltInFormatPara | This is the flag used in the transform to specify whether to use the formatting info from the report definition. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AbstractReportTransform()
default no-args constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
canTransform(Transformable data)
whether the data is transformable.
| ||||||||||
| void |
generateErrorForIframe(MarkupOutput out, int errorCode, String message)
Method that generates the error contents when they have to be
rendered to the user with an IFrame component.
| ||||||||||
| void |
generateErrorForIframe(MarkupOutput out, String title, String message, String errorInfo, String contactInfo, Tag extra)
Method that generates the error contents when they have to be
rendered to the user with an IFrame component.
| ||||||||||
| String |
getErrorMessage(int errorCode, String defaultMessage)
Returns the error message for the transform, based on the exception.
| ||||||||||
| String |
getErrorTitle(int errorCode)
Returns the error title for the transform, overwrites by returning title specific about report execution.
| ||||||||||
| String |
getJobExpiredMessage()
Returns the job expired message
| ||||||||||
| String |
getReexecuteButtonDescription()
Returns the description of the reexecute button
| ||||||||||
| String |
getReportStatus(int status)
get the report's status as a string representation.
| ||||||||||
| static int |
getReportStatusDescriptorKey(int status)
get the descriptor key for the report status.
| ||||||||||
| Class |
getSupportedBeanType()
return the bean type supported by this transform.
| ||||||||||
| WebEvent |
getWebReexecuteEvent()
Returns a
WebEvent instance corresponding to the reexecute event | ||||||||||
| void |
initializeImages()
initialize the images for the transform.
| ||||||||||
| void |
initializeProperties()
Initialize the Transform's properties based on Formal Parameters,
Bean status, features, etc..
| ||||||||||
| void |
initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
| ||||||||||
| void |
initializeWebComponent(Transformable data)
Initialize the web component to be used by the transform.
| ||||||||||
| boolean |
isCubeReport()
Returns
true if the report's objectSubType is
EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCube | ||||||||||
| boolean |
isDatamart()
Returns
true if the report's objectSubType is
EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamart | ||||||||||
| boolean | isIncRefreshReport() | ||||||||||
| boolean | isNonViewableReport() | ||||||||||
| void |
renderColumnsIncrementalFetchNext(MarkupOutput out)
Generates the arrow for the next set of columns.
| ||||||||||
| void |
renderColumnsIncrementalFetchPrevious(MarkupOutput out)
Generates the arrow for the previous set of columns.
| ||||||||||
| void |
renderErrorButtons(MarkupOutput out, int errorCode, String message)
This method is deprecated.
This method is no longer used by the Transform, all the logic is now in the transformForRequestInError
| ||||||||||
| void |
renderErrorInfo(MarkupOutput out, int errorCode, String message)
This method is deprecated.
This method is no longer used by the Transform, all the logic is now in the transformForRequestInError
| ||||||||||
| void |
renderImage(MarkupOutput out, String image)
Renders a transform's image.
| ||||||||||
| void |
renderJobExpiredSection(MarkupOutput out, String title, Tag form)
Renders the job expired section, including an error message and an reexecute button
| ||||||||||
| void |
renderProcessingButtons(MarkupOutput out)
Render the buttons when in processing status.
| ||||||||||
| void |
renderProcessingInfo(MarkupOutput out)
Transform when the status is "In Processing".
| ||||||||||
| void |
setWebReexecuteEventArguments(WebEvent __result)
Sets the reexecute web event's arguments
| ||||||||||
| void |
transformForRequestInError(MarkupOutput out)
Transform when the status is
In Error. | ||||||||||
| void |
transformForRequestNotInited(MarkupOutput out)
Transform when the status is
Not initialized. | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AnchorTag |
generateAnchor(WebEvent event)
Overwrites the parent method by setting special attributes if the event is not provided
| ||||||||||
| AnchorTag |
generateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
generate the anchor the the incremental fetch in report page.
| ||||||||||
| void |
generateIncFetchOpenAnchor(MarkupOutput mo, WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
This method is deprecated.
Please use
generateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
instead
| ||||||||||
| WebEvent | getCancelEvent() | ||||||||||
| WebEvent |
getContinueEvent()
Returns a
WebEvent instance corresponding to the continue event | ||||||||||
| WebEvent |
getHistoryListEvent()
Returns a
WebEvent instance corresponding to the go to history list event | ||||||||||
| WebInboxSource |
getInboxSource()
return the
WebInboxSource of this session. | ||||||||||
| WebEvent | getNextColumnsEvent() | ||||||||||
| WebEvent | getPreviousColumnsEvent() | ||||||||||
| ReportBean |
getReportBean()
return the current report bean.
| ||||||||||
| WebEvent |
getRepromptEvent()
Returns a
WebEvent instance corresponding to the reprompt event | ||||||||||
| WebEvent | getViewDetailsEvent() | ||||||||||
| boolean |
isDesignMode()
This methods allows the transform to identify if concrete subclasses
are designed to work in design mode, or in execute mode.
| ||||||||||
| boolean |
isIFrameEnabled()
whether iframe feature is enabled.
| ||||||||||
| void | renderColumnsIncrementalFetch(MarkupOutput out, WebEvent event, String imgCss) | ||||||||||
| void |
renderHistoryListButton(MarkupOutput out)
Renders the History List button for the wait page.
| ||||||||||
| void |
renderProcessingInfoDetails(MarkupOutput out)
Called by
renderProcessingInfo(MarkupOutput), it renders the detailed information
about the report that is being processed, including name, status and description. | ||||||||||
| void |
renderViewDetailsButton(MarkupOutput out)
Renders the View Details button for the wait page.
| ||||||||||
| boolean |
useBuiltInFormat()
Check whether the formal parameter "useBuiltInFormatPara" is true or false.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractWebBeanTransform
| |||||||||||
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
From class
com.microstrategy.web.transform.AbstractLayoutTransform
| |||||||||||
From class
com.microstrategy.web.transform.AbstractTransform
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.transforms.AppTransform
| |||||||||||
From interface
com.microstrategy.web.transform.Transform
| |||||||||||
This field is deprecated.
There are no references to this formal parameter in the application
This is the css name for the error message.
Allowed Values: String value representing a css class name. It should be defined in a css file included in the page.
This field is deprecated.
There are no references to this formal parameter anymore
This is the css name for the error title.
Allowed Values: String value representing a css class name. It should be defined in a css file included in the page.
This is the flag used in the transform to specify whether to show a link to the CSS file or the whole CSS file content.
Allowed Values: TRUE/FALSE.
This is the flag which will decide if we need to generate the javascript code required to preserve check boxes for drilling in incremental fetch.
Allowed Values: TRUE/FALSE.
This is the flag used to indicate wheter the transform will use iframes.
Allowed Values: TRUE/FALSE.
This is the Image to display when there bean is in Error status.
Allowed Values: 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.
Indicates if the transform will render navigation scrollers along with the graph image.
Allowed Values: TRUE/FALSE
This is the flag used in the transform to specify whether to use the formatting info from the report definition.
Out of box, we map the first preference in Grid preferences section to this formal parameter.
If it's TRUE, WebCSSHelper.getCSS() will give the css class definitions, which is from report formatting defintion.
If it's FALSE, a specified css file will give the css class definitions, which is what formal paramter cssFile means.
Allowed Values: TRUE/FALSE.
default no-args constructor.
whether the data is transformable.
| data | the data |
|---|
Method that generates the error contents when they have to be rendered to the user with an IFrame component. (This will render a hidden DIV for the IFRAME)
| out | MarkupOutput instance where to save the HTML
output of this method |
|---|---|
| errorCode | identifier of the error to be rendered |
| message | String with the message to display by default |
Method that generates the error contents when they have to be rendered to the user with an IFrame component. (This will render a hidden DIV for the IFRAME)
| out | MarkupOutput instance where to save the HTML
output of this method |
|---|---|
| title | String with the title of the error message |
| message | String with the content of the message |
| errorInfo | String with details of the error |
| contactInfo | String with the contact information |
| extra | Tag instance with any other extra content to render
to the user as part of the message. |
Returns the error message for the transform, based on the exception.
Overwrites by returning either the original message, or if none was provided,
an "Error in report results".
| errorCode | the error's id |
|---|---|
| defaultMessage | the error's default message |
Returns the error title for the transform, overwrites by returning title specific about report execution.
| errorCode | the error's id |
|---|
Returns the job expired message
Returns the description of the reexecute button
get the report's status as a string representation.
| status | the status as an integer |
|---|
get the descriptor key for the report status.
| status | the status as an integer |
|---|
return the bean type supported by this transform.
Returns a WebEvent instance corresponding to the reexecute event
initialize the images for the transform.
Initialize the Transform's properties based on Formal Parameters,
Bean status, features, etc..
This method is only invoked when the Bean is ready to display (i.e., it's XMLStatus is succesfull).
This method initialize the private and protected fields of the transform. After calling the initializeTransform on super, it calls initializeProperties if the XMLStatus of the reportBean is WebBeanRequestSuccessful
| data | the bean to transform. |
|---|
Initialize the web component to be used by the transform.
| data | the bean to transform. |
|---|
Returns true if the report's objectSubType is
EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCube
Returns true if the report's objectSubType is
EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamart
Generates the arrow for the next set of columns.
| out | MarkupOutput to generate the HTML. |
|---|
Generates the arrow for the previous set of columns.
| out | MarkupOutput to generate the HTML. |
|---|
This method is deprecated.
This method is no longer used by the Transform, all the logic is now in the transformForRequestInError
Renders a "continue" or "re-execute" buttons for the user to continue working.
| out | the transform's output |
|---|---|
| errorCode | the error's id |
| message | the error's message |
This method is deprecated.
This method is no longer used by the Transform, all the logic is now in the transformForRequestInError
Render the message to display to the user in case there is an error.
| out | the transform's output |
|---|---|
| errorCode | the error's id |
| message | the error's message |
Renders a transform's image. Extends by including images of this transform.
| out | where to write the output of the method. |
|---|---|
| image | the image name |
Renders the job expired section, including an error message and an reexecute button
Render the buttons when in processing status.
| out | MarkupOutput instance where to save
the output of this method
|
|---|
Transform when the status is "In Processing".
| out | MarkupOutput instance where to save
the output of this method
|
|---|
Sets the reexecute web event's arguments
| __result | WebEvent instance to update |
|---|
| WebBeanException | |
| WebBeanException |
Transform when the status is In Error.
| out | output by this transform |
|---|
Transform when the status is Not initialized.
| out | output by this transform |
|---|
Overwrites the parent method by setting special attributes if the event is not provided
| event | WebEvent |
|---|
This method is deprecated.
Please use generateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
instead
generate the open anchor the the incremental fetch in report page.
| mo | the MarkupOutput object |
|---|---|
| event | the WebEvent object |
| generateJSForDrillCheckBoxesForIncFetch | whether the javascript code is generated |
WebEvent instance initialized with the information for cancelling a requestreturn the WebInboxSource of this session.
return the current report bean.
WebEvent instance initialized with the information for viewing the details of the report.This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.
whether iframe feature is enabled.
Renders the History List button for the wait page.
It calls getHistoryListEvent() to obtain the event used for the button
The button is not rendered if:
- getHistoryListEvent() returns null
- processingButtonsFlags does not have PROCESSING_BUTTONS_HISTORY_LIST
| out | output for this transform |
|---|
| IllegalArgumentException | |
|---|---|
| IllegalStateException | |
| UnmodifiableException |
Called by renderProcessingInfo(MarkupOutput), it renders the detailed information
about the report that is being processed, including name, status and description.
| out | MarkupOutput instance where the HTML contents will be saved. |
|---|
Renders the View Details button for the wait page.
It calls getViewDetailsEvent() to obtain the event used for the button
The button is not rendered if:
- getViewDetailsEvent() returns null
- processingButtonsFlags does not have PROCESSING_BUTTONS_VIEW_DETAILS
| out | output for this transform |
|---|
| IllegalArgumentException | |
|---|---|
| IllegalStateException | |
| UnmodifiableException |
Check whether the formal parameter "useBuiltInFormatPara" is true or false.
If it's true, the transform uses built-in format of the report;
If it's false, the transform uses some css file specified in another formal parameter "cssFile".