Detailed
Design Document Department of Computer
Science Page maintainer: Terrence
Asgar-Deen |
Listing users is described in the above diagram. The user selects a specific criterion from a list of available criteria and passes this to the system. Users corresponding to this criterion are then retrieved from the User datastore and returned to the administrator.
Reports may be generated based on the aforementioned criteria. This simplification of the system allows for generated reports that correspond directly to the information that the administrator wishes to view. For example, when the administrator selects the criterion that lists users "By User ID", a report can be generated directly from the information that is returned to the administrator simply using the print features of the system.
The returned status corresponds to the success of the operation. If users are successfully retrieved from the datastore, the status returns Successful. If users corresponding to the selected criterion do not exist, the corresponding error message is returned.
Process ID | 1.D.5 |
---|---|
Process Name | List Users |
Inputs | user criteria |
Outputs | users |
Permissible User | Administrator |
Assumptions | All information entered is syntactically correct. |
Error Conditions | Successful |
Name | status |
---|---|
Kind | Data movement in DFD |
Type | Return Message |
Description | This data element corresponds to an error message being returned from an operation. An error message may be both successful and unsuccessful. Unsuccessful error messages are further subcategorized into different errors based on the possible errors that can occur in an operation. |
Name | user criteria |
---|---|
Kind | Data movement in DFD |
Type | Integer |
Description | This data element corresponds to an integer that is used to specify the type of information that is to be displayed. For example, criteria 2 may display only a particular territory's user. |
Name | users |
---|---|
Kind | Data movement in DFD |
Type | Instance of an Entity |
Description | This data element corresponds to one or more complete instances of the Entity User. |