Package com.microstrategy.web.app.beans
Interface ElementPickerBean
-
- All Superinterfaces:
AppComponent,Transformable,WebComponent
- All Known Implementing Classes:
ElementPickerBeanImpl
public interface ElementPickerBean extends AppComponent
This interface provides methods for the element picker used in Attribute Qualification Prompts.- Since:
- MicroStrategy Web 8.0.1
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebDisplayUnitsgetAvailableElements()Return the collection of available elements.intgetElementBlockBegin()Returns the block begin for the elements - used by Incremental fetchintgetElementBlockCount()Returns the block count for the elements - used by Incremental fetchintgetElementChildCount()Returns the child count for the elements - used by Incremental fetchintgetPromptPosition()Get the prompt position index in the report.PromptsBeangetPromptsBean()Returns the prompts bean associated with this element pickerWebAttributeFormgetQualificationAttributeForm()Returns the form to be used for qualification.java.lang.StringgetSelectedAttributeId()Returns the selected attribute on the bean.java.lang.StringgetSelectedOperator()Returns the selected Operator on the bean.java.lang.StringgetSelectedText()Returns the selected text.booleanisMultiSelectAvailable()Returns whether the selected operator support multiple selectionvoidsetPromptPosition(int position)Set the prompt position index in the report.voidsetSelectedAttributeId(java.lang.String attributeId)Set the selected attribute on the bean.voidsetSelectedOperator(java.lang.String operator)Set the selected Operator on the bean.voidsetSelectedText(java.lang.String text)Set the selected text on the bean.-
Methods inherited from interface com.microstrategy.web.app.beans.AppComponent
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getLeft, getResultFilterMode, getTop, isDialog, isForcedChildrenStateSaving, isModal, isModalOpen, isOpen, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setIsOpen, setLeft, setTop
-
Methods inherited from interface com.microstrategy.web.beans.Transformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, getBeanContext, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, getType, hasTransform, hasTransform, invalidateTransformCache, setBeanContext, transform, transform
-
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectData, collectMinimalData, generateOutput, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, getXMLStatus, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler
-
-
-
-
Method Detail
-
setPromptPosition
void setPromptPosition(int position)
Set the prompt position index in the report.- Parameters:
position-intvalue with the prompt position in the report
-
getPromptPosition
int getPromptPosition()
Get the prompt position index in the report.- Returns:
intvalue with the prompt position in the report
-
setSelectedText
void setSelectedText(java.lang.String text)
Set the selected text on the bean.- Parameters:
text-Stringthe value from the text box
-
getSelectedText
java.lang.String getSelectedText()
Returns the selected text.- Returns:
Stringthe value from the text box
-
setSelectedAttributeId
void setSelectedAttributeId(java.lang.String attributeId)
Set the selected attribute on the bean.- Parameters:
attributeId-Stringthe value from the attribute selection list
-
getSelectedAttributeId
java.lang.String getSelectedAttributeId()
Returns the selected attribute on the bean.- Returns:
Stringthe value from the attribute selection list
-
setSelectedOperator
void setSelectedOperator(java.lang.String operator)
Set the selected Operator on the bean.- Parameters:
operator-Stringthe value from the Operator pulldown
-
getSelectedOperator
java.lang.String getSelectedOperator()
Returns the selected Operator on the bean.- Returns:
Stringthe value from the Operator pulldown
-
getAvailableElements
WebDisplayUnits getAvailableElements()
Return the collection of available elements.- Returns:
WebDisplayUnitscollection of available elements
-
getPromptsBean
PromptsBean getPromptsBean()
Returns the prompts bean associated with this element picker- Returns:
PromptsBean
-
isMultiSelectAvailable
boolean isMultiSelectAvailable()
Returns whether the selected operator support multiple selection- Returns:
- true if the operator supports multiple selection
-
getElementBlockBegin
int getElementBlockBegin()
Returns the block begin for the elements - used by Incremental fetch- Returns:
intthe block begin
-
getElementBlockCount
int getElementBlockCount()
Returns the block count for the elements - used by Incremental fetch- Returns:
intthe block count
-
getElementChildCount
int getElementChildCount()
Returns the child count for the elements - used by Incremental fetch- Returns:
intthe element child count
-
getQualificationAttributeForm
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:
WebAttributeFormthe form to use for qualification
-
-