public class

MDXReportLimitElementTransform

extends LimitElementTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.ExpressionGenericTransform
           ↳ com.microstrategy.web.app.transforms.AbstractFilterElementTransform
             ↳ com.microstrategy.web.app.transforms.FilterElementTransform
               ↳ com.microstrategy.web.app.transforms.LimitElementTransform
                 ↳ com.microstrategy.web.app.transforms.MDXReportLimitElementTransform

Class Overview

A subclass of the FilterElementTransform that takes care of the MDX report filter specific.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.FilterElementTransform
From class com.microstrategy.web.app.transforms.AbstractFilterElementTransform
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
MDXReportLimitElementTransform()
Public Methods
boolean existsMultipleNonemptyFilters()
This method returns whether there exist multiple nonempty filters.
Protected Methods
boolean canShowMetricTextOperators()
void initializeCartSettings(Cart cart, WebEvent acceptEvent, int elemsBlockBegin, int elemsBlockCount, int totalElements, WebAttribute attr)
This method will initialize the shopping cart object used to render an attribute element list qualification.
boolean isFilterEditorFrameEmpty()
Returns whether the full filter editor frame is empty.
void renderAQOperatorOptions(MarkupOutput mo, int currentFunction, boolean unitComparison)
void renderMQOperatorOptions(MarkupOutput mo, int currentFunction, int currentFunctionType, boolean bUnitComparison)
void setBoneProperties(JsonGenerator boneProps)
Sets the necessary properties to the bone assigned to this transform (based on the scriptClass formal parameter)
Usually called by renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.
boolean shallRenderForm(WebAttributeForm form)
boolean shouldRenderOperator(WebNode leftNode, WebNode rightNode, WebLimitExpressionHelper eh)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.LimitElementTransform
From class com.microstrategy.web.app.transforms.FilterElementTransform
From class com.microstrategy.web.app.transforms.AbstractFilterElementTransform
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Public Constructors

public MDXReportLimitElementTransform ()

Public Methods

public boolean existsMultipleNonemptyFilters ()

This method returns whether there exist multiple nonempty filters. If so, the default layout behavior is to render some space between the two filters. This will happen when either both a report limit and filter are being rendered, or when two limits are being rendered, for an MDX report.

Returns
  • True if there exist multiple nonempty filters, false otherwise.

Protected Methods

protected boolean canShowMetricTextOperators ()

protected void initializeCartSettings (Cart cart, WebEvent acceptEvent, int elemsBlockBegin, int elemsBlockCount, int totalElements, WebAttribute attr)

This method will initialize the shopping cart object used to render an attribute element list qualification.

Parameters
cart The Cart object being initialized.
acceptEvent The event to use to accept the qualficiation.
elemsBlockBegin The blockBegin parameter for the available elements to retrieve.
elemsBlockCount The blockBegin parameter for the available elements to retrieve.
totalElements The total number of elements in the element list of available elements.

protected boolean isFilterEditorFrameEmpty ()

Returns whether the full filter editor frame is empty. This is different from the superclass' method that it overrides in that it takes into account the report limit in it's calculations for the report filter.

Returns
  • Whether the filter editor frame is empty.

protected void renderAQOperatorOptions (MarkupOutput mo, int currentFunction, boolean unitComparison)

protected void renderMQOperatorOptions (MarkupOutput mo, int currentFunction, int currentFunctionType, boolean bUnitComparison)

protected void setBoneProperties (JsonGenerator boneProps)

Sets the necessary properties to the bone assigned to this transform (based on the scriptClass formal parameter)
Usually called by renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.

Parameters
boneProps the JsonGenerator object that contains the collection of bone properties.

protected boolean shallRenderForm (WebAttributeForm form)

protected boolean shouldRenderOperator (WebNode leftNode, WebNode rightNode, WebLimitExpressionHelper eh)