Class ReportDetailsXHTMLTransform
- 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
-
- com.microstrategy.web.app.transforms.ReportDetailsXHTMLTransform
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
public class ReportDetailsXHTMLTransform extends AbstractReportTransform implements LayoutTransform
This transform is used to show details of a report. It has details like report name, report path, report SQL, report filters and some other things.
The output of this Transform generates well-formed XHTML, and it's designed to use external css files for all formatting.- Since:
- MicroStrategy Web 8.0.0
-
-
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 static int
DISPLAY_DYNAMIC_DATES_AS_DYNAMIC
static int
DISPLAY_DYNAMIC_DATES_AS_STATIC
FormalParameter
dynamicDateDisplay
FormalParameter
expandEmbeddedFilter
This is the formal parameter which will decide if we want to show the embedded filter details or just the embedded filter names.static java.lang.String
FP_LEVEL_FLAG
Constant specifying the name of the formal parameter for defining the level flag.static int
LEVEL_ALL
Deprecated.please use the layout xml instead Value = 0xfffffffstatic int
LEVEL_BASE_FILTER_NAME
Deprecated.please use the layout xml instead Value = 33554432static int
LEVEL_COLUMN_COUNT
Deprecated.please use the layout xml instead Value = 256static int
LEVEL_DESCRIPTION
Deprecated.please use the layout xml insteadstatic int
LEVEL_ENABLE_TOGGLE_ADVANCED_DETAILS
Deprecated.please use the layout xml instead Value = 67108864static int
LEVEL_FINISH_TIME
Deprecated.please use the layout xml instead Value = 32768static int
LEVEL_ID
Deprecated.please use the layout xml insteadstatic int
LEVEL_JOB_ID
Deprecated.please use the layout xml instead Value = 268435456static int
LEVEL_MESSAGE_CREATED
Deprecated.please use the layout xml instead Value = 4096static int
LEVEL_MESSAGE_ID
Deprecated.please use the layout xml instead Value = 65536static int
LEVEL_MESSAGE_UPDATED
Deprecated.please use the layout xml instead Value = 8192static int
LEVEL_MODIFIED
Deprecated.please use the layout xml instead Value = 134217728static int
LEVEL_NAME
Deprecated.please use the layout xml insteadstatic int
LEVEL_OWNER
Deprecated.please use the layout xml insteadstatic int
LEVEL_PATH
Deprecated.please use the layout xml insteadstatic int
LEVEL_PROMPT_DETAILS
Deprecated.please use the layout xml instead Value = 8388608static int
LEVEL_REPORT_DESCRIPTION
Deprecated.please use the layout xml instead Value = 536870912static int
LEVEL_REPORT_FILTER
Deprecated.please use the layout xml instead Value = 524288static int
LEVEL_REPORT_LIMIT
Deprecated.please use the layout xml instead Value = 131072static int
LEVEL_REPORT_SQL
Deprecated.please use the layout xml instead Value = 16777216static int
LEVEL_REPORT_TYPE
Deprecated.please use the layout xml instead Value = 1024static int
LEVEL_ROW_COUNT
Deprecated.please use the layout xml insteadstatic int
LEVEL_SERVER_NAME
Deprecated.please use the layout xml insteadstatic int
LEVEL_START_TIME
Deprecated.please use the layout xml instead Value = 16384static int
LEVEL_STATUS
Deprecated.please use the layout xml instead Value = 512static int
LEVEL_TEMPLATE_DETAILS
Deprecated.please use the layout xml instead Value = 4194304static int
LEVEL_TEMPLATE_NAME
Deprecated.please use the layout xml instead Value = 262144static int
LEVEL_VIEW_FILTER
Deprecated.please use the layout xml instead Value = 1048576FormalParameter
levelFlag
Deprecated.please use the layout xml insteadFormalParameter
reportDetailsTxtAreaCols
Parameter to specify the number of columns for the Report DetailsTEXTAREA
.FormalParameter
reportDetailsTxtAreaRows
Parameter to specify the number of rows for the Report DetailsTEXTAREA
.FormalParameter
reportPathStylePara
Parameter to specify the Style name used to show the report path.FormalParameter
sqlTxtAreaCols
Parameter to specify the number of columns for the SQL Textarea.FormalParameter
sqlTxtAreaRows
Parameter to specify the number of rows for the SQL Textarea.protected static java.lang.String
TEMPLATE_DETAILS_ATTRIBUTES
Key for the template details to identify attribute informationprotected static java.lang.String
TEMPLATE_DETAILS_METRICS
Key for the template details to identify metric information-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
BLANK_SUBSET_REPORT_ID, BLANK_XDA_REPORT_ID, cssErrorMessage, cssErrorTitle, cssUseFileContent, generateJSForDrillCheckBoxesForIncFetch, iFramePara, imgError, showScroller, useBuiltInFormatPara
-
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 ReportDetailsXHTMLTransform()
Default no-args constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canTransform(Transformable data)
Overrides canTransform by returning always true.boolean
checkLevel(int level)
Deprecated.use layout xml instead.java.lang.String
getAdvancedDivId()
Generate the id of the div that holds the advanced detail information.java.util.Map
getAttributesShellDiv()
Returns a Map with the list of attributes that the shell div must use.java.lang.String
getCssClassName(java.lang.String cssName)
Generate the css class name used by this transform.java.lang.String
getDescription()
Returns the description for this Transformjava.lang.String
getEncodedMessageID()
Get the message identifier then encrypt it form layout.java.lang.String
getEncodedReportID()
Get the identifier information after encoded.protected WebEvent
getExecuteEvent(WebMessage message)
Returns an event to execute the report.java.lang.String
getFinishTime()
Get the finish time from theReportBean
being displayed.java.lang.String
getJobID()
Get the job identifier fromReportBean
being displayed.java.lang.String
getMessageCreationTime()
Get the message creation time from theReportBean
being displayedjava.lang.String
getMessageID()
Get the message identifier from theReportBean
.java.lang.String
getMessageModificationTime()
Get the message modification time from theReportBean
being displayed.java.lang.String
getModifiedInformation()
Get the modification information from theReportBean
being displayedjava.lang.String
getReportCube()
Get the report cube for theReportBean
being displayedjava.lang.String
getReportDescription()
Get the report description from theReportBean
being displayedjava.util.Map
getReportDetailAttrs()
Collect all the attribute/value(s) to specify the rendering of the report detail text area.java.lang.String
getReportDetails()
Get report details from theReportBean
being displayed.java.lang.String
getReportID()
Get the identifier information from theReportBean
being displayed.protected WebMessage
getReportMessage()
java.lang.String
getReportOwner()
Get report owner information from theReportBean
being displayedprotected TransformInstance
getReportPathTransform(ReportBean rb)
Deprecated.not used anymorejava.lang.String
getReportSQL()
Get report SQL from theReportBean
being displayed.java.lang.String
getReportSQLLabel()
Get the report SQL label based on report type.java.lang.String
getReportStatus()
Get the status information from theReportBean
being displayedjava.lang.String
getReportStatus(int status)
ExtendsgetReportStatus()
by providing custom message for some statusjava.lang.String
getReportType()
Get the report type from theReportBean
being displayed.java.lang.String
getServerName()
Get the server name form theReportBean
.protected WebEvent
getShowDetailsEvent(WebMessage message)
Generate theWebEvent
instance to be used for showing the details of the report (to refresh the page information).java.lang.String
getStartTime()
Get the start time from theReportBean
being displayed.java.lang.Class
getSupportedBeanType()
Get the class of objects this transform is able to handle.protected void
getTemplateDetails(java.util.Hashtable templateDetails)
Obtain from theReportBean
instance the template details informationint
getTotalColumns()
Get the total number of columns information from theReportBean
.int
getTotalRows()
Get the total number of rows information from theReportBean
.WebEvent
getWebReexecuteEvent()
Returns aWebEvent
instance corresponding to the reexecute eventprotected void
initializeReportMessage()
Obtains theWebMessage
instance out of theReportBean
being transformed, for initializing the property of this transform.void
initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.boolean
isReportAdvancedAreaExpanded()
Determines based on the formal parameter if the advanced report information are is requested to be expanded or notboolean
isReportAdvancedAreaVisible()
Deprecated.please use the layout xml instead.boolean
isReportDetailsAreaVisible()
Deprecated.use layout xml instead.boolean
isReportInError()
Check to see if the report is in error or not.boolean
isReportReady()
void
renderAdvancedAreaJavaScript(MarkupOutput out)
Renders JavaScript (if any) that will be related with the advanced information area for the report.void
renderAdvancedDetailsButton(MarkupOutput out)
Render the button that will allow users to show or not the advanced details information about the report.void
renderAdvancedDetailsButton(MarkupOutput out, boolean requestExpand)
Render the button that will allow users to show or not the advanced details information about the report.void
renderFinishTime(MarkupOutput out)
Render the finish time information of theReportBean
being displayedvoid
renderJobID(MarkupOutput out)
Render the job identifier information of theReportBean
being displayedvoid
renderMessageCreated(MarkupOutput out)
Render the message created information of theReportBean
being displayedvoid
renderMessageID(MarkupOutput out)
Render the message identifier information of theReportBean
being displayedvoid
renderMessageUpdated(MarkupOutput out)
Render the message updated information of theReportBean
being displayedvoid
renderModifiedInformation(MarkupOutput out)
Render the modification information of theReportBean
being displayedvoid
renderNewLine(MarkupOutput out)
Render a new line character.void
renderPromptSummaryAnswerInformation(MarkupOutput out)
Render the prompt summary information of theReportBean
being displayedvoid
renderReportDescription(MarkupOutput out)
Render the description information of theReportBean
being displayedvoid
renderReportDetails(MarkupOutput out)
render new report details.void
renderReportFilterInformation(MarkupOutput out)
Render the report filter information of theReportBean
being displayedvoid
renderReportID(MarkupOutput out)
Render the identifier information of theReportBean
being displayedvoid
renderReportLimitInformation(MarkupOutput out)
Render the report limit information of theReportBean
being displayedvoid
renderReportName(MarkupOutput out)
Render the name information of theReportBean
being displayedvoid
renderReportOwner(MarkupOutput out)
Render the report owner information of theReportBean
being displayedvoid
renderReportPath(MarkupOutput out)
Render the path location information of theReportBean
being displayedvoid
renderReportSQL(MarkupOutput out)
Render the SQL information of theReportBean
being displayedvoid
renderReportStatus(MarkupOutput out)
Render the status information of theReportBean
being displayedvoid
renderReportType(MarkupOutput out)
Render the report type information of theReportBean
being displayedvoid
renderServerName(MarkupOutput out)
Render the server name information of theReportBean
being displayedvoid
renderStartTime(MarkupOutput out)
Render the start time information of theReportBean
being displayedvoid
renderTemplateDetailsInformation(MarkupOutput out)
Render the template details information of theReportBean
being displayedvoid
renderTemplateNameInformation(MarkupOutput out)
Render the template name information of theReportBean
being displayedvoid
renderTotalColumns(MarkupOutput out)
Render the total columns information of theReportBean
being displayedvoid
renderTotalRows(MarkupOutput out)
Render the total rows information of theReportBean
being displayedvoid
renderViewFilterInformation(MarkupOutput out)
Render the view filter information of theReportBean
being displayedboolean
shouldRenderAdvancedAreaExpanded()
check to see if advanced area should be rendered as expanded or not.boolean
shouldRenderPromptDetails()
Check to see if prompt details should be rendered or not.boolean
shouldRenderTemplate()
Deprecated.use layout xml instead.void
transformForRequestInError(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "Error".void
transformForRequestProcessing(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "processing" (ie the report is still executing).void
transformForRequestSuccessful(MarkupOutput out)
Transform when the bean status which is transformed by this transform is "Successful".void
transformForRequestWaitingForUserInput(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "waiting for user input (prompts)".-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
generateAnchor, generateErrorForIframe, generateErrorForIframe, generateIncFetchAnchor, generateIncFetchOpenAnchor, getCancelEvent, getContinueEvent, getErrorMessage, getErrorTitle, getHistoryListEvent, getInboxSource, getJobExpiredMessage, getNextColumnsEvent, getPreviousColumnsEvent, getReexecuteButtonDescription, getReportBean, getReportStatusDescriptorKey, getRepromptEvent, getViewDetailsEvent, initializeImages, initializeProperties, initializeWebComponent, isCubeReport, isDatamart, isDesignMode, isIFrameEnabled, isIncRefreshReport, isNonViewableReport, renderColumnsIncrementalFetch, renderColumnsIncrementalFetchNext, renderColumnsIncrementalFetchPrevious, renderContinueFormForRequestInError, renderErrorButtons, renderErrorInfo, renderHistoryListButton, renderImage, renderJobExpiredSection, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoDetails, renderViewDetailsButton, setWebReexecuteEventArguments, transformForRequestNotInited, useBuiltInFormat
-
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, 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
-
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.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform
-
-
-
-
Field Detail
-
LEVEL_NAME
public static final int LEVEL_NAME
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display object's name.
Value = 1- See Also:
- Constant Field Values
-
LEVEL_DESCRIPTION
public static final int LEVEL_DESCRIPTION
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display object's description.
Value = 2- See Also:
- Constant Field Values
-
LEVEL_OWNER
public static final int LEVEL_OWNER
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display object's owner.
Value = 4- See Also:
- Constant Field Values
-
LEVEL_ID
public static final int LEVEL_ID
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display object's identifier.
Value = 8- See Also:
- Constant Field Values
-
LEVEL_SERVER_NAME
public static final int LEVEL_SERVER_NAME
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display the name of the server where the object is located.
Value = 32- See Also:
- Constant Field Values
-
LEVEL_PATH
public static final int LEVEL_PATH
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display the path information of where the object is.
Value = 64- See Also:
- Constant Field Values
-
LEVEL_ROW_COUNT
public static final int LEVEL_ROW_COUNT
Deprecated.please use the layout xml insteadAllowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's row count information.
Value = 128- See Also:
- Constant Field Values
-
LEVEL_COLUMN_COUNT
public static final int LEVEL_COLUMN_COUNT
Deprecated.please use the layout xml instead Value = 256Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's column count information.- See Also:
- Constant Field Values
-
LEVEL_STATUS
public static final int LEVEL_STATUS
Deprecated.please use the layout xml instead Value = 512Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's status information.- See Also:
- Constant Field Values
-
LEVEL_REPORT_TYPE
public static final int LEVEL_REPORT_TYPE
Deprecated.please use the layout xml instead Value = 1024Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's report type.- See Also:
- Constant Field Values
-
LEVEL_MESSAGE_CREATED
public static final int LEVEL_MESSAGE_CREATED
Deprecated.please use the layout xml instead Value = 4096Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's message created information.- See Also:
- Constant Field Values
-
LEVEL_MESSAGE_UPDATED
public static final int LEVEL_MESSAGE_UPDATED
Deprecated.please use the layout xml instead Value = 8192Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's message updated information.- See Also:
- Constant Field Values
-
LEVEL_START_TIME
public static final int LEVEL_START_TIME
Deprecated.please use the layout xml instead Value = 16384Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's start time information.- See Also:
- Constant Field Values
-
LEVEL_FINISH_TIME
public static final int LEVEL_FINISH_TIME
Deprecated.please use the layout xml instead Value = 32768Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's finish time information.- See Also:
- Constant Field Values
-
LEVEL_MESSAGE_ID
public static final int LEVEL_MESSAGE_ID
Deprecated.please use the layout xml instead Value = 65536Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's message identifier information.- See Also:
- Constant Field Values
-
LEVEL_REPORT_LIMIT
public static final int LEVEL_REPORT_LIMIT
Deprecated.please use the layout xml instead Value = 131072Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's limit information.- See Also:
- Constant Field Values
-
LEVEL_TEMPLATE_NAME
public static final int LEVEL_TEMPLATE_NAME
Deprecated.please use the layout xml instead Value = 262144Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's template name.- See Also:
- Constant Field Values
-
LEVEL_REPORT_FILTER
public static final int LEVEL_REPORT_FILTER
Deprecated.please use the layout xml instead Value = 524288Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's report filter information.- See Also:
- Constant Field Values
-
LEVEL_VIEW_FILTER
public static final int LEVEL_VIEW_FILTER
Deprecated.please use the layout xml instead Value = 1048576Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's view filter information.- See Also:
- Constant Field Values
-
LEVEL_TEMPLATE_DETAILS
public static final int LEVEL_TEMPLATE_DETAILS
Deprecated.please use the layout xml instead Value = 4194304Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's template details.- See Also:
- Constant Field Values
-
LEVEL_PROMPT_DETAILS
public static final int LEVEL_PROMPT_DETAILS
Deprecated.please use the layout xml instead Value = 8388608Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's prompt information.- See Also:
- Constant Field Values
-
LEVEL_REPORT_SQL
public static final int LEVEL_REPORT_SQL
Deprecated.please use the layout xml instead Value = 16777216Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's SQL information.- See Also:
- Constant Field Values
-
LEVEL_BASE_FILTER_NAME
public static final int LEVEL_BASE_FILTER_NAME
Deprecated.please use the layout xml instead Value = 33554432Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's filter name.- See Also:
- Constant Field Values
-
LEVEL_ENABLE_TOGGLE_ADVANCED_DETAILS
public static final int LEVEL_ENABLE_TOGGLE_ADVANCED_DETAILS
Deprecated.please use the layout xml instead Value = 67108864Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display a button for showing or hiding advanced details.- See Also:
- Constant Field Values
-
LEVEL_MODIFIED
public static final int LEVEL_MODIFIED
Deprecated.please use the layout xml instead Value = 134217728Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display report's modified information.- See Also:
- Constant Field Values
-
LEVEL_JOB_ID
public static final int LEVEL_JOB_ID
Deprecated.please use the layout xml instead Value = 268435456Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the object's job identifier information.- See Also:
- Constant Field Values
-
LEVEL_REPORT_DESCRIPTION
public static final int LEVEL_REPORT_DESCRIPTION
Deprecated.please use the layout xml instead Value = 536870912Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display the report description.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
LEVEL_ALL
public static final int LEVEL_ALL
Deprecated.please use the layout xml instead Value = 0xfffffffAllowed value for thelevelFlag
formal parameter. Convenience flag to indicate all possible LEVEL values.- See Also:
- Constant Field Values
-
FP_LEVEL_FLAG
public static final java.lang.String FP_LEVEL_FLAG
Constant specifying the name of the formal parameter for defining the level flag. Value is levelFlag.- See Also:
- Constant Field Values
-
levelFlag
public FormalParameter levelFlag
Deprecated.please use the layout xml insteadIndicates the level of information to use when displaying the report details.
The information may include object name, description, row count, sql details and other information. Multiple fields might be rendered at the same time. For indicating which fields to show, the value to assign to this formal parameter should be a bitwise flag combining constants such asLEVEL_NAME
,LEVEL_DESCRIPTION
,LEVEL_OWNER
, etc.
Usage: If name, description and owner should be displayed, the value to assign to the formal parameter would be 7 (1 + 2 + 4). Default value isLEVEL_ALL
-
reportDetailsTxtAreaRows
public FormalParameter reportDetailsTxtAreaRows
Parameter to specify the number of rows for the Report DetailsTEXTAREA
.
Allowed Values: any integer value
-
reportDetailsTxtAreaCols
public FormalParameter reportDetailsTxtAreaCols
Parameter to specify the number of columns for the Report DetailsTEXTAREA
.
Allowed Values: any integer value
-
sqlTxtAreaRows
public FormalParameter sqlTxtAreaRows
Parameter to specify the number of rows for the SQL Textarea.
Allowed Values: integer values
-
sqlTxtAreaCols
public FormalParameter sqlTxtAreaCols
Parameter to specify the number of columns for the SQL Textarea.
Allowed Values: integer values
-
reportPathStylePara
public FormalParameter reportPathStylePara
Parameter to specify the Style name used to show the report path. This has to match one of the styles specified in the page config file.
Allowed Values: any report style name from StyelCatalog.xml file.
-
expandEmbeddedFilter
public FormalParameter expandEmbeddedFilter
This is the formal parameter which will decide if we want to show the embedded filter details or just the embedded filter names.
Allowed Values: TRUE/FALSE
-
dynamicDateDisplay
public FormalParameter dynamicDateDisplay
- Since:
- MicroStrategy Web 8.0.2
-
DISPLAY_DYNAMIC_DATES_AS_STATIC
public static final int DISPLAY_DYNAMIC_DATES_AS_STATIC
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
DISPLAY_DYNAMIC_DATES_AS_DYNAMIC
public static final int DISPLAY_DYNAMIC_DATES_AS_DYNAMIC
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
TEMPLATE_DETAILS_METRICS
protected static final java.lang.String TEMPLATE_DETAILS_METRICS
Key for the template details to identify metric information- See Also:
- Constant Field Values
-
TEMPLATE_DETAILS_ATTRIBUTES
protected static final java.lang.String TEMPLATE_DETAILS_ATTRIBUTES
Key for the template details to identify attribute information- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractReportTransform
- Parameters:
data
- the bean to transform.- Since:
- MicroStrategy Web 8.0.1
-
transformForRequestInError
public void transformForRequestInError(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "Error".- Overrides:
transformForRequestInError
in classAbstractReportTransform
- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestWaitingForUserInput
public void transformForRequestWaitingForUserInput(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "waiting for user input (prompts)". Just forwards to the successful transform;- Overrides:
transformForRequestWaitingForUserInput
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestProcessing
public void transformForRequestProcessing(MarkupOutput out)
Transform when the bean status which is transformed by this transform is in "processing" (ie the report is still executing). Just forwards to the successful transform;- Overrides:
transformForRequestProcessing
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
getReportMessage
protected WebMessage getReportMessage()
- Returns:
WebMessage
instance of theReportBean
being transformed.
-
initializeReportMessage
protected void initializeReportMessage() throws WebBeanException, WebObjectsException
Obtains theWebMessage
instance out of theReportBean
being transformed, for initializing the property of this transform.- Throws:
WebBeanException
WebObjectsException
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Transform when the bean status which is transformed by this transform is "Successful".- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
isReportDetailsAreaVisible
public boolean isReportDetailsAreaVisible()
Deprecated.use layout xml instead.Indicates if the report details section is to be rendered or not. It will depend if at least one of the sections that go on it is requested by the user. By default, any of these should be rendered for the Report Details area to be visible: report filter, template name, template details, view filter, report limit and/or prompt details.- Returns:
- boolean value indicating if the Report Details section should be rendered or not.
-
isReportAdvancedAreaVisible
public boolean isReportAdvancedAreaVisible()
Deprecated.please use the layout xml instead.Indicates if the Report Advanced Details section is to be rendered or not. It will depend if at least one of the sections taht go on it is requested by the user. By default, any of these should be rendered for the Advanced area to be visible: row count, column count, server name, message identifier, report identifier, message created, message updated and/or level status.- Returns:
- boolean value indicating if the Advanced section should be rendered or not.
-
isReportAdvancedAreaExpanded
public boolean isReportAdvancedAreaExpanded()
Determines based on the formal parameter if the advanced report information are is requested to be expanded or not- Returns:
- boolean value indicating if the advanced report details area should be shown to the user.
-
renderTemplateNameInformation
public void renderTemplateNameInformation(MarkupOutput out)
Render the template name information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderTemplateDetailsInformation
public void renderTemplateDetailsInformation(MarkupOutput out)
Render the template details information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderReportFilterInformation
public void renderReportFilterInformation(MarkupOutput out)
Render the report filter information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderViewFilterInformation
public void renderViewFilterInformation(MarkupOutput out)
Render the view filter information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderReportLimitInformation
public void renderReportLimitInformation(MarkupOutput out)
Render the report limit information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderPromptSummaryAnswerInformation
public void renderPromptSummaryAnswerInformation(MarkupOutput out)
Render the prompt summary information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getTemplateDetails
protected void getTemplateDetails(java.util.Hashtable templateDetails)
Obtain from theReportBean
instance the template details information- Parameters:
templateDetails
-Hashtable
initialized instance where the information about the template will be saved using theTEMPLATE_DETAILS_METRICS
andTEMPLATE_DETAILS_ATTRIBUTES
-
getReportStatus
public java.lang.String getReportStatus(int status)
ExtendsgetReportStatus()
by providing custom message for some status- Overrides:
getReportStatus
in classAbstractReportTransform
- Parameters:
status
- TheWebMessage
instance current status- Returns:
- a string description of the status of the message
-
checkLevel
public boolean checkLevel(int level)
Deprecated.use layout xml instead.Check if the level parameter value contains this flag. This method callscheckLevel(FormalParameter, int)
using the levelFlag parameter- Parameters:
level
- flag value to check- Returns:
- true means the level flag is included in the levelFlag formal parameter value
-
renderReportName
public void renderReportName(MarkupOutput out)
Render the name information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderTotalRows
public void renderTotalRows(MarkupOutput out)
Render the total rows information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getTotalRows
public int getTotalRows() throws WebBeanException
Get the total number of rows information from theReportBean
.- Returns:
- the total number of rows
- Throws:
WebBeanException
- Since:
- MicroStrategy Web 9.0.0
-
renderTotalColumns
public void renderTotalColumns(MarkupOutput out)
Render the total columns information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getTotalColumns
public int getTotalColumns() throws WebBeanException
Get the total number of columns information from theReportBean
.- Returns:
- the total number of columns
- Throws:
WebBeanException
- Since:
- MicroStrategy Web 9.0.0
-
renderServerName
public void renderServerName(MarkupOutput out)
Render the server name information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getServerName
public java.lang.String getServerName()
Get the server name form theReportBean
.- Returns:
- the server name
- Since:
- MicroStrategy Web 9.0.0
-
renderReportPath
public void renderReportPath(MarkupOutput out)
Render the path location information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderMessageID
public void renderMessageID(MarkupOutput out)
Render the message identifier information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getMessageID
public java.lang.String getMessageID()
Get the message identifier from theReportBean
.- Returns:
- the message identifier
- Since:
- MicroStrategy Web 9.0.0
-
getEncodedMessageID
public java.lang.String getEncodedMessageID()
Get the message identifier then encrypt it form layout.- Returns:
- the message identifier
- Since:
- MicroStrategy Web 9.2.0
-
renderJobID
public void renderJobID(MarkupOutput out)
Render the job identifier information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getJobID
public java.lang.String getJobID()
Get the job identifier fromReportBean
being displayed.- Returns:
- the job identifier
- Since:
- MicroStrategy Web 9.0.0
-
renderReportID
public void renderReportID(MarkupOutput out)
Render the identifier information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportID
public java.lang.String getReportID()
Get the identifier information from theReportBean
being displayed.- Returns:
- identifier
- Since:
- MicroStrategy Web 9.0.0
-
getEncodedReportID
public java.lang.String getEncodedReportID()
Get the identifier information after encoded.- Returns:
- identifier
- Since:
- MicroStrategy Web 9.2.0
-
renderReportStatus
public void renderReportStatus(MarkupOutput out)
Render the status information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportStatus
public java.lang.String getReportStatus()
Get the status information from theReportBean
being displayed- Returns:
- the report status
- Since:
- MicroStrategy Web 9.0.0
-
renderMessageCreated
public void renderMessageCreated(MarkupOutput out)
Render the message created information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getMessageCreationTime
public java.lang.String getMessageCreationTime()
Get the message creation time from theReportBean
being displayed- Returns:
- the message creation time
- Since:
- MicroStrategy Web 9.0.0
-
renderMessageUpdated
public void renderMessageUpdated(MarkupOutput out)
Render the message updated information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getMessageModificationTime
public java.lang.String getMessageModificationTime()
Get the message modification time from theReportBean
being displayed.- Returns:
- the message modification time
- Since:
- MicroStrategy Web 9.0.0
-
renderAdvancedAreaJavaScript
public void renderAdvancedAreaJavaScript(MarkupOutput out)
Renders JavaScript (if any) that will be related with the advanced information area for the report. In this case is for enabling showing and hiding the details.- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
renderAdvancedDetailsButton
public void renderAdvancedDetailsButton(MarkupOutput out)
Render the button that will allow users to show or not the advanced details information about the report.- Parameters:
out
- theMarkupOutput
object- Since:
- MicroStrategy Web 9.0.0
-
renderAdvancedDetailsButton
public void renderAdvancedDetailsButton(MarkupOutput out, boolean requestExpand)
Render the button that will allow users to show or not the advanced details information about the report.- Parameters:
out
- theMarkupOutput
instance where the contents of this transform will be savedrequestExpand
- whether the button will be rendered as already expanded or not
-
renderReportType
public void renderReportType(MarkupOutput out)
Render the report type information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportType
public java.lang.String getReportType()
Get the report type from theReportBean
being displayed.- Returns:
- the report type
- Since:
- MicroStrategy Web 9.0.0
-
renderStartTime
public void renderStartTime(MarkupOutput out)
Render the start time information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getStartTime
public java.lang.String getStartTime()
Get the start time from theReportBean
being displayed.- Returns:
- the start time
- Since:
- MicroStrategy Web 9.0.0
-
renderFinishTime
public void renderFinishTime(MarkupOutput out)
Render the finish time information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getFinishTime
public java.lang.String getFinishTime()
Get the finish time from theReportBean
being displayed.- Returns:
- the finish time
- Since:
- MicroStrategy Web 9.0.0
-
renderModifiedInformation
public void renderModifiedInformation(MarkupOutput out)
Render the modification information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getModifiedInformation
public java.lang.String getModifiedInformation()
Get the modification information from theReportBean
being displayed- Returns:
- the modification time
- Since:
- MicroStrategy Web 9.0.0
-
renderReportOwner
public void renderReportOwner(MarkupOutput out)
Render the report owner information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportOwner
public java.lang.String getReportOwner()
Get report owner information from theReportBean
being displayed- Returns:
- the report owner
- Since:
- MicroStrategy Web 9.0.0
-
renderReportDescription
public void renderReportDescription(MarkupOutput out)
Render the description information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportDescription
public java.lang.String getReportDescription()
Get the report description from theReportBean
being displayed- Returns:
- the report description
- Since:
- MicroStrategy Web 9.0.0
-
getReportCube
public java.lang.String getReportCube()
Get the report cube for theReportBean
being displayed- Returns:
- the report description
- Since:
- MicroStrategy Web 9.0.1
-
renderReportSQL
public void renderReportSQL(MarkupOutput out)
Render the SQL information of theReportBean
being displayed- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.
-
getReportSQLLabel
public java.lang.String getReportSQLLabel()
Get the report SQL label based on report type.- Returns:
- the label for report SQL area
- Since:
- MicroStrategy Web 9.0.0
-
getReportSQL
public java.lang.String getReportSQL()
Get report SQL from theReportBean
being displayed.- Returns:
- the report SQL
- Since:
- MicroStrategy Web 9.0.0
-
isReportInError
public boolean isReportInError()
Check to see if the report is in error or not.- Returns:
- true if error occurs; false otherwise
- Since:
- MicroStrategy Web 9.0.0
-
getCssClassName
public java.lang.String getCssClassName(java.lang.String cssName)
Generate the css class name used by this transform.- Parameters:
cssName
- the css name to be pre-fixed by the _cssPrefix- Returns:
- complete cssName
- Since:
- MicroStrategy Web 9.0.0
-
getReportDetailAttrs
public java.util.Map getReportDetailAttrs()
Collect all the attribute/value(s) to specify the rendering of the report detail text area.- Returns:
- the attribute/value pair(s)
- Since:
- MicroStrategy Web 9.0.0
-
isReportReady
public boolean isReportReady()
- Since:
- MicroStrategy Web 9.0.0
-
shouldRenderTemplate
public boolean shouldRenderTemplate()
Deprecated.use layout xml instead.Check to see if we should render template.- Returns:
- true if render if necessary; false otherwise.
- Since:
- MicroStrategy Web 9.0.0
-
renderNewLine
public void renderNewLine(MarkupOutput out)
Render a new line character.- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- Since:
- MicroStrategy Web 9.0.0
-
shouldRenderPromptDetails
public boolean shouldRenderPromptDetails()
Check to see if prompt details should be rendered or not.- Returns:
- true if necessary;false otherwise
- Since:
- MicroStrategy Web 9.0.0
-
shouldRenderAdvancedAreaExpanded
public boolean shouldRenderAdvancedAreaExpanded()
check to see if advanced area should be rendered as expanded or not.- Returns:
- true if necessary;false otherwise
- Since:
- MicroStrategy Web 9.0.0
-
getAdvancedDivId
public java.lang.String getAdvancedDivId()
Generate the id of the div that holds the advanced detail information.- Returns:
- the id
- Since:
- MicroStrategy Web 9.0.0
-
renderReportDetails
public void renderReportDetails(MarkupOutput out)
render new report details.- Parameters:
out
-MarkupOutput
instance where the contents of this transform will be saved.- Since:
- MicroStrategy Web 9.0.0
-
getReportDetails
public java.lang.String getReportDetails()
Get report details from theReportBean
being displayed.- Returns:
- the report detail string
- Since:
- MicroStrategy Web 9.0.0
-
getWebReexecuteEvent
public WebEvent getWebReexecuteEvent()
Description copied from class:AbstractReportTransform
Returns aWebEvent
instance corresponding to the reexecute event- Overrides:
getWebReexecuteEvent
in classAbstractReportTransform
- Returns:
- the web reexecute event
- Since:
- MicroStrategy Web 8.0.1
-
getReportPathTransform
protected TransformInstance getReportPathTransform(ReportBean rb)
Deprecated.not used anymore
-
getExecuteEvent
protected WebEvent getExecuteEvent(WebMessage message)
Returns an event to execute the report.- Parameters:
message
- the (@link WebMessage} for theReportBean
beings displayed.- Returns:
- a
WebEvent
instance to execute the report message. By default it returns theEnumReportBeanEvents.REPORT_EVENT_EXECUTE
event, ornull
if it is not supported by the application
-
getShowDetailsEvent
protected WebEvent getShowDetailsEvent(WebMessage message)
Generate theWebEvent
instance to be used for showing the details of the report (to refresh the page information).- Parameters:
message
- the (@link WebMessage} for theReportBean
beings displayed.- Returns:
- a
WebEvent
instance to execute the report message. By default it returns theEnumServletEvents.WebEventGetReportDetails
event, ornull
if it is not supported by the application
-
canTransform
public boolean canTransform(Transformable data)
Overrides canTransform by returning always true. This transform does support showing report details, even if still waiting for prompts.- Specified by:
canTransform
in interfaceTransform
- Overrides:
canTransform
in classAbstractReportTransform
- Parameters:
data
- the report bean that will transformed.- Returns:
- true if the data is a ReportBean.
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Get the class of objects this transform is able to handle.- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractReportTransform
- Returns:
- a
Class
instance with the information about the beans this transform is able to manipulate.
-
getDescription
public java.lang.String getDescription()
Returns the description for this Transform- Specified by:
getDescription
in interfaceTransform
- Returns:
- Description for this Transform
-
getAttributesShellDiv
public java.util.Map getAttributesShellDiv()
Description copied from class:AbstractAppTransform
Returns a Map with the list of attributes that the shell div must use. The shell is the main div surrounding the Transform's output.
This method can be overriden in case the subclass would like to add or change the value of attributes in the shell.- Overrides:
getAttributesShellDiv
in classAbstractAppTransform
- See Also:
AbstractAppTransform.renderShell(com.microstrategy.web.beans.MarkupOutput)
-
-