Vous êtes sur la page 1sur 9

Use case diagrams

Home

QueryEditor

user Admin Profiledetails

ViewDatabases

Administration

Sequence diagram

: user

home

Query editor

Server

Enter user name ,Password

Invalid

Register user details

Register successfully Type sql commands

Syntax errors

Enter valid sql statements

Command executed successfully

Save queries

Queries saved into system

Load sql queries

Queries loaded from system

End

Collabration diagram
1: Enter user name ,Password 3: Register user details

5: Type sql commands 10: Queries saved into system 12: Queries loaded from system

home

Query editor 6: Syntax errors 8: Command executed successfully 9: Save queries 11: Load sql queries

7: Enter valid sql statements

Server 2: Invalid 4: Register successfully 13: End

: user

Sequence diagram for profile details

: user

home

Profile details

Server

Enter user name ,Password

Invalid

Edit profile details

details are open for modifications

Update details

Profile details updated

delete profile

Access denied

login as admin

delete profile

profile deleted successfully End

Collaboration for profile


1: Enter user name ,Password 9: login as admin 3: Edit profile details 5: Update details 7: delete profile 10: delete profile

home

Profile details

4: details are open for modifications 6: Profile details updated 8: Access denied 11: profile deleted successfully

Server 2: Invalid 12: End

: user

Sequence diagram for databases


home View databases Serv er

: user

Enter user name ,Password

Inv alid

Login successful

display databases

create database

database created successfully

create table

table created successfully

create stored procedure

stored procedure successfully

End

Collaboration View databases


1: Enter user name ,Password 5: create database 7: create table 9: create stored procedure home

View databases

4: display databases 6: database created successfully 8: table created successfully 10: stored procedure successfully

Server 2: Invalid 3: Login successful 11: End

: user

Sequence diagram for administration

: user

home

Administration

Server

Enter user name ,Password

Invalid

Login successful

display All databases from server

display all users

select user profile

user profile deleted

End

Collaboration for administration


1: Enter user name ,Password

6: select user profile home

Administrati on

4: display All databases from server 5: display all users 7: user profile deleted

Server 2: Invalid 3: Login successful 8: End

: user