Staff Service
Provides methods and attributes relating to staff.
The following operations are supported. For a formal definition, please review the Service Description.
-
getStaffList
Returns a list of staff based on given parameterized options. All options must have a value of True, False, or Dont_Care. For IsSalesRep and IsMale, the tertiary logic is straightforward:
All Males (IsMale = True)
All Females (IsMale = False)
All Males and Females (IsMale = Dont_Care)
The logic used by for class and appoinment instructors is special, and follows the following truth table:IsClass IsAppt T T All Instructors (Class inclusiveOR Appt) T F Class Instructors (ONLY) T DC Class Instructors (May also be appt instructors) F T Appt Instructors (ONLY) F F Non-Instructors (Staff that do not instruct classes or appts) F DC Non-Class Instructors (Staff that do not instruct classes) DC T Appt Instructors (May also be class instructors) DC F Non-Appt Instructors (Staff that do not instruct appts) DC DC All Staff