Versions Compared

Key

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

...

  1. Patron Validation Context - The Agenda 'Patron Allowed to Borrow' is contained within this context 'Patron Validation Context'.
  2. Item Validation Context - The Agendas 'Item Available for Loan' and 'Determine Loan Period' are contained within this context 'Item Validation Context'.
Patron Validation Context:
Agenda:
  1. Patron Allowed to Borrow

                    Category: Patron - Category 'Patron' is used to help organize related term 'Patron'

          Term: Patron - The Term 'Patron' is used to input to the rule system.

          Term Function: patronBorrowerLimit(String patronBarcode, boolean isOverridden)

...

      1. validPatronBarcodeStatus(String patronBarcode) - This method expose patron barcode status.
      2. checkMembershipExpirationDate(String patronBarcode) - This method expose Patron expiration date.
      3. isPartonBlocked(String patronBarcode) - This method expose patron block status
      4. getBorrowerType(String patronBarcode) checkPatronBorrowPermit(String patronBarcode)- This method expose Borrower Type (eg. Student or Faculty).
      5. getNumOfItemsOnLoan(String patronBarcode)
      6. checkFeeBalance(String patronBarcode)
      7. getNumOfOverdueItems(String patronBarcode)

...