Top Banner
Sales Management System For a Pharmaceutical Company Presented by Naimul Arif(0905004) Babar Md. Khalid Akbar(0905016) Shafiqul Islam (0905026) Class Diagram, Collaboration Diagram, Interaction Timeline
18
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Class, Collaboration, Sequence Diagram of a sample project

Sales Management System

For a Pharmaceutical Company

Presented by

Naimul Arif(0905004)

Babar Md. Khalid Akbar(0905016)

Shafiqul Islam (0905026)

Class Diagram, Collaboration

Diagram, Interaction Timeline

Page 2: Class, Collaboration, Sequence Diagram of a sample project

Subsystems

• Employee subsystem.

• Recruitment subsystem.

• Sales subsystem.

• Product subsystem.

• Territory management subsystem

Page 3: Class, Collaboration, Sequence Diagram of a sample project

Admin Employee

ViewEmployee

ViewEmployeeUIAdmin

3. Login()6.selectOption()

2. ShowLogin()5. showOptions()

4.verifyLogin()8.showEmployeeList()

View Employee List: Collaboration Diagram

Page 4: Class, Collaboration, Sequence Diagram of a sample project

Admin

:viewEmployeeUI

:MainMenuUI

:viewEmployee

:Admin

:Employee

viewEmployee()

Admin()viewEmployeeUI()

showLogIn()

Login(uname,pw)verifyLogIn()

Employee()

getEmployeeInfo()

prepareEmployeeList()

showEmployeeList()

View Employee List: Sequence Diagram

Page 5: Class, Collaboration, Sequence Diagram of a sample project

<<Boundary>>ViewEmployeeListUI

ShowLogin()showOptions()Login()selectOption()

<<Control>>ViewEmployeeList

verifyLogin()showEmployeeList()

<<Entity>>Admin

adminIDPassword

getAdminInfo()

<<Entity>>Employee

NamePostContact inforecruitmentDate

getEmployeeInfo()

*

*

*

View Employee List: Class Diagram

Page 6: Class, Collaboration, Sequence Diagram of a sample project

PaySalary

Employee

Manager

3. Login()7. approveSalary()

Pay salary: Collaboration Diagram

1. showLogin()6. showEmpList()

Bank accManager

2. getManagerInfo()

11. verifyAcc()

BankUI

PaySalaryUI

Bank

Page 7: Class, Collaboration, Sequence Diagram of a sample project

Manager

:PaySalaryUI

:MainMenuUI

:PaySalary

:Manager

:Employee

paySalary()

Manager()paySalaryUI()

showLogIn()

Login(uname,pw)verifyLogIn()

Employee()

getEmployeeInfo()

showEmployeeInfo()

Pay Salary: Sequence Diagram 1

ApproveSalary()

Page 8: Class, Collaboration, Sequence Diagram of a sample project

Manager

:PaySalaryUI

:MainMenuUI

:PaySalary

Pay Salary: Sequence Diagram 2

:BankUI

BankUI()

Bank

verifyAcc()sendApproval()

:BankACCBankAcc()

getAccInfo()

showInfo()

verifyAcc()

transferMoney()

Page 9: Class, Collaboration, Sequence Diagram of a sample project

<<Control>>PaySalary

verifyLogin()sendApproval()TransferMoney()

<<Boundary>>PaySalaryUI

Login()approveSalary()showLogin()showEmpList()

<<Boundary>>BankUI

showInfo()verifyAcc()

<<Entity>>Manager

NameIdpasswordRecruitementDate

getManagerInfo()

<<Entity>>Employee

NamePostcontacInforecruitmentDate

getEmployeeInfo()

<<Entity>>BankAcc

BankNameaccNameaccNoaccType

getAccInfo()

**

*

Pay salary: Class Diagram

Page 10: Class, Collaboration, Sequence Diagram of a sample project

Applicant

ApplyForPost

ApplicationUIApplicant

2. provideInfo()

1. showForm()4a. showSuccessful()4b. showError()

3. verifyFillUp()5. saveApplicantInfo()

Apply for post: Collaboration Diagram

Page 11: Class, Collaboration, Sequence Diagram of a sample project

Pay Employee Salary : : Class Diagram

<<boundary>>ApplicationUI

provieInfo()showForm()showSuccessful()showError()

<<entity>>Applicant

setApplicantInfo()

*

<<control>>Apply

verifyFillup()saveApplicantInfo()

Page 12: Class, Collaboration, Sequence Diagram of a sample project

Online order

Bank Acc

Customer

2. provideInfo()

Online Order: Collaboration Diagram

1. showOrderForm()4a. showSuccessfulFillUp()4b. showError()12. showSuccessfulOrder()

Order

9. verifyAcc()

BankUI

CustomerUI

Bank

Product

Page 13: Class, Collaboration, Sequence Diagram of a sample project

Customer

:OnlineOrderUI

:MainMenuUI

:OnlineOrder

:Manager

:Product

onlineOrder()

Manager()onlineOrderUI()

showOrderForm()

fillUp()verifyFillUp()

Product()

getProductInfo()

Online Order: Sequence Diagram 1

showSuccessfulFillup()

:BankAccBankAcc()

Page 14: Class, Collaboration, Sequence Diagram of a sample project

Customer

:OnlineOrderUI

:MainMenuUI

:OnlineOrder

Online Order : Sequence Diagram 2

:BankUI

BankUI()

Bank

:Order

showInfo()

verifyAcc()

transferMoney()

Order()

setOrderInfo()showSuccessfulOrder()

Page 15: Class, Collaboration, Sequence Diagram of a sample project

Online Order : : Class Diagram

<<boundary>>CustomerUI

provideInfo()showOrderForm()showSuccessfulFillUp()showError()showSuccessfulOrder()

<<boundary>>BankUI

<<entity>>Order

setOrderInfo()

showInfo()verifyAcc()TransferMoney()

<<control>>Online Order

verifyFillup()sendApproaval()verifyAcc()transferMoney()

<<entity>>BankAcc

getAccinfo()

* *

Page 16: Class, Collaboration, Sequence Diagram of a sample project

Product

Add&UpdateProduct

Add&UpdateUIManager

3. Login()5. fillUpProdInfo()

2. showLogin()6a. showSuccessful()6b. showError()4. showProductForm()

6. verifyFillUp()8. Save&UpdateInfo()

Add&Update Product: Collaboration Diagram

Manager

1. getInfo()

Page 17: Class, Collaboration, Sequence Diagram of a sample project

Add&Update Product : : Class Diagram

<<boundary>>Add&UpdateUI

Login()showLogin()showSuccessful()showError()showProductForm()

<<entity>>Manager

getInfo()

<<control>>Add&UpdateProduct

verifyFillUp()Save&UpdateInfo()

<<entity>>Product

setProductInfo()getProductInfo()

*

*

*

Page 18: Class, Collaboration, Sequence Diagram of a sample project

THANK YOU

ANY QUESTION???