Skip to main content
Jump to: navigation, search

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

(Description)
m (Category changed)
 
Line 1: Line 1:
{{ScoutPage|cat=Concepts}}
+
{{ScoutPage|cat=Server}}
  
 
A lookup Service executes server-side the query contained in a {{ScoutLink|Concepts|LookupCall|LookupCall}}
 
A lookup Service executes server-side the query contained in a {{ScoutLink|Concepts|LookupCall|LookupCall}}

Latest revision as of 11:23, 3 November 2011


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
Bugzilla
Bugzilla


A lookup Service executes server-side the query contained in a LookupCall

  • implements: I obj.pngILookupService
  • extends: C obj.pngAbstractLookupService

Description

Note.png
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 LookupRow

The 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 lookup services using a SQL database.

See Also

Copyright © Eclipse Foundation, Inc. All Rights Reserved.