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.
Difference between revisions of "Scout/Concepts/Lookup Service"
Dev.jmini.fr (Talk | contribs) (add classes) |
m (Category changed) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ScoutPage|cat= | + | {{ScoutPage|cat=Server}} |
− | + | A lookup Service executes server-side the query contained in a {{ScoutLink|Concepts|LookupCall|LookupCall}} | |
* implements: {{ScoutJavadoc|ILookupService|I}} | * implements: {{ScoutJavadoc|ILookupService|I}} | ||
Line 11: | Line 11: | ||
Different type of queries (get by key, by text...) | 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 == | == See Also == |
Revision as of 12:23, 3 November 2011
The Scout documentation has been moved to https://eclipsescout.github.io/.
A lookup Service executes server-side the query contained in a The Scout documentation has been moved to https://eclipsescout.github.io/.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
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 The Scout documentation has been moved to https://eclipsescout.github.io/.
The The Scout documentation has been moved to https://eclipsescout.github.io/. 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 The Scout documentation has been moved to https://eclipsescout.github.io/..
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.