com.microstrategy.web.objects.WebElementsPrompt |
This interface represents Elements prompt
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebElements |
getAnswer()
Returns the current prompt answer.
| ||||||||||
abstract int |
getBlockBegin()
Returns the current blockBegin setting, which is used for incremental fetch of
attribute elements.
| ||||||||||
abstract int |
getBlockCount()
Returns the current blockCount setting, which is used for incremental fetch of
elements.
| ||||||||||
abstract WebElements |
getDefaultAnswer()
Returns the default prompt answer
| ||||||||||
abstract WebFilter |
getDefinitionFilter()
Returns the filter restriction that is used for building the available answers
restriction, absent any changes made as a result of user-entered searches.
| ||||||||||
abstract WebFilter |
getFilterRestriction()
Returns the filter restriction for building available answers collection
or null.
| ||||||||||
abstract WebAttribute |
getOrigin()
Returns a source attribute for the prompt.
| ||||||||||
abstract WebElements |
getPreviousAnswer()
Returns the previous prompt answer
| ||||||||||
abstract WebElements |
getSuggestedAnswers(boolean createIfNull)
Returns a collection of suggested answer elements.
| ||||||||||
abstract WebElements |
getSuggestedAnswers()
Returns the collection of suggested answer elements or null
if no suggested answers are defined.
| ||||||||||
abstract WebElements |
setAnswer(WebElements answer)
Sets the current prompt answer.
| ||||||||||
abstract void |
setBlockBegin(int val)
Sets the blockBegin setting, which is used for incremental fetch of
elements.
| ||||||||||
abstract void |
setBlockCount(int val)
Sets the blockCount setting, which is used for incremental fetch of
elements.
| ||||||||||
abstract void |
setDefinitionFilter(WebFilter filter)
Sets the filter restriction used for building the available answers restriction, absent
any changes made as a result of user-entered searches.
| ||||||||||
abstract void |
setFilterRestriction(WebFilter filter)
Sets the filter restriction for building available answers collection
(see
getAvailableDisplayUnits() ). | ||||||||||
abstract void |
setOrigin(WebAttribute attr)
Sets the source attribute for the prompt.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the current prompt answer.
If there is no answer available, an empty WebElements
is returned, which can be used to build answer.
Returns the current blockBegin setting, which is used for incremental fetch of
attribute elements. This value tells the index of the first element in the collection to be
retrieved. This value is usually used in conjunction with blockCount
.
Returns the current blockCount setting, which is used for incremental fetch of
elements. This value tells the number of objects to be retrieved.
This value is usually used in conjunction with blockBegin
.
Returns the default prompt answer
Returns the filter restriction that is used for building the available answers restriction, absent any changes made as a result of user-entered searches.
WebFilter
object representing the filter defined on the prompt. Returns the filter restriction for building available answers collection or null.
Returns a source attribute for the prompt.
Returns the previous prompt answer
Returns a collection of suggested answer elements. If createIfNull is true, then a new collection will be created if one does not already exists.
createIfNull | Whether to create if null. |
---|
WebElements
collection.Returns the collection of suggested answer elements or null
if no suggested answers are defined. This list will be used in building available
answers collection (see getAvailableDisplayUnits()
).
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 the blockBegin setting, which is used for incremental fetch of
elements. This value tells the index of the first element in the collection to be
retrieved. This value is usually used in conjunction with blockCount
.
val | The blockBegin setting to be used upon populating the elements collection from the Intelligence Server. |
---|
Sets the blockCount setting, which is used for incremental fetch of
elements. This value tells the number of elements to be retrieved.
This value is usually used in conjunction with blockBegin
.
val | The blockCount setting to be used upon populating the collection from the Intelligence Server. |
---|
Sets the filter restriction used for building the available answers restriction, absent any changes made as a result of user-entered searches. Note that calling this method with null as the argument will cause the filter to be cleared.
filter | The WebFilter that is to be used as the filter restriction on the definition. |
---|
WebObjectsException |
---|
Sets the filter restriction for building available answers collection
(see getAvailableDisplayUnits()
).
Note that this only affects the temporary filter restriction - i.e. the one used immediately for
retrieving elements. If editing a prompt definition, then setFilterRestriction will
set the filter expression to be used as the filter in the prompt definition.
filter | the filter restriction object or null. |
---|
Sets the source attribute for the prompt.
attr | The source attribute to be used. |
---|