Package com.microstrategy.web.app.beans
Interface PromptAppBean
-
- All Superinterfaces:
AppComponent
,EnumWebPersistableState
,Persistable
,RequestPersistable
,Transformable
,WebComponent
- All Known Subinterfaces:
PromptConstantAppBean
,PromptDimtyAppBean
,PromptElementsAppBean
,PromptExpressionAppBean
,PromptHierarchyAppBean
,PromptObjectAppBean
public interface PromptAppBean extends AppComponent, RequestPersistable
- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PromptAppBean.StyleController
The style controller interface.
-
Field Summary
-
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PromptBean
getPromptBean()
Returns thePromptBean
associated with the style bean.java.lang.String
getPromptDisplayStyle()
boolean
isAnswerComplex()
Returns true if the answer is complex.boolean
isVisible()
In "Each prompt on separate page" mode, only one prompt is visible at one time.void
setVisible(boolean visible)
Sets whether this style bean should be visible on the page.-
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.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.web.beans.RequestPersistable
restoreStateFromRequest, restoreStateFromRequest
-
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
-
getPromptBean
PromptBean getPromptBean()
Returns thePromptBean
associated with the style bean.- Returns:
- the promptBean associated with the style bean
-
isAnswerComplex
boolean isAnswerComplex()
Returns true if the answer is complex. The answer is complex if this style bean cannot display the answer.- Returns:
- true if the answer is complex for the style bean.
-
isVisible
boolean isVisible()
In "Each prompt on separate page" mode, only one prompt is visible at one time. In this case, only the style bean corresponding to the visible one should returntrue
for this method. In "All on one page" mode, all style beans should be visible.- Returns:
true
if current style bean should be visible.
-
setVisible
void setVisible(boolean visible)
Sets whether this style bean should be visible on the page.- See Also:
isVisible()
-
getPromptDisplayStyle
java.lang.String getPromptDisplayStyle()
- Returns:
- The name of the display style property.
-
-