public abstract class

AbstractBasicReportTransform

extends AbstractTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.app.transforms.AbstractBasicReportTransform
Known Direct Subclasses
Known Indirect Subclasses

Summary

Fields
protected Transformable _bean
protected ReportBean _rb
protected RWBean _rwb
protected ViewBean _vb
Public Constructors
AbstractBasicReportTransform()
Public Methods
Class getSupportedBeanType()
boolean isFeatureAvailable(String feature)
Convenience method.
boolean supports(Transformable data)
Returns true if the transform supports the specified data object.
void transform(Transformable data, MarkupOutput out)
Protected Methods
FormalParameter addFormalParameter(String name, int type, Object defaultValue, String description)
Adds a formal parameter for this transform with the given information
ElementsMapJsonHelper getElemsMapHelper()
GraphBean getGraphBean()
WebGridData getGridData()
GridTransformJsonHelpers getHyperLinkHelper()
RWBean getRWBean()
ReportBean getReportBean()
ViewBean getViewBean()
WebGridData getWebGridData()
WebReportGrid getWebReportGrid()
WebTemplate getWebTemplate()
void initBeans(Transformable bean)
void initGridData()
boolean isDesignMode()
boolean isReport()
static boolean isTrue(FormalParameter parameter)
Checks for a Boolean FormalParamter and return its booleanValue().
abstract void render(MarkupOutput out)
This method is responsible for rendering the transform and is called in transform(Transformable, MarkupOutput)
[Expand]
Inherited Methods
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.transform.Transform

Fields

protected Transformable _bean

protected ReportBean _rb

protected RWBean _rwb

protected ViewBean _vb

Public Constructors

public AbstractBasicReportTransform ()

Public Methods

public Class getSupportedBeanType ()

public boolean isFeatureAvailable (String feature)

Convenience method. Maps the isFeatureAvailable method of the Bean currently bean Transformed.

Parameters
feature the feature Id.
Returns
  • true by default, or whatever _bean.isFeatureAvailable(feature) returns;

public boolean supports (Transformable data)

Returns true if the transform supports the specified data object. The check is performed only on the object's type, no object state is taken into account.

Parameters
data a transformable object
Returns
  • true if the transform supports the data object, false otherwise.

public void transform (Transformable data, MarkupOutput out)

Protected Methods

protected FormalParameter addFormalParameter (String name, int type, Object defaultValue, String description)

Adds a formal parameter for this transform with the given information

Parameters
name the name of the formal parameter
type the type of the formal parameter, as defined in the FormalParameter constants.
defaultValue the default value
description Description of the FP, to use by the style catalog.
Returns
  • the FormalParameter created.

protected ElementsMapJsonHelper getElemsMapHelper ()

protected GraphBean getGraphBean ()

protected WebGridData getGridData ()

protected GridTransformJsonHelpers getHyperLinkHelper ()

protected RWBean getRWBean ()

protected ReportBean getReportBean ()

protected ViewBean getViewBean ()

protected WebGridData getWebGridData ()

protected WebReportGrid getWebReportGrid ()

protected WebTemplate getWebTemplate ()

protected void initBeans (Transformable bean)

protected void initGridData ()

protected boolean isDesignMode ()

protected boolean isReport ()

protected static boolean isTrue (FormalParameter parameter)

Checks for a Boolean FormalParamter and return its booleanValue().

Parameters
parameter the formal parameter to check
Returns
  • true if the parameter is true.

protected abstract void render (MarkupOutput out)

This method is responsible for rendering the transform and is called in transform(Transformable, MarkupOutput)