public class PendingDialogBuilder extends Object implements ISubmitGroupListener, IDialogBuilder
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PendingDialogBuilder(UserDialogManager udm)
The constructor will build the form and send the request to the user.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 UserDialogManager userDM
public PendingDialogBuilder(UserDialogManager udm)
udm
- 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
Copyright © 2018 universAAL Consortium. All rights reserved.