Scout/Concepts/Lookup Service

From Eclipsepedia

< Scout‎ | Concepts
Revision as of 12:23, 3 November 2011 by Claudio.guglielmo.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
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