Skip to main content
Jump to: navigation, search

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

(description phrase, idea for the description.)
(Description)
Line 19: Line 19:
 
They return an array of {{ScoutLink|Concepts|LookupRow|LookupRow}}
 
They return an array of {{ScoutLink|Concepts|LookupRow|LookupRow}}
  
The {{ScoutLink|Concepts|LookupCall|call}} is a parameter of these functions: it is possible to cast the call to the specific LookupCall in oder to access to some variables of the call.
+
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 17:11, 21 March 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

Back to the top