Server (Cells) Messaging Home
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. ONT server performs the following steps:
    1. Parses <parent> to obtain the table key and path. Queries the table of tables to confirm that the user / role can access the table that is reference by the table key passed in. This call returns the table name referenced by that key. If not, return coded error. The client receives error message with code "TABLE_ACCESS_DENIED".
    2. If max is set, the database is queried for that number of children associated with the parent passed in.
    3. If numLevel is set, the query will return up to and including the number of levels specified by numLevel (eg. numlevel=2 returns two levels of descendants, numLevel=4 returns four levels of descendants). By default, the function assumes numLevel = 1 and will return the direct descendants of the concept, which is one level of children.  When the numLevel = -1 the function will return ALL descendants of the concept... 
    4. If count < max or no mas set, the database is queried for the entire list of children that meets the parent criteria.
    5. If count > max a coded error message is sent back.

...