Class AbstractReportTransform
- 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
-
- All Implemented Interfaces:
AppTransform,Transform
- Direct Known Subclasses:
AbstractReportDataTransform,AbstractReportExportTransform,ReportDetailsTransform,ReportDetailsXHTMLTransform,ReportExportHTMLTransform,ReportExportPlainTextTransform,ReportGraphImageTransform,ReportIncrementalFetchTransform,ReportOptionsTransform,ReportPageByInfoTransform,ReportQuickLinksTransform,ReportSavePropertiesTransform,ReportToolbarTransform
public abstract class AbstractReportTransform extends AbstractWebBeanTransform
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- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBLANK_SUBSET_REPORT_IDprotected static java.lang.StringBLANK_XDA_REPORT_IDprotected FormalParametercssErrorMessageDeprecated.There are no references to this formal parameter in the applicationprotected FormalParametercssErrorTitleDeprecated.There are no references to this formal parameter anymoreprotected FormalParametercssUseFileContentThis 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 FormalParametergenerateJSForDrillCheckBoxesForIncFetchThis 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 FormalParameteriFrameParaThis is the flag used to indicate wheter the transform will use iframes.protected FormalParameterimgErrorThis is the Image to display when there bean is in Error status.protected FormalParametershowScrollerIndicates if the transform will render navigation scrollers along with the graph image.protected FormalParameteruseBuiltInFormatParaThis is the flag used in the transform to specify whether to use the formatting info from the report definition.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description AbstractReportTransform()default no-args constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanTransform(Transformable data)whether the data is transformable.protected AnchorTaggenerateAnchor(WebEvent event)Overwrites the parent method by setting special attributes if the event is not providedvoidgenerateErrorForIframe(MarkupOutput out, int errorCode, java.lang.String message)Method that generates the error contents when they have to be rendered to the user with an IFrame component.voidgenerateErrorForIframe(MarkupOutput out, java.lang.String title, java.lang.String message, java.lang.String errorInfo, java.lang.String contactInfo, Tag extra)Method that generates the error contents when they have to be rendered to the user with an IFrame component.protected AnchorTaggenerateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)generate the anchor the the incremental fetch in report page.protected voidgenerateIncFetchOpenAnchor(MarkupOutput mo, WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)Deprecated.Please usegenerateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)insteadprotected WebEventgetCancelEvent()protected WebEventgetContinueEvent()Returns aWebEventinstance corresponding to the continue eventjava.lang.StringgetErrorMessage(int errorCode, java.lang.String defaultMessage)Returns the error message for the transform, based on the exception.java.lang.StringgetErrorTitle(int errorCode)Returns the error title for the transform, overwrites by returning title specific about report execution.protected WebEventgetHistoryListEvent()Returns aWebEventinstance corresponding to the go to history list eventprotected WebInboxSourcegetInboxSource()return theWebInboxSourceof this session.java.lang.StringgetJobExpiredMessage()Returns the job expired messageprotected WebEventgetNextColumnsEvent()protected WebEventgetPreviousColumnsEvent()java.lang.StringgetReexecuteButtonDescription()Returns the description of the reexecute buttonprotected ReportBeangetReportBean()return the current report bean.java.lang.StringgetReportStatus(int status)get the report's status as a string representation.static intgetReportStatusDescriptorKey(int status)get the descriptor key for the report status.protected WebEventgetRepromptEvent()Returns aWebEventinstance corresponding to the reprompt eventjava.lang.ClassgetSupportedBeanType()return the bean type supported by this transform.protected WebEventgetViewDetailsEvent()WebEventgetWebReexecuteEvent()Returns aWebEventinstance corresponding to the reexecute eventvoidinitializeImages()initialize the images for the transform.voidinitializeProperties()Initialize the Transform's properties based on Formal Parameters, Bean status, features, etc..voidinitializeTransform(Transformable data)This method initialize the private and protected fields of the transform.voidinitializeWebComponent(Transformable data)Initialize the web component to be used by the transform.booleanisCubeReport()Returnstrueif the report'sobjectSubTypeisEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCubebooleanisDatamart()Returnstrueif the report'sobjectSubTypeisEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamartprotected booleanisDesignMode()This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.protected booleanisIFrameEnabled()whether iframe feature is enabled.booleanisIncRefreshReport()booleanisNonViewableReport()protected voidrenderColumnsIncrementalFetch(MarkupOutput out, WebEvent event, java.lang.String imgCss)voidrenderColumnsIncrementalFetchNext(MarkupOutput out)Generates the arrow for the next set of columns.voidrenderColumnsIncrementalFetchPrevious(MarkupOutput out)Generates the arrow for the previous set of columns.protected voidrenderContinueFormForRequestInError(Tag container, int errorCode)Render the continue form when the status isIn ErrorvoidrenderErrorButtons(MarkupOutput out, int errorCode, java.lang.String message)Deprecated.This method is no longer used by the Transform, all the logic is now in the transformForRequestInErrorvoidrenderErrorInfo(MarkupOutput out, int errorCode, java.lang.String message)Deprecated.This method is no longer used by the Transform, all the logic is now in the transformForRequestInErrorprotected voidrenderHistoryListButton(MarkupOutput out)Renders the History List button for the wait page.voidrenderImage(MarkupOutput out, java.lang.String image)Renders a transform's image.voidrenderJobExpiredSection(MarkupOutput out, java.lang.String title, Tag form)Renders the job expired section, including an error message and an reexecute buttonvoidrenderProcessingButtons(MarkupOutput out)Render the buttons when in processing status.voidrenderProcessingInfo(MarkupOutput out)Transform when the status is "In Processing".protected voidrenderProcessingInfoDetails(MarkupOutput out)Called byrenderProcessingInfo(com.microstrategy.web.beans.MarkupOutput), it renders the detailed information about the report that is being processed, including name, status and description.protected voidrenderViewDetailsButton(MarkupOutput out)Renders the View Details button for the wait page.voidsetWebReexecuteEventArguments(WebEvent __result)Sets the reexecute web event's argumentsvoidtransformForRequestInError(MarkupOutput out)Transform when the status isIn Error.voidtransformForRequestNotInited(MarkupOutput out)Transform when the status isNot initialized.protected booleanuseBuiltInFormat()Check whether the formal parameter "useBuiltInFormatPara" is true or false.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
getReexcuteEventFromBean, getTaskProcessorBaseURL
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeCss, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestProcessing, transformForRequestSuccessful, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.Transform
getDescription, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports
-
-
-
-
Field Detail
-
cssUseFileContent
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.
Allowed Values: TRUE/FALSE.
-
useBuiltInFormatPara
protected FormalParameter useBuiltInFormatPara
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.
-
iFramePara
protected FormalParameter iFramePara
This is the flag used to indicate wheter the transform will use iframes.
Allowed Values: TRUE/FALSE.
-
imgError
protected FormalParameter imgError
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 theresourcesFolderImageapplication configuration parameter.
-
cssErrorTitle
protected FormalParameter cssErrorTitle
Deprecated.There are no references to this formal parameter anymoreThis 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.
-
cssErrorMessage
protected FormalParameter cssErrorMessage
Deprecated.There are no references to this formal parameter in the applicationThis 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.
-
showScroller
protected FormalParameter showScroller
Indicates if the transform will render navigation scrollers along with the graph image.
Allowed Values: TRUE/FALSE- Since:
- MicroStrategy Web 9.0.0
-
generateJSForDrillCheckBoxesForIncFetch
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.
Allowed Values: TRUE/FALSE.- Since:
- MicroStrategy Web 9.0.0
-
BLANK_XDA_REPORT_ID
protected static final java.lang.String BLANK_XDA_REPORT_ID
- See Also:
- Constant Field Values
-
BLANK_SUBSET_REPORT_ID
protected static final java.lang.String BLANK_SUBSET_REPORT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeImages
public void initializeImages()
initialize the images for the transform.- Overrides:
initializeImagesin classAbstractAppTransform
-
initializeTransform
public void initializeTransform(Transformable data)
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- Specified by:
initializeTransformin interfaceAppTransform- Overrides:
initializeTransformin classAbstractAppTransform- Parameters:
data- the bean to transform.
-
initializeWebComponent
public void initializeWebComponent(Transformable data)
Initialize the web component to be used by the transform.- Specified by:
initializeWebComponentin interfaceAppTransform- Overrides:
initializeWebComponentin classAbstractAppTransform- Parameters:
data- the bean to transform.- Since:
- MicroStrategy Web 8.0.0
-
transformForRequestNotInited
public void transformForRequestNotInited(MarkupOutput out)
Transform when the status isNot initialized.- Overrides:
transformForRequestNotInitedin classAbstractAppTransform- Parameters:
out- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestInError
public void transformForRequestInError(MarkupOutput out)
Transform when the status isIn Error.- Overrides:
transformForRequestInErrorin classAbstractAppTransform- Parameters:
out- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
renderContinueFormForRequestInError
protected void renderContinueFormForRequestInError(Tag container, int errorCode)
Render the continue form when the status isIn Error
-
generateErrorForIframe
public void generateErrorForIframe(MarkupOutput out, int errorCode, java.lang.String message)
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)- Parameters:
out-MarkupOutputinstance where to save the HTML output of this methoderrorCode- identifier of the error to be renderedmessage- String with the message to display by default
-
generateErrorForIframe
public void generateErrorForIframe(MarkupOutput out, java.lang.String title, java.lang.String message, java.lang.String errorInfo, java.lang.String contactInfo, Tag extra)
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)- Overrides:
generateErrorForIframein classAbstractWebBeanTransform- Parameters:
out-MarkupOutputinstance where to save the HTML output of this methodtitle- String with the title of the error messagemessage- String with the content of the messageerrorInfo- String with details of the errorcontactInfo- String with the contact informationextra-Taginstance with any other extra content to render to the user as part of the message.- Since:
- MicroStrategy Web 8.0.0
-
renderErrorInfo
public void renderErrorInfo(MarkupOutput out, int errorCode, java.lang.String message)
Deprecated.This method is no longer used by the Transform, all the logic is now in the transformForRequestInErrorRender the message to display to the user in case there is an error.- Parameters:
out- the transform's outputerrorCode- the error's idmessage- the error's message
-
renderErrorButtons
public void renderErrorButtons(MarkupOutput out, int errorCode, java.lang.String message)
Deprecated.This method is no longer used by the Transform, all the logic is now in the transformForRequestInErrorRenders a "continue" or "re-execute" buttons for the user to continue working.- Parameters:
out- the transform's outputerrorCode- the error's idmessage- the error's message
-
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Overwrites the parent method by setting special attributes if the event is not provided- Overrides:
generateAnchorin classAbstractAppTransform- Parameters:
event- WebEvent- Returns:
- AnchorTag
- Since:
- MicroStrategy Web 8.0.0
-
setWebReexecuteEventArguments
public void setWebReexecuteEventArguments(WebEvent __result) throws WebBeanException
Sets the reexecute web event's arguments- Overrides:
setWebReexecuteEventArgumentsin classAbstractWebBeanTransform- Parameters:
__result-WebEventinstance to update- Throws:
WebBeanException- Since:
- MicroStrategy Web 8.0.1
-
getWebReexecuteEvent
public WebEvent getWebReexecuteEvent()
Returns aWebEventinstance corresponding to the reexecute event- Overrides:
getWebReexecuteEventin classAbstractWebBeanTransform- Returns:
- the web reexecute event
- Since:
- MicroStrategy Web 8.0.1
-
getJobExpiredMessage
public java.lang.String getJobExpiredMessage()
Returns the job expired message- Overrides:
getJobExpiredMessagein classAbstractWebBeanTransform- Returns:
- the job expired message.
- Since:
- MicroStrategy Web 8.0.1
-
renderJobExpiredSection
public void renderJobExpiredSection(MarkupOutput out, java.lang.String title, Tag form)
Renders the job expired section, including an error message and an reexecute button- Overrides:
renderJobExpiredSectionin classAbstractWebBeanTransform- Parameters:
out-title-form-
-
getContinueEvent
protected WebEvent getContinueEvent()
Returns aWebEventinstance corresponding to the continue event- Returns:
- a
WebEventinstance to continue browsing if an error happened. - Since:
- MicroStrategy Web 8.0.0
-
getRepromptEvent
protected WebEvent getRepromptEvent()
Returns aWebEventinstance corresponding to the reprompt event- Returns:
- a
WebEventinstance to reprompt the report if an error happened. - Since:
- MicroStrategy Web 9.0.0
-
getErrorTitle
public java.lang.String getErrorTitle(int errorCode)
Returns the error title for the transform, overwrites by returning title specific about report execution.- Overrides:
getErrorTitlein classAbstractAppTransform- Parameters:
errorCode- the error's id- Returns:
- The title for the error message.
-
getErrorMessage
public java.lang.String getErrorMessage(int errorCode, java.lang.String defaultMessage)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".- Overrides:
getErrorMessagein classAbstractAppTransform- Parameters:
errorCode- the error's iddefaultMessage- the error's default message- Returns:
- The error message to render to the user
-
renderProcessingInfo
public void renderProcessingInfo(MarkupOutput out)
Transform when the status is "In Processing".- Overrides:
renderProcessingInfoin classAbstractAppTransform- Parameters:
out-MarkupOutputinstance where to save the output of this method- See Also:
AbstractAppTransform.transformForRequestProcessing(com.microstrategy.web.beans.MarkupOutput)
-
renderProcessingInfoDetails
protected void renderProcessingInfoDetails(MarkupOutput out)
Called byrenderProcessingInfo(com.microstrategy.web.beans.MarkupOutput), it renders the detailed information about the report that is being processed, including name, status and description.- Parameters:
out- MarkupOutput instance where the HTML contents will be saved.- Since:
- MicroStrategy Web 8.0.2
-
renderProcessingButtons
public void renderProcessingButtons(MarkupOutput out)
Render the buttons when in processing status.- Overrides:
renderProcessingButtonsin classAbstractAppTransform- Parameters:
out-MarkupOutputinstance where to save the output of this method- See Also:
AbstractAppTransform.transformForRequestProcessing(com.microstrategy.web.beans.MarkupOutput)
-
getCancelEvent
protected WebEvent getCancelEvent()
- Overrides:
getCancelEventin classAbstractAppTransform- Returns:
WebEventinstance initialized with the information for cancelling a request- Since:
- MicroStrategy Web 8.0.0
-
renderHistoryListButton
protected void renderHistoryListButton(MarkupOutput out) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException, UnmodifiableException
Renders the History List button for the wait page.
It callsgetHistoryListEvent()to obtain the event used for the button
The button is not rendered if:
-getHistoryListEvent()returns null
-AbstractAppTransform.processingButtonsFlagsdoes not haveAbstractAppTransform.PROCESSING_BUTTONS_HISTORY_LIST- Parameters:
out- output for this transform- Throws:
java.lang.IllegalStateExceptionjava.lang.IllegalArgumentExceptionUnmodifiableException- Since:
- MicroStrategy Web 8.0.0
-
getHistoryListEvent
protected WebEvent getHistoryListEvent()
Returns aWebEventinstance corresponding to the go to history list event- Returns:
WebEventinstance initialized with the information for going to the History List (Inbox)- Since:
- MicroStrategy Web 8.0.0
-
renderViewDetailsButton
protected void renderViewDetailsButton(MarkupOutput out) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException, UnmodifiableException
Renders the View Details button for the wait page.
It callsgetViewDetailsEvent()to obtain the event used for the button
The button is not rendered if:
-getViewDetailsEvent()returns null
-AbstractAppTransform.processingButtonsFlagsdoes not haveAbstractAppTransform.PROCESSING_BUTTONS_VIEW_DETAILS- Parameters:
out- output for this transform- Throws:
java.lang.IllegalStateExceptionjava.lang.IllegalArgumentExceptionUnmodifiableException- Since:
- MicroStrategy Web 8.0.0
-
getViewDetailsEvent
protected WebEvent getViewDetailsEvent()
- Returns:
WebEventinstance initialized with the information for viewing the details of the report.- Since:
- MicroStrategy Web 8.0.0
-
getReportStatus
public java.lang.String getReportStatus(int status)
get the report's status as a string representation.- Parameters:
status- the status as an integer- Returns:
- the status string
-
getReportStatusDescriptorKey
public static int getReportStatusDescriptorKey(int status)
get the descriptor key for the report status.- Parameters:
status- the status as an integer- Returns:
- the descriptor key as in integer
-
generateIncFetchAnchor
protected AnchorTag generateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
generate the anchor the the incremental fetch in report page.
-
generateIncFetchOpenAnchor
protected void generateIncFetchOpenAnchor(MarkupOutput mo, WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)
Deprecated.Please usegenerateIncFetchAnchor(WebEvent event, boolean generateJSForDrillCheckBoxesForIncFetch)insteadgenerate the open anchor the the incremental fetch in report page.- Parameters:
mo- theMarkupOutputobjectevent- theWebEventobjectgenerateJSForDrillCheckBoxesForIncFetch- whether the javascript code is generated
-
getReportBean
protected ReportBean getReportBean()
return the current report bean.- Returns:
- the current report bean
-
getInboxSource
protected WebInboxSource getInboxSource()
return theWebInboxSourceof this session.- Returns:
- the WebInboxSource of this session.
-
initializeProperties
public void initializeProperties()
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).
-
isIFrameEnabled
protected boolean isIFrameEnabled()
whether iframe feature is enabled.- Overrides:
isIFrameEnabledin classAbstractAppTransform- Returns:
- whether iframe feature is enabled
-
renderImage
public void renderImage(MarkupOutput out, java.lang.String image)
Renders a transform's image. Extends by including images of this transform.- Overrides:
renderImagein classAbstractAppTransform- Parameters:
out- where to write the output of the method.image- the image name
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
return the bean type supported by this transform.- Specified by:
getSupportedBeanTypein interfaceTransform- Overrides:
getSupportedBeanTypein classAbstractAppTransform- Returns:
- the bean type
-
canTransform
public boolean canTransform(Transformable data)
whether the data is transformable.- Specified by:
canTransformin interfaceTransform- Overrides:
canTransformin classAbstractTransform- Parameters:
data- the data- Returns:
- whether the data is transformable
-
useBuiltInFormat
protected boolean useBuiltInFormat()
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".- Returns:
- the boolean value of the formal parameter
-
getReexecuteButtonDescription
public java.lang.String getReexecuteButtonDescription()
Returns the description of the reexecute button- Overrides:
getReexecuteButtonDescriptionin classAbstractWebBeanTransform- Returns:
- the description of the reexecute button
- Since:
- MicroStrategy Web 8.0.1
-
isDesignMode
protected boolean isDesignMode()
This methods allows the transform to identify if concrete subclasses are designed to work in design mode, or in execute mode.- Returns:
- false by default. Any inherting class should override to implement its own version.
- Since:
- MicroStrategy Web 9.0.0
-
renderColumnsIncrementalFetchPrevious
public void renderColumnsIncrementalFetchPrevious(MarkupOutput out)
Generates the arrow for the previous set of columns.- Parameters:
out- MarkupOutput to generate the HTML.- Since:
- MicroStrategy Web 9.0.0
-
renderColumnsIncrementalFetchNext
public void renderColumnsIncrementalFetchNext(MarkupOutput out)
Generates the arrow for the next set of columns.- Parameters:
out- MarkupOutput to generate the HTML.- Since:
- MicroStrategy Web 9.0.0
-
renderColumnsIncrementalFetch
protected void renderColumnsIncrementalFetch(MarkupOutput out, WebEvent event, java.lang.String imgCss)
- Since:
- MicroStrategy Web 9.0.0
-
getNextColumnsEvent
protected WebEvent getNextColumnsEvent()
- Since:
- MicroStrategy Web 9.0.0
-
getPreviousColumnsEvent
protected WebEvent getPreviousColumnsEvent()
- Since:
- MicroStrategy Web 9.0.0
-
isNonViewableReport
public boolean isNonViewableReport()
- Since:
- MicroStrategy Web 9.0.0
-
isDatamart
public boolean isDatamart()
Returnstrueif the report'sobjectSubTypeisEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamart- Since:
- MicroStrategy Web 9.0.0
-
isCubeReport
public boolean isCubeReport()
Returnstrueif the report'sobjectSubTypeisEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCube- Since:
- MicroStrategy Web 9.0.0
-
isIncRefreshReport
public boolean isIncRefreshReport()
-
-