public interface

ElementPromptBean

implements PromptBean
com.microstrategy.web.beans.ElementPromptBean

Class Overview

Interface for the Element Prompt Bean.

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
Public Methods
abstract void addElement(String elementID, String displayName)
Add an element to the answer.
abstract boolean canSupportIncrementalFetch()
Returns true if the prompt supports incremental fetch.
abstract boolean canSupportSearch()
Returns true if the prompt supports search functionality.
abstract void clearAnswer()
Clears the answer for the prompt.
abstract WebElements getAnswer()
Returns the answer for the element prompt
abstract boolean isPromptEmpty()
Returns true if the prompt has no selections to display.
abstract void removeElement(int key)
Remove an element based on a key.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.beans.PromptBean
From interface com.microstrategy.web.beans.PromptObject
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebBean
From interface com.microstrategy.web.beans.WebComponent

Public Methods

public abstract void addElement (String elementID, String displayName)

Add an element to the answer.

Parameters
elementID - the id of the element
displayName - the display name of the element

public abstract boolean canSupportIncrementalFetch ()

Returns true if the prompt supports incremental fetch.

Returns
  • true if the prompt can support incremental fetch.

public abstract boolean canSupportSearch ()

Returns true if the prompt supports search functionality.

Returns
  • true if the prompt supports search functionality.

public abstract void clearAnswer ()

Clears the answer for the prompt.

public abstract WebElements getAnswer ()

Returns the answer for the element prompt

Returns

public abstract boolean isPromptEmpty ()

Returns true if the prompt has no selections to display.

Returns
  • true if the prompt has no selections to display.

public abstract void removeElement (int key)

Remove an element based on a key.

Parameters
key - key of the element to remove.