Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Lookup Service"

m (Category changed)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
Line 1: Line 1:
{{ScoutPage|cat=Server}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
A lookup Service executes server-side the query contained in a {{ScoutLink|Concepts|LookupCall|LookupCall}}
+
 
+
* implements: {{ScoutJavadoc|ILookupService|I}}
+
* extends: {{ScoutJavadoc|AbstractLookupService|C}}
+
 
+
== Description ==
+
{{note|TODO|Add a description}}
+
 
+
Different type of queries (get by key, by text...)
+
 
+
Functions:
+
* getDataByKey(LookupCall call)
+
* getDataByText(LookupCall call)
+
* getDataByAll(LookupCall call)
+
* getDataByRec(LookupCall call)
+
 
+
They return an array of {{ScoutLink|Concepts|LookupRow|LookupRow}}
+
 
+
The {{ScoutLink|Concepts|LookupCall|call}} is a parameter of these functions. This call contains some useful information to compute the rows (key, text, master...). It is also possible to cast the call to a specific LookupCall in order to access to some specific variables of the call.
+
 
+
Scout provides some support for {{ScoutLink|Concepts|Sql_Lookup_Service|lookup services using a SQL database}}.
+
 
+
== See Also ==
+
* {{ScoutLink|Concepts|LookupCall|LookupCall}}
+
* {{ScoutLink|Concepts|LookupRow|LookupRow}}
+
* {{ScoutLink|Concepts|Server Plug-In|Server Plug-In}}
+

Latest revision as of 05:20, 14 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top