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 --- .../quasar/client/jsf/dialog/GetParameters.html | 356 +++++++++++++++++++++ 1 file changed, 356 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/GetParameters.html (limited to 'Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/GetParameters.html') diff --git a/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/GetParameters.html b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/GetParameters.html new file mode 100644 index 0000000..c2c8fd0 --- /dev/null +++ b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/dialog/GetParameters.html @@ -0,0 +1,356 @@ + + + + + + +GetParameters (Quasar Client Building Blicks API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sdm.quasar.client.jsf.dialog +
+Class GetParameters

+
+java.lang.Object
+  extended bycom.sdm.quasar.client.jsf.dialog.GetParameters
+
+
+
+
public class GetParameters
extends java.lang.Object
+ +

+Simple helper class to collect get parameters for a request + and add them as parameters to a url. Here it is used to + add the dialog identifying parameters (dialog id and dialog instance id) + to the get parameters of a url as well as for bookmarking parameters. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
+protected GetParameters() + +
+          Protected Constructor. +
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringaddGetParametersToURL(java.lang.String url) + +
+          Adds all get parameters of this to the given url
+ java.lang.ObjectgetGetParameter(java.lang.String key) + +
+           
+ java.util.MapgetGetParameterMap() + +
+           
+ voidputGetParameter(java.lang.String key, + java.lang.String value) + +
+          Add a new get parameter or change an existing.
+ voidputGetParameters(java.util.Properties properties) + +
+          The properties are added to the get parameters. +
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+GetParameters

+
+protected GetParameters()
+
+
Protected Constructor. + GetParameters are added to every request and can be obtained + from a RequestDataService. +

+

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

+getGetParameterMap

+
+public java.util.Map getGetParameterMap()
+
+
+ +
Returns:
the HashMap with collected the get parameter
+
+
+
+ +

+getGetParameter

+
+public java.lang.Object getGetParameter(java.lang.String key)
+
+
+
Parameters:
key - the key for a get parameter +
Returns:
the value of the get parameter
+
+
+
+ +

+putGetParameter

+
+public void putGetParameter(java.lang.String key,
+                            java.lang.String value)
+
+
Add a new get parameter or change an existing. +

+

+
Parameters:
key - the key for a get parameter
value - the new value for the get parameter
+
+
+
+ +

+putGetParameters

+
+public void putGetParameters(java.util.Properties properties)
+
+
The properties are added to the get parameters. + Note: if a property value is not a string we use the + toString method to determin the get parameter value. +

+

+
Parameters:
properties - the Properties to be added
+
+
+
+ +

+addGetParametersToURL

+
+public java.lang.String addGetParametersToURL(java.lang.String url)
+
+
Adds all get parameters of this to the given url +

+

+
Parameters:
url - the url to be supplemented by the get parameters +
Returns:
the supplemented url
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3