public class

ElementPickerBeanImpl

extends AbstractPersistableAppComponent
implements ElementPickerBean
java.lang.Object
   ↳ com.microstrategy.utils.serialization.AbstractPersistable
     ↳ com.microstrategy.web.beans.AbstractTransformable
       ↳ com.microstrategy.web.beans.AbstractWebComponent
         ↳ com.microstrategy.web.app.beans.AbstractAppComponent
           ↳ com.microstrategy.web.app.beans.AbstractPersistableAppComponent
             ↳ com.microstrategy.web.app.beans.ElementPickerBeanImpl

Class Overview

This class represents the Element Picker used in the Attribute Qualification Prompt

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
ElementPickerBeanImpl()
Public Methods
void doCollectData()
Call the required methods so the data is collected for this instance
WebDisplayUnits getAvailableElements()
Return the collection of available elements.
int getElementBlockBegin()
Returns the block begin for the elements - used by Incremental fetch
int getElementBlockCount()
Returns the block count for the elements - used by Incremental fetch
int getElementChildCount()
Returns the child count for the elements - used by Incremental fetch
int getPromptPosition()
Get the prompt position index in the report.
PromptsBean getPromptsBean()
Returns the prompts bean associated with this element picker
WebAttributeForm getQualificationAttributeForm()
Returns the form to be used for qualification.
String getSelectedAttributeId()
Returns the selected attribute on the bean.
String getSelectedOperator()
Returns the selected Operator on the bean.
String getSelectedText()
Returns the selected text.
boolean isMultiSelectAvailable()
Returns whether the selected operator support multiple selection
void setPromptPosition(int position)
Set the prompt position index in the report.
void setSelectedAttributeId(String id)
Set the selected attribute on the bean.
void setSelectedOperator(String operatorId)
Set the selected Operator on the bean.
void setSelectedText(String text)
Set the selected text on the bean.
Protected Methods
void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Proceses the save/restore state opperation of the AppComponent
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From class com.microstrategy.web.app.beans.AbstractAppComponent
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
From class com.microstrategy.utils.serialization.AbstractPersistable
From class java.lang.Object
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.ElementPickerBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public ElementPickerBeanImpl ()

Public Methods

public void doCollectData ()

Call the required methods so the data is collected for this instance

public WebDisplayUnits getAvailableElements ()

Return the collection of available elements.

Returns
  • WebDisplayUnits collection of available elements

public int getElementBlockBegin ()

Returns the block begin for the elements - used by Incremental fetch

Returns
  • int the block begin

public int getElementBlockCount ()

Returns the block count for the elements - used by Incremental fetch

Returns
  • int the block count

public int getElementChildCount ()

Returns the child count for the elements - used by Incremental fetch

Returns
  • int the element child count

public int getPromptPosition ()

Get the prompt position index in the report.

Returns
  • int value with the prompt position in the report

public PromptsBean getPromptsBean ()

Returns the prompts bean associated with this element picker

Returns
  • PromptsBean
See Also

public WebAttributeForm getQualificationAttributeForm ()

Returns the form to be used for qualification. This attribute form's value will be used to pick the element's value.

Returns
  • WebAttributeForm the form to use for qualification

public String getSelectedAttributeId ()

Returns the selected attribute on the bean.

Returns
  • String the value from the attribute selection list

public String getSelectedOperator ()

Returns the selected Operator on the bean.

Returns
  • String the value from the Operator pulldown

public String getSelectedText ()

Returns the selected text.

Returns
  • String the value from the text box

public boolean isMultiSelectAvailable ()

Returns whether the selected operator support multiple selection

Returns
  • true if the operator supports multiple selection

public void setPromptPosition (int position)

Set the prompt position index in the report.

Parameters
position int value with the prompt position in the report

public void setSelectedAttributeId (String id)

Set the selected attribute on the bean.

Parameters
id String the value from the attribute selection list

public void setSelectedOperator (String operatorId)

Set the selected Operator on the bean.

Parameters
operatorId String the value from the Operator pulldown

public void setSelectedText (String text)

Set the selected text on the bean.

Parameters
text String the value from the text box

Protected Methods

protected void doFlatState (FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)

Proceses the save/restore state opperation of the AppComponent

Parameters
serializer an instance of the FlatStateSerializer object to use
howMuchState defines how much information needs to be saved
tokenizer an instance of the FlatStateTokenizer object to use