public interface

WebLimitExpressionHelper

implements WebExpressionHelper
com.microstrategy.web.objects.WebLimitExpressionHelper
Known Indirect Subclasses

Class Overview

A subclass of the WebExpressionHelper that provides special functionality for editing limit expressions.

Summary

Public Methods
abstract void addUnitLimit(WebNode node)
abstract WebNode findUnitNode(String unitId)
Finds a root node of the unit limit expression
abstract String getNodeGroupId(WebNode node)
Returns limit group ID of the given node
abstract int getNodeLimitType(WebNode node)
Returns limit type EnumWebLimitSummaryFlags of the given node
abstract String getNodeUnitId(WebNode node)
Returns unit ID of the given node
abstract WebNode getUnitNode(WebNode node)
Gets a root node of the unit limit expression for a given expression node
abstract boolean hasUnussignedPrompts(WebNode node)
Returns true if the given node contains unresolved prompts.
abstract void removeLimits()
abstract void removeUnitLimit(String unitId)
abstract void replaceUnitLimit(WebNode node)
[Expand]
Inherited Methods
From interface com.microstrategy.web.objects.WebExpressionHelper

Public Methods

public abstract void addUnitLimit (WebNode node)

public abstract WebNode findUnitNode (String unitId)

Finds a root node of the unit limit expression

Parameters
unitId an ID of the working set unit
Returns
  • node or null

public abstract String getNodeGroupId (WebNode node)

Returns limit group ID of the given node

Parameters
node node
Returns
  • group ID

public abstract int getNodeLimitType (WebNode node)

Returns limit type EnumWebLimitSummaryFlags of the given node

Parameters
node node
Returns
  • limit type

public abstract String getNodeUnitId (WebNode node)

Returns unit ID of the given node

Parameters
node node
Returns
  • unit ID

public abstract WebNode getUnitNode (WebNode node)

Gets a root node of the unit limit expression for a given expression node

Parameters
node expression node
Returns
  • node

public abstract boolean hasUnussignedPrompts (WebNode node)

Returns true if the given node contains unresolved prompts. In this case we don't know what unit to ussign this limit to.

public abstract void removeLimits ()

public abstract void removeUnitLimit (String unitId)

public abstract void replaceUnitLimit (WebNode node)