USE CASE DESCRIPTIONS:

USE CASE DESCRIPTIONS:
1) User login
Use case name
Actors
Purpose
Flow of events
a) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
User login
User, system
Check the authenticity of the user.
-User enters his own login identity and the password in
GUI. The database is checked for authenticity.
If the correct match is found in database GUI allows the
user to enter into the system.
-If login is failed , an error message will be displayed and
then GUI allows the user to re-enter the login name and
password.
Only registered employee can login. The user id and
password should be present in the database of ALFA A/S
organization
None
Upon successful login the user can have access to the
system.
Primary
None.
2) User logout
Use case name
Actors
Purpose
Flow of events
b) Basic Flow
User logout
User, system
To save the changes and exit the user access.
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
- None
-None
The user must be logged in
Logout message is displayed on the GUI. A link appears
through which the user can login again.
Secondary
None.
Priority
Extension Points
-GUI allows the user to exit the system and a message is
displayed confirming his status.
3) EmployeeInfo
Use case name
Actors
Purpose
Flow of events
c) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
EmployeeInfo
Employee, Database
To maintain the employee details
-Authorized user requests the database to retrieve the
particular employee information by giving the employee
name.
-If the database finds no match an error message will be
displayed.
Employee information, name, employee id, status, email,
etc., must be present in the database
-user must be logged in
Employee information will be displayed on the screen with
a link to go back to employee search.
Secondary
None
4) CreateNewEmployee
Use case name
Actors
Purpose
Flow of events
d) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
CreateNewEmployee
Manager, database.
To create a new employee database by the manager only by
adding the employee information to the database.
-Manager can find link to create the new employee
information which consists an html page asking for all the
details of the new employee. The database will be updated
-None.
Only the manager can add the information of the new
employee to the database, so the user must be manager.
-The logged in user id must be of manager.
The database will be updated with the new employee
information and corresponding message will be displayed
Primary
None.
5) UpdateEmployee
Use case name
Actors
Purpose
Flow of events
e) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
UpdateEmployee
Particular employee, Manager, Database.
To update the employee information.
-User goes to an html page to check the database and edits
his personal information. Manager can alter some
information like employee status.
-If any unauthenticated update is being done(like employee
can not change his employee id) , an error message will be
displayed.
An employee can update his personal information only.
Manager can update only the status of the particular
employee.
-User must be logged in.
Employee information will be updated and a message
concerning the updated information will be displayed.
Secondary
None.
6) DeleteEmployee
Use case name
Actors
Purpose
Flow of events
f) Basic Flow
DeleteEmployee
Manger, Database
Delete employee information from the database
b) Alternate Flow
Special Requirements
Pre-conditions
- None
Only Manger can delete an employee.
1)Manager login.
2)Availability of info in database
Deletion of entire info of employee and updated database.
secondary
None.
Post- conditions
Priority
Extension Points
- Particular employee’s entire info is retrieved from the
database and deleted from the database.
7) BookingPC
Use case name
Actors
Purpose
Flow of events
g) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
BookingPC
employee, administrator,database
To book a PC by a part-time employee
-An html page containing all systems status for booking is
viewed. The precondition( 15 hrs a week limit ) is checked
before the user can book the pc, if available, by clicking on
the check box and there by saving the info of updated
systems status in the database..
- If precondition is failed an error message will be
displayed.
Precondition evaluation.
User login
The slot is not booked previously by other users
The updated system info is saved in the database. A
message is displayed confirming the booking.
Primary
None.
8) CancelBooking
Use case name
Actors
Purpose
Flow of events
h) Basic Flow
CancelBooking
Employee,system
To cancel booking of an employee.
b) Alternate Flow
Special Requirements
Pre-conditions
- none
none
User login
Previous booking status.
Database updated. The cancelled slot is now open for
booking for all users.
Secondary.
None.
Post- conditions
Priority
Extension Points
-An html page containing the details of the employees own
bookings is displayed with cancel option. Upon canceling
the corresponding details are stored in the database .
9) VacationBooking
Use case name
Actors
Purpose
Flow of events
i) Basic Flow
VacationBooking.
Employee, system
To book Vacation by an employee
-The employee sends request to the manager for consent. If
the vacation is sanctioned(VactionAccept), administrator
then allows the part-time employee to book the
corresponding pc for the corresponding period by changing
the database..
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
- If manager denies the request ,no changes made to the
database(VactionDeny)
Employee should be full-time employee
User login
Database updated. .
Secondary.
None.
10) ListRules
Use case name
Actors
Purpose
Flow of events
j) Basic Flow
ListRule
Employee, system
To see all the rules
b) Alternate Flow
Special Requirements
Pre-conditions
- none
none
User login
Post- conditions
Priority
Extension Points
none
Secondary.
None.
-User sends the request to see all the rules. System evaluates
the request and displays the rules retrieving from the
database..
11) CreateRules
Use case name
Actors
Purpose
Flow of events
k) Basic Flow
b) Alternate Flow
Special Requirements
Pre-conditions
Post- conditions
Priority
Extension Points
ListRule
Employee, system
To Create new rules
-User sends the request to manger to create new rule.
Manager evaluates the rule and sends accept or deny
message.
- Error message is raised when manager denies the rule and
the rule is sent back for correction
none
User login
The rule should not already exist in the database
A new rule is added to the database.
primary
None.
12) UpdateRules
Use case name
Actors
Purpose
Flow of events
l) Basic Flow
UpdateRule
Employee, system
To Update the rules
b) Alternate Flow
Special Requirements
Pre-conditions
- when update rule is denied.. error message is displayed
none
User login
The rule must exist in the database for updation
Updated Rule is added to the database.
Secondary.
None.
Post- conditions
Priority
Extension Points
-Employee sends update request to manager, manager has to
approve it.
13) DeleteRules
Use case name
Actors
Purpose
Flow of events
m) Basic Flow
DeleteRule
Employee, system
To delete a rule from the database.
b) Alternate Flow
Special Requirements
Pre-conditions
- none
none
User login
Rule existence in the database
The database is Updated with the deletion of Correponding
Rules
Secondary.
None.
Post- conditions
Priority
Extension Points
- Employee can delete a rule with the consent of Manager .
The corresponding rule is deleted from the database.
14) DeleteRules
Use case name
Actors
Purpose
Flow of events
n) Basic Flow
DeleteRule
Employee, system
To delete a rule from the database.
b) Alternate Flow
Special Requirements
Pre-conditions
- none
none
User login
Rule existence in the database
The database is Updated with the deletion of Correponding
Rules
Secondary.
None.
Post- conditions
Priority
Extension Points
- Employee can delete a rule with the consent of Manager .
The corresponding rule is deleted from the database.