|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DialogueManager
Manager for the dialogue scope. For background about the dialogue scope, see
DialogueScoped.
| Method Summary | |
|---|---|
void |
attachDialogue(String dialogueId)
Attaches the current thread to the given dialogue. |
void |
beginDialogue()
Starts a new dialogue. |
void |
detachDialogue()
Detaches the current thread from the dialogue. |
void |
endDialogue()
Ends the current dialogue. |
boolean |
isAttached()
Checks whether the current thread is attached to a dialogue (i.e. |
boolean |
isExistingDialogue(String dialogueId)
Checks whether a dialogue exists with the given id. |
| Method Detail |
|---|
void beginDialogue()
RuntimeException if
isAttached() is true.
void endDialogue()
RuntimeException if
isAttached() is false.
boolean isExistingDialogue(String dialogueId)
dialogueId - the id
boolean isAttached()
void attachDialogue(String dialogueId)
RuntimeException if the thread is already attached to a dialogue,
i.e. if isAttached() is true.
dialogueId - void detachDialogue()
RuntimeException if isAttached() is false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||