From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../client/jsf/dialog/BrowserWindowCallBack.html | 346 +++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/BrowserWindowCallBack.html (limited to 'Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/BrowserWindowCallBack.html') diff --git a/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/BrowserWindowCallBack.html b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/BrowserWindowCallBack.html new file mode 100644 index 0000000..5342b1b --- /dev/null +++ b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/BrowserWindowCallBack.html @@ -0,0 +1,346 @@ + + + + + + +BrowserWindowCallBack (Quasar Client Building Blicks API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sdm.quasar.client.jsf.dialog +
+Interface BrowserWindowCallBack

+
+
+
public interface BrowserWindowCallBack
+ +

+Callback for the BrowserWindow if the VisualRepresentation + requested by the actual request could not or shall not be shown. + The callback provides some exit methods to determine what to do next. +

+ +

+

+
Author:
+
Martin Haft
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanhandleInvalidSequenceNumber(DialogInstanceId dialogInstanceId, + java.lang.String url) + +
+          A double submit is dedected by an invalid sequence number. +
+ booleanhandleNoVisualRepresentationAssigned() + +
+          No VisualRepresentation could be assigned with this request. +
+ booleanperformRedirectToCurrent() + +
+          An other than the requested VisualRepresentation is the + currently shown VisualRepresentation and shall stay. +
+ booleanperformRedirectToDialog(java.lang.String dialogId, + java.lang.Object context) + +
+          Instead of the requested VisualRepresentation the + VisualRepresentation of another dialog shall be shown. +
+ booleanperformRedirectToUrl(java.lang.String url) + +
+          Instead of the requested VisualRepresentation an other page + shall be shown. +
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+performRedirectToCurrent

+
+public boolean performRedirectToCurrent()
+
+
An other than the requested VisualRepresentation is the + currently shown VisualRepresentation and shall stay. + Thus perform a redirect to the current shown VisualRepresentation. +

+

+ +
Returns:
true if the response is completed e.g. due to a + redirect to a determined dialog. The servlet filter chain will + not be processed further, but the redirect will be performed immediately.
+
+
+
+ +

+performRedirectToUrl

+
+public boolean performRedirectToUrl(java.lang.String url)
+
+
Instead of the requested VisualRepresentation an other page + shall be shown. + Thus perform a redirect to this page. +

+

+ +
Returns:
true if the response is completed e.g. due to a + redirect to a determined dialog. The servlet filter chain will + not be processed further, but the redirect will be performed immediately.
+
+
+
+ +

+performRedirectToDialog

+
+public boolean performRedirectToDialog(java.lang.String dialogId,
+                                       java.lang.Object context)
+
+
Instead of the requested VisualRepresentation the + VisualRepresentation of another dialog shall be shown. + Thus create the dialog and perform a redirect to the VisualRepresentation + of this dialog. +

+

+ +
Returns:
true if the response is completed e.g. due to a + redirect to a determined dialog. The servlet filter chain will + not be processed further, but the redirect will be performed immediately.
+
+
+
+ +

+handleNoVisualRepresentationAssigned

+
+public boolean handleNoVisualRepresentationAssigned()
+
+
No VisualRepresentation could be assigned with this request. + The request is probably a new entry at the application, a bookmark + or some other reason an existing VisualRepresentation could not + be determined. The application has to determine what to do next. +

+

+ +
Returns:
true if the response is completed e.g. due to a + redirect to a determined dialog. The servlet filter chain will + not be processed further, but the redirect will be performed immediately.
+
+
+
+ +

+handleInvalidSequenceNumber

+
+public boolean handleInvalidSequenceNumber(DialogInstanceId dialogInstanceId,
+                                           java.lang.String url)
+
+
A double submit is dedected by an invalid sequence number. + The application has to determine what to do next. +

+

+
Parameters:
dialogInstanceId - DialogInstanceId of the dialog that is out of sequence
url - an URL for the corresponding dialog in its actual state +
Returns:
true if the response is completed e.g. due to a + redirect to a determined dialog. The servlet filter chain will + not be processed further, but the redirect will be performed immediately.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3