Scout/Concepts/Lookup Service

From Eclipsepedia

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: Image:I_obj.pngILookupService
  • extends: Image:C_obj.pngAbstractLookupService

Description

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