|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Prompts
The Prompts interface represents a collection of prompts.
A collection of prompts can be returned for a document, or for a list of values that contains nested prompts.
DocumentInstance.getPrompts()
,
Lov.getNestedPrompts()
,
Prompt
Method Summary | |
---|---|
int |
getCount()
Gets the number of prompts in the collection. |
Prompt |
getItem(int index)
Gets the prompt at the specified position in the collection. |
Prompt |
getItem(java.lang.String name)
Gets a prompt by name. |
Prompt |
getItemByID(java.lang.String id)
Retrieve a Prompt instance from its identifier (Prompt.getID() ). |
Method Detail |
---|
int getCount()
Prompt getItem(int index) throws java.lang.IndexOutOfBoundsException
Indexes for the collection of prompts are 0-based.
index
- the index of the prompt to return
java.lang.IndexOutOfBoundsException
- if index
is less than 0 or
greater than Prompts.getCount.Prompt
Prompt getItem(java.lang.String name) throws REException
This method throws an IllegalArgumentException
if the specified prompt is not in the collection.
name
- the name of the prompt
REException
Prompt
Prompt getItemByID(java.lang.String id)
Prompt
instance from its identifier (Prompt.getID()
).
This method throws an IllegalArgumentException
if the
prompt identifier could not be found in the collection.
id
- the prompt identifier
Prompt
Prompt.getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |