com.microstrategy.web.objects.WebObjectsPrompt |
This interface represents Objects prompt.
[Expand]
Inherited Constants | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebFolder |
getAnswer()
Returns the current prompt answer.
| ||||||||||
abstract WebFolder |
getDefaultAnswer()
Returns the default prompt answer
| ||||||||||
abstract WebFolder |
getPreviousAnswer()
Returns the previous prompt answer
| ||||||||||
abstract WebSearch |
getSearchRestriction()
Returns a search object that shall be used to get a list of possible
answers if the suggested answers list is empty.
| ||||||||||
abstract WebFolder |
getSuggestedAnswers(boolean createIfNull)
Returns the collection of suggested answers.
| ||||||||||
abstract WebFolder |
getSuggestedAnswers()
Returns a folder object containing suggested answers or null.
| ||||||||||
abstract void | removeSuggestedAnswers() | ||||||||||
abstract WebFolder |
setAnswer(WebFolder answer)
Sets the current prompt answer.
| ||||||||||
abstract void |
setSearchRestriction(WebSearch search)
Sets a search object that shall be used to get a list of possible
answers if the suggested answers list is empty.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
Returns the current prompt answer.
If there is no answer available, an empty WebFolder
is returned, which can be used to build answer.
Returns the default prompt answer
Returns the previous prompt answer
Returns a search object that shall be used to get a list of possible answers if the suggested answers list is empty.
Returns the collection of suggested answers. If createIfNull is passed as true, and there exists no collection, then an empty one will be created. If the prompt object refers to a prompt definition, rather than a prompt question, then the collection will be editable.
createIfNull | Whether to create a new empty collection if one is not found. |
---|
WebFolder
containing the suggested answers.Returns a folder object containing suggested answers or null.
Sets the current prompt answer. Internally this method creates a new copy of
the answer
object and stores it as the current answer. (If the
answer
object is the same as the current answer no copy is
created).
answer | a prompt answer |
---|
answer
object.
Sets a search object that shall be used to get a list of possible answers if the suggested answers list is empty.
search | a search object that shall be used to get a list of possible answers if the suggested answers list is empty. |
---|