Package com.microstrategy.web.objects
Interface WebPromptInstance
-
public interface WebPromptInstanceThe interfaceWebPromptInstancerepresends a single prompt instance.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPin()Returns the pin of the current prompt instance.WebPromptgetPromptDef()Returns the prompt definition object corresponding to this prompt instance.booleanisDormant()Returnstrueif the current prompt instance is dormant.booleanisSystemPrompt()Returnstrueif the current prompt is system prompt.voidsetPromptDef(WebPrompt promptDef)Sets and Overwrites a prompt definition object associated with current prompt instance.voidsetSystemPrompt(boolean isSystemPrompt)
-
-
-
Method Detail
-
getPromptDef
WebPrompt getPromptDef()
Returns the prompt definition object corresponding to this prompt instance.- Returns:
- the corresponding prompt definition object.
-
isDormant
boolean isDormant()
Returnstrueif the current prompt instance is dormant.- Returns:
trueif the current prompt instance is dormant
-
isSystemPrompt
boolean isSystemPrompt()
Returnstrueif the current prompt is system prompt.- Returns:
falseif the current prompt is not system prompt
-
setSystemPrompt
void setSystemPrompt(boolean isSystemPrompt)
-
getPin
int getPin()
Returns the pin of the current prompt instance.- Returns:
- the pin of the current prompt instance.
-
setPromptDef
void setPromptDef(WebPrompt promptDef) throws WebObjectsException
Sets and Overwrites a prompt definition object associated with current prompt instance.- Parameters:
promptDef- a prompt definition object.- Throws:
WebObjectsException- thrown if the prompt type is not supported on this prompt site.
-
-