Class ReportToolbarTransform
- 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.ReportToolbarTransform
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
public class ReportToolbarTransform extends AbstractReportTransform implements LayoutTransform
This Transform generates the content of the report toolbar area. This Transform implements LayoutTransform, therefore it can be customized simply by changing its layout-xml.- 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 FormalParameter
graphIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid graph reports.protected FormalParameter
gridAutoStyleBean
This is the name of the grid autostyles bean.protected FormalParameter
gridGraphIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid graph reports.protected FormalParameter
gridIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid reports.protected FormalParameter
imgCheckOff
This is the image name for check off image used in the transform.protected FormalParameter
imgCheckOn
This is the image name for check on image used in the transform.protected FormalParameter
imgClose
This is the image name for close image used in the transform.protected FormalParameter
imgGo
This is the image name for go image used in the transform.protected FormalParameter
outlineModeDefaultLevelMax
If this value is set to true the default level at which any newly run report wil open for outline mode will be maximum expanded.protected FormalParameter
showOutlineLevelButtons
It is used in the transform to specify whether to show the outline mode level buttons.protected FormalParameter
showStyleList
This is the flag used in the transform to specify whether to display auto styles list.protected FormalParameter
uniqueReportId
This is the name of the report's associated bone.-
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 ReportToolbarTransform()
default no-args constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Return description for this Transformjava.lang.String
getID()
Returns the unique name of the component to be used as the ID for its shell.protected WebEvent
getTogglePivotButtonsEvent()
protected WebEvent
getToggleSortButtonsEvent()
void
initializeCss()
initialize css information for the transformvoid
initializeImages()
initialize image information for the transformboolean
isColumnCountAvailable()
boolean
isGraphAvailable()
Checks if the graph can be displayed with the available data.boolean
isOutlineModeAvailable()
boolean
isPivotButtonsAvailable()
boolean
isReportStylesAvailable()
boolean
isRowCountAvailable()
boolean
isRowIncrementalFetchAvailable()
protected boolean
isShowingPivotButtons()
protected boolean
isShowingSortButtons()
boolean
isSortButtonsAvailable()
void
renderColumnCount(MarkupOutput out)
Generates a message with the reports column count.void
renderOutlineModeLevels(MarkupOutput out)
Generates the buttons that changes the current outline mode level.void
renderReportStyles(MarkupOutput out)
Generates the content for the report autostyles selection.void
renderRowCount(MarkupOutput out)
Generates a message with the reports row count.void
renderRowIncrementalFetch(MarkupOutput mo)
void
renderShowPivotButtons(MarkupOutput out)
Generates a link that will toggle the pivot buttons on/offvoid
renderShowSortButtons(MarkupOutput out)
Generates a link that toggles the sort buttons on/offvoid
transformForRequestSuccessful(MarkupOutput out)
Transform when the status is "Successful".-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
canTransform, generateAnchor, generateErrorForIframe, generateErrorForIframe, generateIncFetchAnchor, generateIncFetchOpenAnchor, getCancelEvent, getContinueEvent, getErrorMessage, getErrorTitle, getHistoryListEvent, getInboxSource, getJobExpiredMessage, getNextColumnsEvent, getPreviousColumnsEvent, getReexecuteButtonDescription, getReportBean, getReportStatus, getReportStatusDescriptorKey, getRepromptEvent, getSupportedBeanType, getViewDetailsEvent, getWebReexecuteEvent, initializeProperties, initializeTransform, initializeWebComponent, isCubeReport, isDatamart, isDesignMode, isIFrameEnabled, isIncRefreshReport, isNonViewableReport, renderColumnsIncrementalFetch, renderColumnsIncrementalFetchNext, renderColumnsIncrementalFetchPrevious, renderContinueFormForRequestInError, renderErrorButtons, renderErrorInfo, renderHistoryListButton, renderImage, renderJobExpiredSection, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoDetails, renderViewDetailsButton, setWebReexecuteEventArguments, transformForRequestInError, 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, 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, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, 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, 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.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, getSupportedBeanType, isPreviewAvailable, isResolved, supports, supports, transform
-
-
-
-
Field Detail
-
showStyleList
protected FormalParameter showStyleList
This is the flag used in the transform to specify whether to display auto styles list.
Allowed Values: TRUE/FALSE.
-
imgGo
protected FormalParameter imgGo
This is the image name for go image used in the transform.
Allowed values: a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgClose
protected FormalParameter imgClose
This is the image name for close image used in the transform.
Allowed values: a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgCheckOff
protected FormalParameter imgCheckOff
This is the image name for check off image used in the transform.
Allowed values: a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgCheckOn
protected FormalParameter imgCheckOn
This is the image name for check on image used in the transform.
Allowed values: a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
gridIncrementalFetchStyleForRow
protected FormalParameter gridIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid reports.
Allowed Values: any report style name from StyelCatalog.xml file.
-
graphIncrementalFetchStyleForRow
protected FormalParameter graphIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid graph reports.
Allowed Values: any report style name from StyelCatalog.xml file.
-
gridGraphIncrementalFetchStyleForRow
protected FormalParameter gridGraphIncrementalFetchStyleForRow
This is the name of the style used to show the incremental fetch for row for grid graph reports.
Allowed Values: any report style name from StyelCatalog.xml file.
-
showOutlineLevelButtons
protected FormalParameter showOutlineLevelButtons
It is used in the transform to specify whether to show the outline mode level buttons.
Allowed Values: TRUE/FALSE.- Since:
- MicroStrategy Web 8.0.0
-
outlineModeDefaultLevelMax
protected FormalParameter outlineModeDefaultLevelMax
If this value is set to true the default level at which any newly run report wil open for outline mode will be maximum expanded.
If it is false, the default will be fully collapsed.
This property will be used only if the report property denoting the outline mode level is not present.
Allowed Values: String values.- Since:
- MicroStrategy Web 8.0.0
-
uniqueReportId
protected FormalParameter uniqueReportId
This is the name of the report's associated bone.
Allowed Values: String values.- Since:
- MicroStrategy Web 8.0.0
-
gridAutoStyleBean
protected FormalParameter gridAutoStyleBean
This is the name of the grid autostyles bean.
Allowed Values: String values.- Since:
- MicroStrategy Web 8.0.0
-
-
Method Detail
-
initializeCss
public void initializeCss()
initialize css information for the transform- Overrides:
initializeCss
in classAbstractAppTransform
-
initializeImages
public void initializeImages()
initialize image information for the transform- Overrides:
initializeImages
in classAbstractReportTransform
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Transform when the status is "Successful".- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
isReportStylesAvailable
public boolean isReportStylesAvailable()
- Since:
- MicroStrategy Web 8.0.0
-
isRowIncrementalFetchAvailable
public boolean isRowIncrementalFetchAvailable()
- Returns:
- boolean true, if row incremental fetch information is available
- Since:
- MicroStrategy Web 8.0.0
-
isPivotButtonsAvailable
public boolean isPivotButtonsAvailable()
- Returns:
- boolean true if the pivot buttons are available.
- Since:
- MicroStrategy Web 8.0.0
-
isSortButtonsAvailable
public boolean isSortButtonsAvailable()
- Returns:
- boolean true if the sort buttons are available.
- Since:
- MicroStrategy Web 8.0.0
-
isOutlineModeAvailable
public boolean isOutlineModeAvailable()
- Returns:
- boolean true if the outline mode is available (i.e. enabled and not in graph mode).
- Since:
- MicroStrategy Web 8.0.0
-
isRowCountAvailable
public boolean isRowCountAvailable()
- Returns:
- boolean true if the row count is available for the report
- Since:
- MicroStrategy Web 8.0.0
-
isColumnCountAvailable
public boolean isColumnCountAvailable()
- Returns:
- boolean true if the column count is available for the report
- Since:
- MicroStrategy Web 8.0.0
-
renderOutlineModeLevels
public void renderOutlineModeLevels(MarkupOutput out)
Generates the buttons that changes the current outline mode level.- Parameters:
out
- the MarkupOutput object- Since:
- MicroStrategy Web 8.0.0
-
renderRowIncrementalFetch
public void renderRowIncrementalFetch(MarkupOutput mo)
- Since:
- MicroStrategy Web 8.0.0
-
renderReportStyles
public void renderReportStyles(MarkupOutput out)
Generates the content for the report autostyles selection. Basically it simply it searches for the autostyle bean (as defined by the gridAutoStyleBean formal parameter) and if found, just calls transform() on it.- Parameters:
out
- the MarkupOutput where the content is generated.- Since:
- MicroStrategy Web 8.0.0
-
renderShowPivotButtons
public void renderShowPivotButtons(MarkupOutput out)
Generates a link that will toggle the pivot buttons on/off- Parameters:
out
- the MarkupOutput where the content is generated.- Since:
- MicroStrategy Web 8.0.0
-
renderShowSortButtons
public void renderShowSortButtons(MarkupOutput out)
Generates a link that toggles the sort buttons on/off- Parameters:
out
- the MarkupOutput where the content is generated.- Since:
- MicroStrategy Web 8.0.0
-
renderRowCount
public void renderRowCount(MarkupOutput out)
Generates a message with the reports row count.- Parameters:
out
- the MarkupOutput where the content is generated.- Since:
- MicroStrategy Web 8.0.0
-
renderColumnCount
public void renderColumnCount(MarkupOutput out)
Generates a message with the reports column count.- Parameters:
out
- the MarkupOutput where the content is generated.- Since:
- MicroStrategy Web 8.0.0
-
isGraphAvailable
public boolean isGraphAvailable()
Checks if the graph can be displayed with the available data.- Since:
- MicroStrategy Web 9.0.0
-
getToggleSortButtonsEvent
protected WebEvent getToggleSortButtonsEvent()
- Returns:
- the WebEvent used to toggle the sort buttons on/off
- Since:
- MicroStrategy Web 8.0.0
-
getTogglePivotButtonsEvent
protected WebEvent getTogglePivotButtonsEvent()
- Returns:
- the WebEvent used to toggle the pivot buttons on/off
- Since:
- MicroStrategy Web 8.0.0
-
isShowingSortButtons
protected boolean isShowingSortButtons()
- Returns:
- boolean true if sort buttons are currently on
- Since:
- MicroStrategy Web 8.0.0
-
isShowingPivotButtons
protected boolean isShowingPivotButtons()
- Returns:
- boolean true if pivot buttons are currently on
- Since:
- MicroStrategy Web 8.0.0
-
getDescription
public java.lang.String getDescription()
Return description for this Transform- Specified by:
getDescription
in interfaceTransform
- Returns:
- description for this Transform
-
getID
public java.lang.String getID()
Description copied from class:AbstractAppTransform
Returns the unique name of the component to be used as the ID for its shell. This id is used for updating the page using the iFrame technology, and as the id for the corresponding bone (if any).- Specified by:
getID
in interfaceTransform
- Overrides:
getID
in classAbstractAppTransform
- Returns:
- the component's unique id
- Since:
- MicroStrategy Web 9.0.0
-
-