com.microstrategy.web.beans.PromptObject |
![]() |
This interface represents information about a single prompt. It manages its position property and a WebPrompt object.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebDisplayHelper |
getDisplayHelper()
Returns the cached
WebDisplayHelper object from the current
PromptObject. | ||||||||||
abstract HighlightedObjects |
getHighlightedObjects()
Returns a collection of highlighted objects.
| ||||||||||
abstract String |
getOriginalSearchRoot()
Returns original search root or empty string.
| ||||||||||
abstract int |
getPromptPosition()
Returns the position of this PromptObject in the collection of prompt
objects in a
PromptsBean . | ||||||||||
abstract PromptsBean |
getPromptsBean()
Returns the
PromptsBean which contains this prompt object. | ||||||||||
abstract PromptsSource |
getPromptsSource()
Returns the
PromptsSource object from which this prompt
object is originated. | ||||||||||
abstract String |
getUserSearchPattern()
Returns the user search pattern on a PromptObject.
| ||||||||||
abstract WebBeanError |
getValidationInfo()
Returns the prompt answer validation error information for this
particular prompt only.
| ||||||||||
abstract WebPrompt |
getWebPrompt()
Returns the embedded
WebPrompt object. | ||||||||||
abstract boolean |
hasAnswerChanged()
Returns
true if the prompt answer has been changed since it
is loaded from the Intelligence Server. | ||||||||||
abstract void |
setAnswerChanged(boolean changed)
Sets a boolean value indicating that the prompt answer has been changed
for the underlying prompt.
| ||||||||||
abstract void |
setUserSearchPattern(String pattern)
Sets the user search pattern on a PromptObject.
| ||||||||||
abstract void |
setValidationInfo(WebBeanError wbe)
Sets a prompt answer validation error on this prompt object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the cached WebDisplayHelper
object from the current
PromptObject. If the cached one is null, then return a new one from the
underlying WebPrompt
.
The cached WebDisplayHelper
is typically set by the prompt
event handler.
WebDisplayHelper
objectWebObjectsException | thrown if the WebDisplayHelper
is unable to retrieved.
|
---|
Returns a collection of highlighted objects. PromptsBean
queries
this collection and then tries to highlight each element in the
collection in its collectData
method.
HighlightedObject
.
Returns original search root or empty string.
Returns the position of this PromptObject in the collection of prompt
objects in a PromptsBean
.
Returns the PromptsBean
which contains this prompt object.
PromptsBean
.
Returns the PromptsSource
object from which this prompt
object is originated.
PromptsSource
object.
Returns the user search pattern on a PromptObject. A search pattern is
what a user types in a search box on a Web browser to perform a search.
Except WebConstantPrompt
, other types of WebPrompt
all
provide the search ability to search for a WebObjectInfo
or
WebElement
.
Returns the prompt answer validation error information for this particular prompt only.
Returns the embedded WebPrompt
object.
WebPrompt
object associated with this object.
Returns true
if the prompt answer has been changed since it
is loaded from the Intelligence Server. Answering a prompt should reset
this flag to false
.
PromptsEventHandler
uses this method to decide whether to
open a closed prompt.
true
if the prompt answer has been changed since it
is loaded from the Intelligence Server.Sets a boolean value indicating that the prompt answer has been changed
for the underlying prompt. After answering a prompt, users should reset
this flag to false
.
PromptsEventHandler
uses this method to decide whether to
open a closed prompt.
changed | true if the prompt answer has been changed
for the underlying prompt. |
---|
Sets the user search pattern on a PromptObject. A search pattern is
what a user types in a search box on a Web browser to perform a search.
Except WebConstantPrompt
, other types of WebPrompt
all
provide the search ability to search for a WebObjectInfo
or
WebElement
.
pattern | the new user search pattern a user types in |
---|
Sets a prompt answer validation error on this prompt object. Prompt event handler calls this method to pass validation error info to th caller.
wbe | the prompt answer validation error. |
---|