public interface

PromptsContainerBean

implements Persistable AppComponent
com.microstrategy.web.app.beans.PromptsContainerBean

Summary

Constants
String DEFAULT_STYLE_VALUE
String STYLE_NAME_PROPERTY
[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
Public Methods
abstract int getCurrentPromptAppBeanIndex()
Returns the index of current prompt bean is working on.
abstract List<PromptAppBean> getPromptAppBeans()
Returns the list of Prompt Style Beans.
abstract PromptsBean getPromptsBean()
Returns the PromptsBean that is associated with the container.
abstract void init(PromptsBean bean)
Initializes the PromptsContainerBean using the PromptsBean passed in.
abstract void init(PromptBean bean)
abstract boolean isMobile()
abstract boolean isShowRequiredPromptsFirst()
Returns whether the required prompts should be shown before optional prompts.
abstract void setMobile(boolean isMobile)
abstract void setPromptsLoaded(boolean value)
abstract void setUseWebBlocks(boolean value)
Set whether the widgets style will be used for the transform.
abstract boolean useWebBlocks()
Returns whether the bean should be transformed using the widgets infrastructure.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Constants

public static final String DEFAULT_STYLE_VALUE

Constant Value: "DefaultPSXSL"

public static final String STYLE_NAME_PROPERTY

Constant Value: "PSXSL"

Public Methods

public abstract int getCurrentPromptAppBeanIndex ()

Returns the index of current prompt bean is working on. The index will indicate the current prompt for one prompt per page mode, will indicate the first error prompt when there is error needs to be corrected.

Returns

public abstract List<PromptAppBean> getPromptAppBeans ()

Returns the list of Prompt Style Beans.

Returns
  • - the list of style beans.

public abstract PromptsBean getPromptsBean ()

Returns the PromptsBean that is associated with the container.

Returns

public abstract void init (PromptsBean bean)

Initializes the PromptsContainerBean using the PromptsBean passed in. It creates the set of prompt style beans based on individual prompt beans.

Parameters
bean - PromptsBean from any of the sources.

public abstract void init (PromptBean bean)

public abstract boolean isMobile ()

public abstract boolean isShowRequiredPromptsFirst ()

Returns whether the required prompts should be shown before optional prompts.

public abstract void setMobile (boolean isMobile)

public abstract void setPromptsLoaded (boolean value)

public abstract void setUseWebBlocks (boolean value)

Set whether the widgets style will be used for the transform.

Parameters
value - true to use the widgets and false to use the old style

public abstract boolean useWebBlocks ()

Returns whether the bean should be transformed using the widgets infrastructure.

Returns
  • true - if it uses the widgets and false if it uses the old style