Class PromptsIFrameTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.PromptsClassicTransform
-
- com.microstrategy.web.app.transforms.PromptsIFrameTransform
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
public class PromptsIFrameTransform extends PromptsClassicTransform
- Since:
- MicroStrategy Web 7.5.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 protected java.lang.String
_attributeImage
protected java.lang.String
_attributeLockedImage
protected java.lang.String
_elementImage
protected java.lang.String
_folderImage
protected java.lang.String
_hierarchyImage
protected int
_promptPosition
protected java.util.Vector
_treeList
protected static int
ARGUMENT_PANE_QUALIFY
Specifies constant for identifying whether or not pane is in 'qualify' mode.protected static int
ARGUMENT_PANE_SELECT
Specifies constant for identifying whether or not pane is in 'select' mode.protected static int
ARGUMENT_PANE_STATUS
Specifies constant for identifying whether or not pane is in 'status' mode.FormalParameter
attributeImage
Specifies the image to use to represent an attribute object in tree.FormalParameter
attributeLockedImage
Specifies the image to use to represent a locked attribute object in tree.FormalParameter
elementImage
Specifies the image to use to represent an attribute's eleement object in tree.FormalParameter
folderImage
Specifies the image to use to represent a folder object in tree.FormalParameter
hierarchyImage
Specifies the image to use to represent a hierarchy object in tree.FormalParameter
imgError
Specifies the image to use to highlight an error in a prompt.-
Fields inherited from class com.microstrategy.web.app.transforms.PromptsClassicTransform
_1ptransImage, _firstPrompt, _imagesFolder, _lastPrompt, _lowerCornerImage, _nextBlockPrompt, _nextPrompt, _pb, _previousBlockPrompt, _previousPrompt, _totalPrompts, _upperCornerImage, blockCount, canCancelPrompt, DEFAULT_STYLE, displayMode, executeButtonLabel, exportDocumentLabel, exportReportLabel, firstIncFecthImage, formID, incrementalAttrElemBlockCount, incrementalObjectsBlockCount, indexContentPostfixImage, indexListPostfixImage, isDhtmlMode, lastIncFecthImage, levelFlag, lowerCornerImage, MODE_ALL, MODE_ONE_BY_ONE, multiplePromptCssFile, nextIncFecthImage, previousIncFecthImage, PROMPT_LOADED_ARG, promptQuestionLevelFlag, renderForm, showExecuteAtBottom, showExecuteAtTop, showMatchCase, showRequired, showRequiredFirst, STYLE_NAME_PROPERTY, summaryImage, upperCornerImage
-
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 PromptsIFrameTransform()
Default no-args constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addIncrementalFetchNode(java.lang.String displayName, java.lang.String id, int blockBegin, int iBlockCount, int level, WebAttribute attribute, WebDisplayUnit hierarchy, java.lang.String cssClass)
Adds incremental fetch node to prompt tree node being expanded.protected TreeNode
addTreeNodeToList(WebDisplayUnit item, int level)
Adds tree node to prompt tree list.boolean
canTransform(Transformable data)
whether the data is transformable.java.lang.String
getDescription()
Return description for this Transform.protected WebDimensionAttribute
getDimensionAttribute(WebDisplayUnit unit)
Returns the same object if it's already WebDimensionAttribute, otherwiseprotected java.lang.String
getErrorMessage(WebBeanError promptError)
Returns a localized error message.protected WebDisplayUnit
getFirstHighlightedItem(WebDisplayUnits units)
Returns the first highlighted item foundjava.lang.String
getID()
Returns the unique name of the component to be used as the ID for its shellprotected java.lang.String
getIFrameErrorMessage(WebBeanError promptError)
Returns IFrame error mesasage.protected WebEvent
getPromptEvent(int eventId)
Indicates a Prompt event based on Event Id passed in.protected PromptObject
getPromptObj()
Returns current instance ofPromptObject
.protected int
getPromptPosition(RequestKeys keys)
Determines prompt position from request.protected WebPrompt
getWebPrompt()
Returns currentWebPrompt
instance.protected boolean
hasAccessGranted(WebObjectInfo objInfo)
Indicates whether or not current user has access granted to given WebObjectInfo instance.void
initializeImages()
Initialize the images to be used by this transform.void
initializeTransform(Transformable data)
protected void
initializeTreeImages()
Initializes this prompt images.protected boolean
isBrowseDimensionAttributeElementsEvent()
Indicates whether or not, given event is of type 'browse dimension attribute elements'.protected boolean
isBrowseElementsEvent()
Indicates whether or not, given event is of type 'browse elements'.protected boolean
isBrowseFolderEvent()
Indicates whether or not, given event is of type 'browse folder'.protected boolean
isBrowseHierarchyEvent()
Indicates whether or not given event is Hierarchy type.protected boolean
isHighlightDimensionAttributeEvent()
Indicates whether or not, given event is of type 'highlight dimension attribute'.protected boolean
isLocked(WebDisplayUnit unit)
function for determining whether given unit is locked up.protected boolean
isSAPExpression()
Check whether the prompt is a SAP Expression Promptprotected boolean
isSearchPossible(WebDisplayUnit unit)
Checks whether it's possible to filter elements based on the display unitprotected boolean
isXDA_MDX_Report()
Indicates whether or not this a prompted MDX Report.protected void
processTreeAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level)
Populates the tree with all attribute's elements.protected void
processTreeList()
Process prompt tree request.void
renderAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level)
Deprecated.This method is not used anymore and will be removed in future versions of the product.void
renderJavaScriptFooter(MarkupOutput out)
Renders javascript variables at the bottom of the transform to be used in DHTML mode.void
renderPromptErrorMessage(MarkupOutput out)
Displays a localized generic error message to end-users.boolean
supports(Transformable data)
Indicates whether or not this object is supported.boolean
supports(java.lang.Class c)
Indicates whether given Class is supported.void
transformForRequestSuccessful(MarkupOutput out)
Execute transform on PromptBean when the status is "Successful".-
Methods inherited from class com.microstrategy.web.app.transforms.PromptsClassicTransform
areRequiredPromptsShownFirst, canCancelPrompt, canDisplaySaveButton, canSavePrompt, checkLevel, displayPromptOneByOne, generateAnchor, generateIndexLink, getAnchorPinFromRequest, getAnswerEvent, getBlockEnd, getBlockInit, getCancelEvent, getCurrentIndex, getCurrentPromptDisplayPosition, getDecimalSeparator, getDefaultStyleName, getExecuteButtonLabel, getIsDatasetAddedArgumentName, getNavigationArgument, getPromptDisplayPosition, getPromptsAppContext, getPromptsBean, getPromptsList, getPromptsListForIndexSection, getPromptsListForSummary, getPromptsListOneByOne, getPromptTransformByStyle, getRenameMessageLabel, getRePromptArgumentName, getSaveButtonLabel, getSaveEvent, getStyleName, getSupportedBeanType, getTotalOpenPrompts, initializePromptQuestionProperties, isAddDatasetInRequest, isBottomExecuteButtonViewable, isDhtmlMode, isExecuteSectionAvailable, isForDefinition, isItemKeptInCartAvailable, isMatchCaseShown, isMultipartRequestEnabled, isMultiplePrompt, isOneByOneDisplayMode, isPromptIndexAvailable, isPromptIndexViewable, isPromptQuestionsAvailable, isPromptSummaryViewable, isReprompted, isTopExecuteButtonViewable, isTreeRequest, processPromptedMetricAdded, promptsLoadedFirstTime, renderCalendar, renderCancelButton, renderExecuteBar, renderExecuteButton, renderExecuteButtons, renderFirstPreviousIncrementalFetch, renderFirstPreviousIncrementalFetch, renderFormContent, renderFormEnd, renderFormStart, renderGenericErrorMessage, renderImage, renderImage, renderIncrementalFetch, renderIncrementalFetchImage, renderIndexImage, renderIndexLinkEnd, renderIndexLinkStart, renderJavaScriptHeader, renderLabel, renderLabel, renderMultiplePromptCssLink, renderNextButton, renderNextLastIncrementalFetch, renderNextLastIncrementalFetch, renderPreviousButton, renderPrompt, renderPrompt, renderPrompt, renderPrompt, renderPromptAnchor, renderPromptAnchor, renderPromptIncrementalFetchButtons, renderPromptIndex, renderPromptNumber, renderPromptNumber, renderPromptsContainer, renderPromptsContent, renderPromptsIndex, renderPromptsNonLayoutContainer, renderPromptsSummary, renderPromptSummaryButton, renderPromptSummaryIndexSection, renderRenameMessage, renderRootFolderBrowserHiddenValue, renderSaveButton, renderTitleImage, renderWarnigHeaderMessage, renderWarningHeaderMessage, setIncrementalFetchPrompts, shouldDisplayRenameMessage, showPromptSummary
-
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, getErrorMessage, getErrorTitle, 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, initializeCss, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, 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
-
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, getPreview, isPreviewAvailable, isResolved, transform
-
-
-
-
Field Detail
-
_treeList
protected java.util.Vector _treeList
-
_promptPosition
protected int _promptPosition
-
ARGUMENT_PANE_STATUS
protected static final int ARGUMENT_PANE_STATUS
Specifies constant for identifying whether or not pane is in 'status' mode.- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
ARGUMENT_PANE_SELECT
protected static final int ARGUMENT_PANE_SELECT
Specifies constant for identifying whether or not pane is in 'select' mode.- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
ARGUMENT_PANE_QUALIFY
protected static final int ARGUMENT_PANE_QUALIFY
Specifies constant for identifying whether or not pane is in 'qualify' mode.- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
imgError
public FormalParameter imgError
Specifies the image to use to highlight an error in a prompt.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.- Since:
- MicroStrategy Web 7.5.1
-
hierarchyImage
public FormalParameter hierarchyImage
Specifies the image to use to represent a hierarchy object in tree.- Since:
- MicroStrategy Web 8.0.0
-
_hierarchyImage
protected java.lang.String _hierarchyImage
-
attributeImage
public FormalParameter attributeImage
Specifies the image to use to represent an attribute object in tree.- Since:
- MicroStrategy Web 8.0.0
-
_attributeImage
protected java.lang.String _attributeImage
-
attributeLockedImage
public FormalParameter attributeLockedImage
Specifies the image to use to represent a locked attribute object in tree.- Since:
- MicroStrategy Web 8.0.0
-
_attributeLockedImage
protected java.lang.String _attributeLockedImage
-
elementImage
public FormalParameter elementImage
Specifies the image to use to represent an attribute's eleement object in tree.- Since:
- MicroStrategy Web 8.0.0
-
_elementImage
protected java.lang.String _elementImage
-
folderImage
public FormalParameter folderImage
Specifies the image to use to represent a folder object in tree.- Since:
- MicroStrategy Web 8.0.0
-
_folderImage
protected java.lang.String _folderImage
- Since:
- MicroStrategy Web 7.5.1
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Initializes prompt transform
It convertsTransformable
data parameter into aPromptsBean
instance. Transform can be used from Schedule or Subscription featueres.
- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classPromptsClassicTransform
- Parameters:
data
- Transformable object to be transformed.
-
initializeImages
public void initializeImages()
Initialize the images to be used by this transform.- Overrides:
initializeImages
in classPromptsClassicTransform
- Since:
- MicroStrategy Web 7.5.1
-
getDescription
public java.lang.String getDescription()
Return description for this Transform.- Specified by:
getDescription
in interfaceTransform
- Overrides:
getDescription
in classPromptsClassicTransform
- Returns:
- "This is the Transform that renders Prompts in the Application."
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Execute transform on PromptBean when the status is "Successful".- Overrides:
transformForRequestSuccessful
in classPromptsClassicTransform
- Parameters:
out
- MarkupOutput instance where to write the output of the method.- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
renderPromptErrorMessage
public void renderPromptErrorMessage(MarkupOutput out)
Displays a localized generic error message to end-users.
Error is displayed mostly when a validation fails either in backend or SDK. It is enabled in all prompt types and styles.- Parameters:
out
-MarkupOutput
the transform output- Since:
- MicroStrategy Web 7.5.1
-
getErrorMessage
protected java.lang.String getErrorMessage(WebBeanError promptError)
Returns a localized error message.
Error message is associated to promptError code returned by SDK. It's associated to a generic error message to be displayed.- Parameters:
promptError
- instance of WebBeanError, most likely an validation error thrown in process prompt phase.- Returns:
- error message as String. Error is localized to active language
- Since:
- MicroStrategy Web 7.5.1
-
getIFrameErrorMessage
protected java.lang.String getIFrameErrorMessage(WebBeanError promptError)
Returns IFrame error mesasage.- Returns:
- String error message associated to IFrame request.
- Since:
- MicroStrategy Web 8.0.0
-
getPromptObj
protected PromptObject getPromptObj()
Returns current instance ofPromptObject
.- Returns:
- PromptObject instance
- Since:
- MicroStrategy Web 8.0.0
-
getWebPrompt
protected WebPrompt getWebPrompt()
Returns currentWebPrompt
instance.- Returns:
- WebPrompt instance
- Since:
- MicroStrategy Web 8.0.0
-
processTreeList
protected void processTreeList()
Process prompt tree request.
It constructs and expands new tree node based on request values.
-
renderAttributeElements
public void renderAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level) throws WebObjectsException
Deprecated.This method is not used anymore and will be removed in future versions of the product.Renders output for all attribute's elements.- Parameters:
dimAttr
-WebDimensionAttribute
attribute where elements are parsed from.hierarchy
-WebDisplayUnit
where dimAttr belongs to.level
- int value for indicating level of indentation- Throws:
WebObjectsException
-
processTreeAttributeElements
protected void processTreeAttributeElements(WebDimensionAttribute dimAttr, WebDisplayUnit hierarchy, int level) throws WebObjectsException
Populates the tree with all attribute's elements.- Parameters:
dimAttr
-WebDimensionAttribute
attribute where elements are parsed from.hierarchy
-WebDisplayUnit
where dimAttr belongs to.level
- int value for indicating level of indentation- Throws:
WebObjectsException
- Since:
- MicroStrategy Web 8.0.1
-
renderJavaScriptFooter
public void renderJavaScriptFooter(MarkupOutput out)
Renders javascript variables at the bottom of the transform to be used in DHTML mode.
OverridesrenderJavaScriptFooter
by not generating any output.- Overrides:
renderJavaScriptFooter
in classPromptsClassicTransform
- Parameters:
out
- where to write the output of the method.
-
isBrowseHierarchyEvent
protected boolean isBrowseHierarchyEvent()
Indicates whether or not given event is Hierarchy type.- Returns:
- boolean true if it's a hierarchy event.
-
isBrowseElementsEvent
protected boolean isBrowseElementsEvent()
Indicates whether or not, given event is of type 'browse elements'.
*- Returns:
- boolean true if 'browse elements' is being processed.
- Since:
- MicroStrategy Web 7.5.1
-
isHighlightDimensionAttributeEvent
protected boolean isHighlightDimensionAttributeEvent()
Indicates whether or not, given event is of type 'highlight dimension attribute'.
*- Returns:
- boolean true if 'browse elements' is being processed.
- Since:
- MicroStrategy Web 8.0.2
-
isBrowseDimensionAttributeElementsEvent
protected boolean isBrowseDimensionAttributeElementsEvent()
Indicates whether or not, given event is of type 'browse dimension attribute elements'.
*- Returns:
- boolean true if 'browse elements' is being processed.
- Since:
- MicroStrategy Web 8.0.2
-
isBrowseFolderEvent
protected boolean isBrowseFolderEvent()
Indicates whether or not, given event is of type 'browse folder'.
*- Returns:
- boolean true if 'browse folder' is being processed.
- Since:
- MicroStrategy Web 7.5.1
-
addIncrementalFetchNode
protected void addIncrementalFetchNode(java.lang.String displayName, java.lang.String id, int blockBegin, int iBlockCount, int level, WebAttribute attribute, WebDisplayUnit hierarchy, java.lang.String cssClass)
Adds incremental fetch node to prompt tree node being expanded.
It only adds this functionality if number of element exceed block count settings.- Parameters:
displayName
- String text describing incremental fetchid
- String unique idblockBegin
- int indexiBlockCount
- int indexlevel
- int how deep in tree to be rendered new tree node.attribute
- WebAttribute instance being parsedhierarchy
- WebDisplayUnit instance where attribute belong to.cssClass
- String CSS for formatting node output.
-
getPromptEvent
protected WebEvent getPromptEvent(int eventId)
Indicates a Prompt event based on Event Id passed in.- Parameters:
eventId
- int associated to a Prompt event.- Returns:
- WebEvent instance if any.
-
getPromptPosition
protected int getPromptPosition(RequestKeys keys)
Determines prompt position from request.- Parameters:
keys
- RequestKeys request- Returns:
- int prompt index.
-
addTreeNodeToList
protected TreeNode addTreeNodeToList(WebDisplayUnit item, int level)
Adds tree node to prompt tree list.- Parameters:
item
- WebDisplayUnit being parsedlevel
- int tree node level- Returns:
- TreeNode new instance.
-
isLocked
protected boolean isLocked(WebDisplayUnit unit)
function for determining whether given unit is locked up.- Parameters:
unit
- display unit to check- Returns:
- true if attribute is locked
-
getFirstHighlightedItem
protected WebDisplayUnit getFirstHighlightedItem(WebDisplayUnits units)
Returns the first highlighted item found- Parameters:
units
- display units to check- Returns:
- WebDisplayUnit the first highlighted item
-
isXDA_MDX_Report
protected boolean isXDA_MDX_Report()
Indicates whether or not this a prompted MDX Report.- Returns:
- boolean true if MDX report.
- Since:
- MicroStrategy Web 8.0.2
-
getDimensionAttribute
protected WebDimensionAttribute getDimensionAttribute(WebDisplayUnit unit)
Returns the same object if it's already WebDimensionAttribute, otherwise- Parameters:
unit
- display unit to check- Returns:
- instance of dimension
-
initializeTreeImages
protected void initializeTreeImages()
Initializes this prompt images.
It invokes parent method so all shared images get initialized as well.
-
isSearchPossible
protected boolean isSearchPossible(WebDisplayUnit unit)
Checks whether it's possible to filter elements based on the display unit- Parameters:
unit
- the display unit for which we want to check:- Returns:
- true if it's possible to search (filter) elements of the given type.
-
getID
public java.lang.String getID()
Returns the unique name of the component to be used as the ID for its shell- Specified by:
getID
in interfaceTransform
- Overrides:
getID
in classAbstractAppTransform
- Returns:
- the component's unique id
- Since:
- MicroStrategy Web 8.0.0
-
supports
public boolean supports(java.lang.Class c)
Indicates whether given Class is supported.- Specified by:
supports
in interfaceTransform
- Overrides:
supports
in classAbstractTransform
- Parameters:
c
- Class to be checked- Returns:
- boolean true if supported.
-
supports
public boolean supports(Transformable data)
Indicates whether or not this object is supported.- Specified by:
supports
in interfaceTransform
- Overrides:
supports
in classAbstractTransform
- Parameters:
data
- Transformable to be checked- Returns:
- boolean true if supported
- See Also:
Transform.canTransform(com.microstrategy.web.beans.Transformable)
-
isSAPExpression
protected boolean isSAPExpression()
Check whether the prompt is a SAP Expression Prompt- Returns:
- true if the Prompt's ExpressionType is
EnumDSSXMLExpressionType.DssXmlExpressionMDXSAPVariable
- Since:
- MicroStrategy Web 8.0.1
-
hasAccessGranted
protected boolean hasAccessGranted(WebObjectInfo objInfo)
Indicates whether or not current user has access granted to given WebObjectInfo instance.- Parameters:
objInfo
- WebObjectInfo instance which user is validated against- Returns:
- boolean true if user can access given WebObjectInfo instance.
- Since:
- MicroStrategy Web 8.0.2
-
canTransform
public boolean canTransform(Transformable data)
whether the data is transformable.- Specified by:
canTransform
in interfaceTransform
- Overrides:
canTransform
in classAbstractTransform
- Parameters:
data
- the data- Returns:
- whether the data is transformable
-
-