2 Phân tích use case
2.1.3. Phân tích usecase Bảo trì sản phẩm(Phạm Văn Thuần)
: Admin
: Admin : BaoTriSanPhamUI : BaoTriSanPhamUI : BaoTriSanPhamController
: BaoTriSanPhamController
: SANPHAM
: SANPHAM : ICSDL : ICSDL : CSDL : CSDL 1: kich vao nut "San pham"( )
2: doc bang SANPHAM( )
3: doc bang SANPHAM( )
4: doc bang SANPHAM( ) 5: getSANPHAM( )
7: hien thi danh sach san pham( ) 8: kich nut "Them moi"( )
9: hien form nhap thong tin san pham( ) 10: Nhap thong tin san pham can them
11: kich nut "Luu"( )
12: sinh ra MaSP( ) 13: tao san pham moi( )
14: createSANPHAM( )
15: cap nhat bang SANPHAM( )
16: cap nhat bang SANPHAM( )
18: hien thi danh sach san pham( ) 19: chon san pham can sua( )
20: kich nut "Sua"( )
21: lay thong tin san pham can sua( )
22: getSANPHAMbyID( ) 24: hien thi form cua san pham can sua( )
25: nhap thong tin san pham can sua( ) 26: kich nut "Cap nhat"( )
27: Sua thong tin san pham( )
28: getSANPHAM( )
29: cap nhat bang SANPHAM( )
30: cap nhat bang SANPHAM( ) 32: hien thi danh sach san pham( )
33: chon san san pham can xoa( ) 34: kich nut "Xoa"( )
35: hien thi form xoa SP( ) 36: kich nut "Dong Y"( )
37: xoa san pham da chon( )
38: deletaSANPHAMbyID( )
39: cap nhat bang SANPHAM( )
40: cap nhat bang SANPHAM( ) 42: hien thi danh sach san pham( )
6: Return San Pham
17: Return danh sach san pham
23: Return ket qua
31: Return ket qua
41: Return ket qua : Admin
: Admin : BaoTriSanPhamUI : BaoTriSanPhamUI : BaoTriSanPhamController : BaoTriSanPhamController
: SANPHAM
: SANPHAM : ICSDL : ICSDL : CSDL : CSDL 1: kich vao nut "San pham"( )
2: doc bang SANPHAM( )
3: doc bang SANPHAM( )
4: doc bang SANPHAM( ) 5: getSANPHAM( )
7: hien thi danh sach s an pham( ) 8: kich nut "Them moi"( )
9: hien form nhap thong tin san pham( ) 10: Nhap thong tin san pham can them
11: kich nut "Luu"( )
12: sinh ra MaSP( ) 13: tao san pham moi( )
14: createSANPHAM( )
15: cap nhat bang SANPHAM( )
16: cap nhat bang SANPHAM( )
18: hien thi danh sach san pham( ) 19: chon san pham can sua( )
20: kich nut "Sua"( )
21: lay thong tin san pham can sua( )
22: getSANPHAMbyID( ) 24: hien thi form cua san pham can sua( )
25: nhap thong tin san pham can sua( ) 26: kich nut "Cap nhat"( )
27: Sua thong tin san pham( )
28: getSANPHAM( )
29: cap nhat bang SANPHAM( )
30: cap nhat bang SANPHAM( ) 32: hien thi danh sach san pham( )
33: chon san san pham can xoa( ) 34: kich nut "Xoa"( )
35: hien thi form xoa SP( ) 36: kich nut "Dong Y"( )
37: xoa san pham da chon( )
38: deletaSANPHAMbyID( )
39: cap nhat bang SANPHAM( ) 6: Return San Pham
17: Return danh sach san pham
23: Return ket qua
31: Return ket qua
1: kich vao nut "San pham"( )
2: doc bang SANPHAM( )
3: doc bang SANPHAM( )
4: doc bang SANPHAM( ) 5: getSANPHAM( )
7: hien thi danh sach san pham( ) 8: kich nut "Them moi"( )
9: hien form nhap thong tin san pham( ) 10: Nhap thong tin san pham can them
11: kich nut "Luu"( )
12: sinh ra MaSP( ) 13: tao san pham moi( )
14: createSANPHAM( )
15: cap nhat bang SANPHAM( )
16: cap nhat bang SANPHAM( )
18: hien thi danh sach san pham( ) 19: chon san pham can sua( )
20: kich nut "Sua"( )
21: lay thong tin san pham can sua( )
22: getSANPHAMbyID( )
24: hien thi form cua san pham can sua( ) 25: nhap thong tin san pham can sua( )
26: kich nut "Cap nhat"( )
27: Sua thong tin san pham( )
28: getSANPHAM( )
29: cap nhat bang SANPHAM( )
30: cap nhat bang SANPHAM( )
32: hien thi danh sach san pham( ) 33: chon san san pham can xoa( )
34: kich nut "Xoa"( )
35: hien thi form xoa SP( ) 36: kich nut "Dong Y"( )
37: xoa san pham da chon( )
38: deletaSANPHAMbyID( )
39: cap nhat bang SANPHAM( )
40: cap nhat bang SANPHAM( )
42: hien thi danh sach san pham( ) 6: Return San Pham
17: Return danh sach san pham
23: Return ket qua
31: Return ket qua
41: Return ket qua
2.1.3.2 Biểu đồ lớp phân tích
BaoTriSanPhamUI kich vao nut "San pham"() hien thi danh sach san pham() kich nut "Them moi"()
hien form nhap thong tin san pham() kich nut "Luu"()
return danh sach san pham() hien thi danh sach san pham() chon san pham can sua() kich nut "Sua"()
hien thi form cua san pham can sua() nhap thong tin san pham can sua() kich nut "Cap nhat"()
hien thi danh sach san pham() chon san san pham can xoa() kich nut "Xoa"()
hien thi form xoa SP() kich nut "Dong Y"()
<<boundary>>
BaoTriSanPhamController doc bang SANPHAM() sinh ra MaSP() tao san pham moi()
lay thong tin san pham can sua() Sua thong tin san pham() xoa san pham da chon()
<<control>> SANPHAM MaSP TenSP Gia AnhChup TacGia MoTa TinhTrang Loai SoLuong getSANPHAM() createSANPHAM() getSANPHAMbyID() deletaSANPHAMbyID() getMaSP() setMaSP() getTenSP() setTenSP() getGia() setGia() getAnhChup() setAnhChup() getTacGia() setTacGia() getMoTa() setMota() getTinhTrang() setTinhTrang() getLoai() setLoai() getSoLuong() setSoLuong() <<entity>> ICSDL doc bang SANPHAM() cap nhat bang SANPHAM()
<<boundary>>