Library Information System 6.2.1.3 Use Case Model
Library Information System 6.2.1.3 Use Case Model
Manage reservation
Login
Login
Manage books
USE CASE: LOGIN
Brief Description:
This use case describes how a user logs into the System. The use case takes in the user name and
password to logon and checks for its validity.
Flow of events:
NORMAL FLOW:
step Actor Description Condition Location
1. Administrator/Staff/Use System generate login page ---------- -----------
r which request user enter
his/her name and password.
2. Administrator/Staff/Use The user enters Login id and ---------- -----------
r password
3. Administrator/Staff/Use The system validates the Invalid Alternate
r entered name and password userid/passwor flow
and logs the actor into the d
system.
4. Administrator/Staff/Use System generates required ---------- ------------
r page listing all the available
operations.
5. Administrator/Staff/Use Use Case Ends. ----------- ------------
r
ALTERNATE FLOW:
step Actor Description Conditio Locatio
n n
1. Administrator/Staff/Us The user enters an invalid Login Id and --------- ----------
er password. The System displays an error -
message.
2. Administrator/Staff/Us System request to re-enter user ID and ----------- ----------
er password. The actor can choose to either --
return to the main flow or cancel the login,
at which point the use case ends.
Precondition: User needs a valid user name and password to logon to the system.
Post condition: If the use case was successful, the actor is logged into the system.
Actor: Administrator/Staff/User
Special Requirements: The ID and password should be provided to the Administrator/Staff/User
for login purposes.
<<include>>
Add Books
<<include>>
<<include>>
Manage Books
Update Books
delete books
Flow of Events:
NORMAL FLOW:
step Actor Description Condition Location
1. Staff System prompts the staff member to select the desired -------- --------
activity
2. Staff If the activity selected is ADD, the Add Book/Book Add new s-1
Id information Book/Book Id
Sub flow is performed. information
3. Staff If the activity selected is DELETE, the Delete Delete s-2
Book/Book Id information Book/Book Id
Sub flow is performed. information
4. Staff If the activity selected is UPDATE, the update Update s-3
Book/Book Id information Book/Book Id
Sub flow is performed. information
5. Staff If the activity selected is Logout --------- --------
Use case ends.
Precondition: User needs a valid user name and password to logon to the system.
Post condition: If the use case was successful, the Staff maintains books/book id information
(i.e. add, delete, update).
Actor: Staff
Special Requirements: The details about the books such as the book id, book name, subject
department, edition etc. must be known.
.
<<include>>
Issue record
<<include>>
Flow of Events
NORMAL FLOW
Step Actor Description Condition Location
1 Staff System prompts the Staff to select the desired ------- ------
activity
2 Staff If the activity selected is ADD, the Add issue record Add issue S-1
Sub flow is performed. record
3 Staff If the activity selected is DELETE, the Delete issue Delete issue s-2
record Sub flow is performed record
4 Staff If the activity selected is UPDATE, the update issue Update issue s-3
record Sub flow is performed. record
5. Staff If the activity selected is VIEW, the view issue View issue s-4
record record
Sub flow is performed.
6. Staff If the activity selected is LOGOUT Use case ends ------- --------
Precondition: Staff needs a valid user name and password to logon to the system.
Post condition: If the use case was successful, the Staff maintains and views the records of
books issued to the various members (i.e. add, delete, update, and view).
Actor: Staff
Special Requirements: The details such as the user id, book id, date of issue, return date etc.
must be known.
Brief Description
This use case maintains the information of the staff that works in the library. The chief library
officer who is the administrator can add a new staff to the system and can also delete an existing
staff.
<<include>>
Add Staff
<<include>>
Manage Staff
Remove Staff
Flow of Events
NORMAL FLOW
Step Actor Description Condition Location
1 Admin System generates manage staff page --------- ------
2 Admin Add staff --------- S1
3 Admin Remove Staff --------- S2
SUBFLOW S1:
Step Actor Description Condition Location
1 Admin System generates add staff page --------- ------
2 Admin Admin feeds the new staff entry. Invalid entry ALT
3 Staff record gets entered in the staff Table. Use ---------
case ends
ALTERNATE FLOW:
Step Actor Description Condition Location
1 Admin In main flow if required mandatory fields are not --------- ------
fulfilled it display error message
2 Admin System requests to enter user information/ can ---------- ------
cancel in that case use case ends
SUBFLOW S2:
Step Actor Description Condition Location
1 Admin System generates remove staff page --------- ------
2 Admin Feeds the Staff ID of the staff to be removed. ---------- ------
<<include>>
Flow of Events
NORMAL FLOW
Step Actor Description Condition Location
1 Admin/Staf System opens the page of the student record. --------- ------
f
2 Admin/Staf Add a new student record. ---------- S1
f
3 Admin/Staf Delete an existing student record ----------- S2
f
4 Admin/Staf Update an existing student record ----------- S3
f
SUBFLOW 1
Step Actor Description Condition Location
1 Admin/Staf System opens the page of the student entry --------- ------
f
2 Admin/Staf Actor fills in the form. Invalid Entry ALT1
f
3 Admin/Staf System updates the database. ----------- ------
f
4 Asks for more student entry ----------- ------
Use case ends
ALT1
Step Actor Description Condition Location
1 Admin/Staf System gives an error message. --------- ------
f System prompts for a valid entry.
SUBFLOW 2
Step Actor Description Condition Location
1 Admin/Staf System opens the page of the student record --------- ------
f deletion
2 Admin/Staf Actor gives the Student ID for deletion Invalid Entry ALT1
f
3 Admin/Staf System deletes from database. ----------- ------
f
4 Admin/Staf Asks for more deletion. ----------- ------
f Use case ends.
ALT1
Step Actor Description Condition Location
1 Admin/Staf System gives an error message. --------- ------
f System prompts for a valid entry.
SUBFLOW 3
Step Actor Description Condition Location
1 Admin/Staf System opens the page of the student record --------- ------
f updation.
2 Admin/Staf Actor gives the Student ID for update. Invalid Entry ALT1
f
3 Admin/Staf System updates the database. ----------- ------
f
4 Admin/Staf Asks for more updation. ----------- ------
f Use case ends.
ALT1
Step Actor Description Condition Location
1 Admin/Staf System gives an error message. --------- ------
f System prompts for a valid entry.
Brief Description
This use case maintains the feedback of the student that use the library to the administrator.
Flow of Events
NORMAL FLOW
Brief Description
This use case maintains the notifications published by the administrator.
Flow of Events
NORMAL FLOW
<<include>>
Make Reservation
<<include>>
Reservation
Cancel Reservation
NORMAL FLOW:
Step Actor Description Condition Location
1 User System generates the page for reserving ---------- ----------
the books.
2 User Can make reservations. ---------- Sub 1
3 User Cancellation of reservation. ---------- Sub 2
SUB FLOW 1:
ALTERNATE FLOW 2:
Step Actor Description Condition Location
1 User System gives an error message of already ---------- ----------
reserved books.
2 User System request for another book & ---------- ----------
redirects to home page.
SUB FLOW 2:
Step Actor Description Condition Location
1 User System opens the cancellation page. ---------- ----------
2 User System takes the reserve ID/book ID of Invalid id Alt 1
the books to be cancelled.
3 User System removes the entry from the ---------- ----------
database
Use case ends.
Brief Description: This use case maintains the fine paid by student due to the late
submission of book.
FLOW OF EVENTS:
NORMAL FLOW:
Step Actor Description Condition Location
1 Staff System opens the page for returning ---------- ----------
books.
2 Staff Actor enters the book id Invalid entry Alt 1
3 Staff System calculates the fine and display it. ---------- ----------
4 Staff System asks for more entry. ---------- ----------
Use case ends.
ALTERNATE FLOW 1:
Step Actor Description Condition Location
1 Staff System displays an error message &
request for the correct entry