public class

AttributeElementsWidgetTransform

extends AbstractAppWidgetTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractAppWidgetTransform
           ↳ com.microstrategy.web.app.transforms.AttributeElementsWidgetTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected FormalParameter attForms
protected FormalParameter includeAttFormNames
protected FormalParameter includeAttFormValues
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
AttributeElementsWidgetTransform()
Public Methods
void appendBrowseFormValues(Block itemInfo, WebElement elem)
List getAttForms(WebAttribute att)
WebAttribute getAttribute()
int getBlockBegin()
int getBlockCount()
String getBrowseFormsForDisplay()
String getBrowseFormsForTooltip()
Block getDataFormsWidget()
String getDescription()
List getDrillDownPaths()
List getDrillUpPaths()
Block getElementListWidget(String styleName)
List getElements()
int getFolderSize()
void getItemWidget(BlockList blockList, WebElement elem)
boolean getSearchMatchCase()
Class getSupportedBeanType()
Returns the supported bean type.
boolean includeAttributeFormNames()
void initializeWebComponent(Transformable data)
Initialize the web component to be used by the transform.
boolean isLeafAttribute()
Protected Methods
String getMappedFormName(WebAttributeForm form)
Return the name used for a WebAttribute From in the data forms widget.
void setMappedFormName(WebAttributeForm form, String name)
Build the map for the web attribute form and the form name used in the data forms widget.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractAppWidgetTransform
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

Fields

protected FormalParameter attForms

protected FormalParameter includeAttFormNames

protected FormalParameter includeAttFormValues

Public Constructors

public AttributeElementsWidgetTransform ()

Public Methods

public void appendBrowseFormValues (Block itemInfo, WebElement elem)

public List getAttForms (WebAttribute att)

public WebAttribute getAttribute ()

public int getBlockBegin ()

public int getBlockCount ()

public String getBrowseFormsForDisplay ()

public String getBrowseFormsForTooltip ()

public Block getDataFormsWidget ()

public String getDescription ()

public List getDrillDownPaths ()

public List getDrillUpPaths ()

public Block getElementListWidget (String styleName)

public List getElements ()

public int getFolderSize ()

public void getItemWidget (BlockList blockList, WebElement elem)

public boolean getSearchMatchCase ()

public Class getSupportedBeanType ()

Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:

 public class CustomReportClass extends AbstractAppTransform {

    public Class getSupportedBeanType() {
        //This Transform is expected to work only with a ReportBean,
        //therefore this method needs to return this class:
        return ReportBean.class;
    }

 }
 

Returns
  • a root class/interface supported by this transform.

public boolean includeAttributeFormNames ()

public void initializeWebComponent (Transformable data)

Initialize the web component to be used by the transform.

Parameters
data the bean to transform.

public boolean isLeafAttribute ()

Protected Methods

protected String getMappedFormName (WebAttributeForm form)

Return the name used for a WebAttribute From in the data forms widget.

Parameters
form - WebAttributeForm

protected void setMappedFormName (WebAttributeForm form, String name)

Build the map for the web attribute form and the form name used in the data forms widget.

Parameters
form - WebAttributeForm
name - name used in the dataFormWidget.