User Tools

Site Tools


xul:birds_eye_view

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
xul:birds_eye_view [2025/07/26 16:50] – ↷ Page moved from mozilla-devel:birds_eye_view to xul:birds_eye_view slearyxul:birds_eye_view [2025/07/26 17:23] (current) – adding returned object IDs in parentheses to headings, for quick skimming of the TOC sleary
Line 32: Line 32:
 After the user is logged in, we start grabbing data that we'd like to cache in the client.  Things like organization hierarchy, a list of copy locations, ID types, etc. After the user is logged in, we start grabbing data that we'd like to cache in the client.  Things like organization hierarchy, a list of copy locations, ID types, etc.
  
-==== open-ils.search.actor.user.session ====+==== open-ils.search.actor.user.session (au) ====
 This method returns most of the user data for the person logged in (the user associated with the session key).  This data is returned as a fieldmapper object with the shortname of "au", but otherwise known as **Fieldmapper::actor::user** on the server side of Evergreen.  In the following table, *'s indicate "virtual" fields, which are usually just empty placeholders to hang other fieldmapper objects.  A "fleshed" fieldmapper object is one where some or all of these virtual fields are filled in. This method returns most of the user data for the person logged in (the user associated with the session key).  This data is returned as a fieldmapper object with the shortname of "au", but otherwise known as **Fieldmapper::actor::user** on the server side of Evergreen.  In the following table, *'s indicate "virtual" fields, which are usually just empty placeholders to hang other fieldmapper objects.  A "fleshed" fieldmapper object is one where some or all of these virtual fields are filled in.
  
Line 82: Line 82:
 |au|usrname|OPAC/staff client login name for this user| |au|usrname|OPAC/staff client login name for this user|
  
-==== open-ils.actor.groups.retrieve ====+==== open-ils.actor.groups.retrieve (pgt) ====
 This method returns an array of **Fieldmapper::permission::grp_tree** (or "pgt") objects.  These objects are a hierarchal set of permission groups that users may belong to, such as Patrons, Staff, Catalogers, and Circulators. This method returns an array of **Fieldmapper::permission::grp_tree** (or "pgt") objects.  These objects are a hierarchal set of permission groups that users may belong to, such as Patrons, Staff, Catalogers, and Circulators.
  
Line 94: Line 94:
 |pgt|parent| |pgt|parent|
  
-==== open-ils.actor.user.ident_types.retrieve ====+==== open-ils.actor.user.ident_types.retrieve (cit) ====
 This method returns an array of **Fieldmapper::config::identification_type** (or "cit") objects.  These classify various types of identification that can be associated with a user, such as Driver's License or SSN. This method returns an array of **Fieldmapper::config::identification_type** (or "cit") objects.  These classify various types of identification that can be associated with a user, such as Driver's License or SSN.
  
Line 104: Line 104:
 |cit|name| |cit|name|
  
-==== open-ils.actor.standings.retrieve ====+==== open-ils.actor.standings.retrieve (cst) ====
 This method returns an array of **Fieldmapper::config::standing** (or "cst") objects.  These are used to describe a user's standing for the purpose of granting library priveledges.  Currently we have "Good" and "Barred". This method returns an array of **Fieldmapper::config::standing** (or "cst") objects.  These are used to describe a user's standing for the purpose of granting library priveledges.  Currently we have "Good" and "Barred".
  
Line 114: Line 114:
 |cst|value| |cst|value|
  
-==== open-ils.search.config.copy_location.retrieve.all ====+==== open-ils.search.config.copy_location.retrieve.all (acpl) ====
 This method returns an array of **Fieldmapper::asset::copy_location** (or "acpl") objects.  These are copy locations associated with items.  The only PINES-wide default is "Stacks". This method returns an array of **Fieldmapper::asset::copy_location** (or "acpl") objects.  These are copy locations associated with items.  The only PINES-wide default is "Stacks".
  
Line 128: Line 128:
 |acpl|owning_lib|Id for the "aou" associated with this location| |acpl|owning_lib|Id for the "aou" associated with this location|
  
-==== open-ils.search.config.copy_status.retrieve.all ====+==== open-ils.search.config.copy_status.retrieve.all (ccs) ====
 This method returns an array of **Fieldmapper::config::copy_status** (or "ccs") objects.  These are statuses associated with items, such as Checked Out, Lost, Missing, In Process, In Transit, etc. This method returns an array of **Fieldmapper::config::copy_status** (or "ccs") objects.  These are statuses associated with items, such as Checked Out, Lost, Missing, In Process, In Transit, etc.
  
Line 139: Line 139:
 |ccs|name| |ccs|name|
  
-==== open-ils.actor.org_tree.retrieve ====+==== open-ils.actor.org_tree.retrieve (aou) ====
 This method returns a "fleshed" **Fieldmapper::actor::org_unit** (or "aou") object containing the whole organization tree for the consortium.  The objects are linked through the parent_ou field (points to a single "aou") and the children field (contains an array of "aou" objects). This method returns a "fleshed" **Fieldmapper::actor::org_unit** (or "aou") object containing the whole organization tree for the consortium.  The objects are linked through the parent_ou field (points to a single "aou") and the children field (contains an array of "aou" objects).
  
Line 157: Line 157:
 |aou|shortname| |aou|shortname|
  
-==== open-ils.actor.org_types.retrieve ====+==== open-ils.actor.org_types.retrieve (aout) ====
 This method returns an array of **Fieldmapper::actor::org_unit_type** (or "aout") objects, which classify the different types of "aou"'s.  We currently have "Consortium", "System", "Branch", "Bookmobile", and "Sub-lib". This method returns an array of **Fieldmapper::actor::org_unit_type** (or "aout") objects, which classify the different types of "aou"'s.  We currently have "Consortium", "System", "Branch", "Bookmobile", and "Sub-lib".
  
Line 173: Line 173:
 |aout|parent| |aout|parent|
  
-==== open-ils.actor.org_unit.full_path.retrieve ====+==== open-ils.actor.org_unit.full_path.retrieve (aou) ====
 This method returns a flat array of **Fieldmapper::actor::org_unit** (or "aou") objects associated with the sessioned user.  For example, a user with a home org unit of ARL will have all the ARL-branch libraries in this list, as well as the PINES consortium as the top-level org unit. This method returns a flat array of **Fieldmapper::actor::org_unit** (or "aou") objects associated with the sessioned user.  For example, a user with a home org unit of ARL will have all the ARL-branch libraries in this list, as well as the PINES consortium as the top-level org unit.
  
-==== open-ils.circ.stat_cat.actor.retrieve.all ====+==== open-ils.circ.stat_cat.actor.retrieve.all (actsc) ====
 This method returns an array of **Fieldmapper::actor::stat_cat** (or "actsc") objects associated with the sessioned user's home org unit.  These objects are Statistical Categories defined by the libraries and intended for local reporting, and these in particular get associated with patrons. This method returns an array of **Fieldmapper::actor::stat_cat** (or "actsc") objects associated with the sessioned user's home org unit.  These objects are Statistical Categories defined by the libraries and intended for local reporting, and these in particular get associated with patrons.
  
Line 197: Line 197:
 | open-ils.circ | open-ils.circ.checkout.barcode | session key, item barcode, "au" id | [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/perlmods/OpenILS/Application/Circ/Rules.pm|Perl]] | | open-ils.circ | open-ils.circ.checkout.barcode | session key, item barcode, "au" id | [[http://open-ils.org/cgi-bin/viewcvs.cgi/ILS/Open-ILS/src/perlmods/OpenILS/Application/Circ/Rules.pm|Perl]] |
  
-==== open-ils.actor.user.fleshed.retrieve_by_barcode ====+==== open-ils.actor.user.fleshed.retrieve_by_barcode (au) ====
  
 The checkout interface needs to retrieve the "au" object for the patron.  If this has not already been provided (by say, a different interface), we can use this method to retrieve the patron by their library card barcode.  The "fleshed" part is the au's .cards(), .addresses(), and .stat_cat_entries() fields. The checkout interface needs to retrieve the "au" object for the patron.  If this has not already been provided (by say, a different interface), we can use this method to retrieve the patron by their library card barcode.  The "fleshed" part is the au's .cards(), .addresses(), and .stat_cat_entries() fields.
Line 210: Line 210:
 |record| |record|
  
-=== circ ===+=== circ (aoc) ===
  
 The circ field contains a **Fieldmapper::action::open_circulation** (or "aoc") object.  This represents the actual transaction for the circulating item, and contains information such as what circulation rules are associated with the checkout, the due date, the library that checked the item out, etc.  In the database, open_circulations are technically a view of circulations, which is why the various checkin fields are listed.  They should contain null's in this case.  Similarly, .xact_finish() should be null. The circ field contains a **Fieldmapper::action::open_circulation** (or "aoc") object.  This represents the actual transaction for the circulating item, and contains information such as what circulation rules are associated with the checkout, the due date, the library that checked the item out, etc.  In the database, open_circulations are technically a view of circulations, which is why the various checkin fields are listed.  They should contain null's in this case.  Similarly, .xact_finish() should be null.
Line 243: Line 243:
 |aoc|xact_start| |aoc|xact_start|
  
-=== copy ===+=== copy (acp) ===
  
 The copy field contains a **Fieldmapper::asset::copy** (or "acp") object.  This represents the actual item in the database, and has information such as the item's barcode, shelving location, stat cat entries, etc. The copy field contains a **Fieldmapper::asset::copy** (or "acp") object.  This represents the actual item in the database, and has information such as the item's barcode, shelving location, stat cat entries, etc.
Line 275: Line 275:
 |acp|status| |acp|status|
  
-=== record ===+=== record (mvr) ===
  
 The record field contains a **Fieldmapper::metabib::virtual_record** (or "mvr") object.  This is basically bibliographic data about the title record to which the copy belongs.  It contains information such as the title and author of the work, the ISBN, subject headings, etc. The record field contains a **Fieldmapper::metabib::virtual_record** (or "mvr") object.  This is basically bibliographic data about the title record to which the copy belongs.  It contains information such as the title and author of the work, the ISBN, subject headings, etc.
xul/birds_eye_view.txt · Last modified: 2025/07/26 17:23 by sleary

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.