public class

SubsetViewLimitElementTransform

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.SubsetViewLimitElementTransform
Known Direct Subclasses

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
SubsetViewLimitElementTransform()
Public Methods
boolean existsMultipleNonemptyFilters()
This method returns whether there exist multiple nonempty filters.
Map getMainDivAttributes()
Returns the list of attributes to add to the main
that makes up the filter editor GUI.
boolean isAutoSynchronizeEnabled()
This method overrides the superclass' behavior on whether auto-synchronize is enabled.
Protected Methods
boolean canShowMetricTextOperators()
boolean isFilterEditorFrameEmpty()
Returns whether the full filter editor frame is empty.
void renderMoveNodeToViewFilterButton(MarkupOutput mainOut, WebNode node)
void renderUpAndDownButtons(MarkupOutput mainOut, WebNode node, boolean isEditableFilterExpr)
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.
[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 SubsetViewLimitElementTransform ()

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.

public Map getMainDivAttributes ()

Returns the list of attributes to add to the main

that makes up the filter editor GUI. These attributes must primarily be included for the javascript concerning the filter editor to work properly.

Returns
  • A java.util.Map object whose keys are the attribute names, and the values are the attribute values. Both are String-typed.

public boolean isAutoSynchronizeEnabled ()

This method overrides the superclass' behavior on whether auto-synchronize is enabled. In this case, it is enabled if auto-apply is true or the report is in design mode.

Returns
  • Whether auto-synchronize is enabled for this transform.

Protected Methods

protected boolean canShowMetricTextOperators ()

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 renderMoveNodeToViewFilterButton (MarkupOutput mainOut, WebNode node)

Throws
IllegalArgumentException
IllegalStateException
UnmodifiableException

protected void renderUpAndDownButtons (MarkupOutput mainOut, WebNode node, boolean isEditableFilterExpr)

Throws
UnmodifiableException
IllegalArgumentException
IllegalStateException

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.