|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.ui.dm.userInteraction.PendingDialogBuilder
public class PendingDialogBuilder
Build a form that list all pending dialogs for a user. Manage the interaction to allow the user to select a dialog, remove all dialogs, suspend a dialog...
Field Summary | |
---|---|
static String |
ABORT_ALL_OPEN_DIALOGS_CALL
The submission ID to abort all open dialogs. |
static String |
CLOSE_OPEN_DIALOGS_CALL
The submission ID to close the dialog that shows all pending dialogs. |
protected IUIRequestPool |
dialogPool
The DialogPool containing all dialogs for the user. |
static String |
PROP_DLG_LIST_DIALOG_DATE
|
static String |
PROP_DLG_LIST_DIALOG_ID
|
static String |
PROP_DLG_LIST_DIALOG_LIST
|
static String |
PROP_DLG_LIST_DIALOG_TITLE
|
static String |
PROP_DLG_LIST_SENT_ITEMS
|
protected List<String> |
sentItems
the list of Dialog Id sent |
static String |
SWITCH_TO_CALL_PREFIX
Prefix of a submission ID to switch to a pending dialog. |
protected UserDialogManager |
userDM
|
Constructor Summary | |
---|---|
PendingDialogBuilder(UserDialogManager udm)
The constructor will build the form and send the request to the user. |
Method Summary | |
---|---|
Form |
buildForm()
|
void |
handle(UIResponse response)
Handle the UIResponse for any of the SubmitionIDs declared in
ISubmitGroupListener.listDeclaredSubmitIds() . |
Set<String> |
listDeclaredSubmitIds()
List the SubmissionIDs implementations of this interface will handle. |
void |
showDialog()
Build and show dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SWITCH_TO_CALL_PREFIX
Repeat
control which automatically adds index numbers to this prefix.
public static final String PROP_DLG_LIST_DIALOG_DATE
public static final String PROP_DLG_LIST_DIALOG_LIST
public static final String PROP_DLG_LIST_DIALOG_TITLE
public static final String PROP_DLG_LIST_DIALOG_ID
public static final String PROP_DLG_LIST_SENT_ITEMS
public static final String CLOSE_OPEN_DIALOGS_CALL
public static final String ABORT_ALL_OPEN_DIALOGS_CALL
protected IUIRequestPool dialogPool
protected List<String> sentItems
protected UserDialogManager userDM
Constructor Detail |
---|
public PendingDialogBuilder(UserDialogManager udm)
udm
- Method Detail |
---|
public Form buildForm()
public Set<String> listDeclaredSubmitIds()
listDeclaredSubmitIds
in interface ISubmitGroupListener
public void handle(UIResponse response)
UIResponse
for any of the SubmitionIDs declared in
ISubmitGroupListener.listDeclaredSubmitIds()
.
handle
in interface ISubmitGroupListener
public void showDialog()
showDialog
in interface IDialogBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |