public class

DerivedElementCalculationTransform

extends DerivedElementTransform
implements EnumDerivedElementBeanEvents EnumDSSXMLFunction
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.DerivedElementTransform
             ↳ com.microstrategy.web.app.transforms.DerivedElementCalculationTransform

Class Overview

This transform is used to render Calculation Derived Element. Note that this transform extends the ExpressionGenericTransform, which transforms on a ExpressionBean. This is because this transform reuses a vast amount of the rendering methods from that transform, and only overrides some specific functionality.

Summary

Constants
String BLK_TOKEN
String BLK_TOKEN_STREAM
String BLK_WEBOBJECTINFO
String BLP_METRIC_TOKEN_STREAM
String BLP_TOKEN_EXTRA_VALUE
String BLP_TOKEN_EXTRA_VALUE_TYPE
String BLP_TOKEN_LEVEL
String BLP_TOKEN_OBJECT
String BLP_TOKEN_SECTION_TYPE
String BLP_TOKEN_STATE
String BLP_TOKEN_STREAM_ITEMS
String BLP_TOKEN_STREAM_REJECT_ERROR_CODE
String BLP_TOKEN_STREAM_REJECT_ERROR_DESCRIPTION
String BLP_TOKEN_TYPE
String BLP_TOKEN_VALUE
String BLP_WEBOBJECTINFO_DESC
String BLP_WEBOBJECTINFO_DSSID
String BLP_WEBOBJECTINFO_NAME
String BLP_WEBOBJECTINFO_PROPERTY_SETS
String BLP_WEBOBJECTINFO_SUBTYPE
String BLP_WEBOBJECTINFO_TYPE
String FP_TOKENSTREAM_ENABLED
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From interface com.microstrategy.web.beans.EnumDerivedElementBeanEvents
From interface com.microstrategy.web.beans.EnumExpressionBeanEvents
From interface com.microstrategy.web.beans.EnumObjectBeanEvents
From interface com.microstrategy.webapi.EnumDSSXMLFunction
Fields
public FormalParameter tokenstreamEnabled
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.DerivedElementTransform
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
DerivedElementCalculationTransform()
Public Methods
String getDescription()
Returns a textual description of the transform.
void initializeTransform(Transformable data)
Overrides the initializeTransform method with type-specific initialization data.
boolean isConstantTab()
boolean isEditable()
This method is to return whether the expression should be considered to be editable or not.
boolean isElementTab()
boolean isGroupTab()
boolean isTokenstream()
void renderAddRemoveButtons(MarkupOutput out)
void renderAvailableElements(MarkupOutput out, String id)
void renderAvailableGroups(MarkupOutput out, String id)
void renderAvailablesSourceSelector(MarkupOutput out)
void renderIncrementalFetch(MarkupOutput out)
void renderOperatorSelector(MarkupOutput out)
void renderPreview(MarkupOutput out)
void renderSearch(MarkupOutput out)
void renderSelected(MarkupOutput out)
void renderUpdownButtons(MarkupOutput out)
void renderValidationErrorMessage(MarkupOutput out)
Protected Methods
ExpressionParts getExpressionParts()
void renderDerivedElement(MarkupOutput out, WebDerivedElement de)
void renderEventHiddenInputs(MarkupOutput out)
This method will render all of the hidden inputs for the events that will be used within the expression transform.
void renderJavascript(MarkupOutput out)
This method renders all javascript that will be necessary for the ExpressionGenericTransform to work correctly.
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.DerivedElementTransform
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

Constants

protected static final String BLK_TOKEN

Constant Value: "Token"

protected static final String BLK_TOKEN_STREAM

Constant Value: "TokenStream"

protected static final String BLK_WEBOBJECTINFO

Constant Value: "WebObjectInfo"

protected static final String BLP_METRIC_TOKEN_STREAM

Constant Value: "tks"

protected static final String BLP_TOKEN_EXTRA_VALUE

Constant Value: "exv"

protected static final String BLP_TOKEN_EXTRA_VALUE_TYPE

Constant Value: "extp"

protected static final String BLP_TOKEN_LEVEL

Constant Value: "lv"

protected static final String BLP_TOKEN_OBJECT

Constant Value: "oi"

protected static final String BLP_TOKEN_SECTION_TYPE

Constant Value: "sctt"

protected static final String BLP_TOKEN_STATE

Constant Value: "sta"

protected static final String BLP_TOKEN_STREAM_ITEMS

Constant Value: "items"

protected static final String BLP_TOKEN_STREAM_REJECT_ERROR_CODE

Constant Value: "rjec"

protected static final String BLP_TOKEN_STREAM_REJECT_ERROR_DESCRIPTION

Constant Value: "rjed"

protected static final String BLP_TOKEN_TYPE

Constant Value: "tp"

protected static final String BLP_TOKEN_VALUE

Constant Value: "v"

protected static final String BLP_WEBOBJECTINFO_DESC

Constant Value: "desc"

protected static final String BLP_WEBOBJECTINFO_DSSID

Constant Value: "did"

protected static final String BLP_WEBOBJECTINFO_NAME

Constant Value: "n"

protected static final String BLP_WEBOBJECTINFO_PROPERTY_SETS

Constant Value: "prss"

protected static final String BLP_WEBOBJECTINFO_SUBTYPE

Constant Value: "st"

protected static final String BLP_WEBOBJECTINFO_TYPE

Constant Value: "t"

public static final String FP_TOKENSTREAM_ENABLED

Constant Value: "tokenstreamEnabled"

Fields

public FormalParameter tokenstreamEnabled

Public Constructors

public DerivedElementCalculationTransform ()

Public Methods

public String getDescription ()

Returns a textual description of the transform.

Returns
  • The textual description of the transform.

public void initializeTransform (Transformable data)

Overrides the initializeTransform method with type-specific initialization data. This MUST be overridden by any classes which extend this transform if they do not transform on a FilterElement object, because this initializeTransform method assumes that the Transformable passed to it is of type FilterElement.

Parameters
data The object that is being transformed.

public boolean isConstantTab ()

public boolean isEditable ()

This method is to return whether the expression should be considered to be editable or not. If this is true, then the transform may render the expression with editing capabilities. If this is false, then the transform should render the expression in a view-only mode.

Returns
  • True if the expression should be editable, false otherwise.

public boolean isElementTab ()

public boolean isGroupTab ()

public boolean isTokenstream ()

public void renderAddRemoveButtons (MarkupOutput out)

public void renderAvailableElements (MarkupOutput out, String id)

public void renderAvailableGroups (MarkupOutput out, String id)

public void renderAvailablesSourceSelector (MarkupOutput out)

public void renderIncrementalFetch (MarkupOutput out)

public void renderOperatorSelector (MarkupOutput out)

public void renderPreview (MarkupOutput out)

public void renderSearch (MarkupOutput out)

public void renderSelected (MarkupOutput out)

public void renderUpdownButtons (MarkupOutput out)

public void renderValidationErrorMessage (MarkupOutput out)

Protected Methods

protected ExpressionParts getExpressionParts ()

protected void renderDerivedElement (MarkupOutput out, WebDerivedElement de)

protected void renderEventHiddenInputs (MarkupOutput out)

This method will render all of the hidden inputs for the events that will be used within the expression transform.

Parameters
out The MarkupOutput object to render the output to.

protected void renderJavascript (MarkupOutput out)

This method renders all javascript that will be necessary for the ExpressionGenericTransform to work correctly.

Parameters
out The MarkupOutput object to render the output to.

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.