| | This file copyright (c) 2004 SO.MUS.AR. s.a.s. | Subject to the license published at | http://www.somusar.com/contact/poc_request | catalog "Catalog" | | This entity has no database implementation and features a | rich set of information retrieval functions | string origin[30] "Origin" string destination[30] "Destination" string location[30] "Location" string package_id[20] "Package Id." locale locale "Locale" lodging lodging "Lodging" activity activity "Activity" transportation transportation "Transportation" adventure_package adventure_package "Adventure package" list lodging lodgings "Lodgings" list transportation transportations "Transportations" list activity activities "Activities" list activity_list activity_list_items "Activity list" function get_lodging "Retrieve lodging" function get_lodgings "Retrieve lodgings" function get_transportation "Retrieve transportation" function get_transportations "Retrieve transportations" function get_activity "Retrieve activity" function get_activities "Retrieve activities" function get_adventure_package "Retrieve adventure package" function get_activity_list "Retrieve activity list" --- DEFS ------------------------------------------------------------------ | | Define signatures for all the functions of this entity. | | By convention, queries with a void parameter set (a "0") | take as input parameter the primary key of the entity | that they return. This convention simplifies maintenance, | as a change in the primary key of another entity would | not have to be propagated to other entities. | get_lodging: 0 -> lodging get_lodgings: location, locale -> lodgings get_transportation: 0 -> transportation get_transportations: origin, destination, locale -> transportations get_activity: 0 -> activity get_activities: location, locale -> activities get_adventure_package: 0 -> adventure_package get_activity_list: package_id, locale -> activity_list_items --- DB -------------------------------------------------------------------- | This entity has no information recored in the | database --- LOGIC ----------------------------------------------------------------- | This entity has no class properties at the logic level: | it only contains queries query: get_lodgings, get_lodging, get_transportations, get_transportation, get_activities, get_activity, get_adventure_package, get_activity_list --- UI -------------------------------------------------------------------- | No usage interface for this entity, yet --- ADJUST ---------------------------------------------------------------- | For some reason, method get_activity_list has a special way | to deal with data lists. Conform to that requirement using | an additional adjusting parameter. LOGIC.query.get_activity_list.list_mode = "flat"