com.microstrategy.web.objects.WebPromptInstances |
The interface WebPromptInstances
represents a collection of
prompt instances.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Clear the whole collection;
| ||||||||||
abstract WebPromptInstance |
findByPin(int pin)
Returns the prompt instance with the specified pin.
| ||||||||||
abstract WebPromptInstance |
get(int index)
Returns the prompt instance at the specified position.
| ||||||||||
abstract boolean |
isEmpty()
Returns
true if the collection is empty. | ||||||||||
abstract WebPromptInstance |
newPromptInstance()
Creates and stores a prompt instance.
| ||||||||||
abstract WebPromptInstance |
newPromptInstance(WebPrompt promptDef)
Creates and stores a prompt instance.
| ||||||||||
abstract void |
remove(int index)
Removes the prompt instance at the specified position.
| ||||||||||
abstract void |
removeByPin(int pin)
Removes the prompt instance with the specified pin.
| ||||||||||
abstract int |
size()
Returns the number of prompt instances from this collection.
|
Clear the whole collection;
Returns the prompt instance with the specified pin.
pin | the pin of a prompt instance |
---|
Returns the prompt instance at the specified position.
index | the position of a prompt instance |
---|
Returns true
if the collection is empty.
true
if the collection is empty.
Creates and stores a prompt instance.
Creates and stores a prompt instance. The newly created prompt instance is linked to the specified prompt definition.
promptDef | a prompt definition. |
---|
WebObjectsException | thrown if the prompt type is not supported on this prompt site. |
---|
Removes the prompt instance at the specified position.
index | the position of a prompt instance. |
---|
Removes the prompt instance with the specified pin.
pin | pin the pin of a prompt instance |
---|
Returns the number of prompt instances from this collection.