Nhóm use case thứ cấp

Một phần của tài liệu PhanTichThietKeHeThongWebsiteLeafshop.vn (Trang 78 - 85)

Chương 3. Phân tích chức năng

3.3 Biểu đồ các lớp phân tích .1 Nhóm use case chính

3.3.2 Nhóm use case thứ cấp

QuanLyDonHangController lay danh sach don hang() cap nhat lai don hang()

<<control>>

QuanLyDonHangUI kich vao nut "Don Hang"() hien thi danh sach don hang() kich nut "Sua" tren mot dong() hien thi lai thong tin cu() kich nut "Cap Nhat"() hien thi lai sau khi cap nhat()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG()

cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC()

<<boundary>>

DonHang maDonHang ngayMua tenKhachHang tinhTrang getMaDonHang() setMaDonHang() getNgayMua() setNgayMua() getTenKhachHang() setTenKhachHang() get DonHang()

update DonHang by Ma()

<<entity>>

1 1

1 1

* 11

*

* 1

* 1

b) Quản lý tài khoản

QuanLyTaiKhoanController

lay thong tin chi tiet cua cac tai khoan(ma tai khoan, ho ten, email, dien thoai, dia chi, ngay dang ky, phien dang nhap cuoi)() tao tai khoan moi()

lay thong tin tai khoan theo ma() sua thong tin tai khoan theo ma() xoa mon hoc theo ma()

<<control>>

QuanLyTaiKhoanUI kich vao nut "Tai khoan"()

hien thi thong tin chi tiet cac tai khoan() kich vao nut "Them moi"()

hien thi man hinh yeu cau nhap thong tin chi tiet cho tai khoan( ma tai khoan, ho ten, email, dien thoai, dia chi, ngay dang ky, phien dang nhap cuoi)() kich vao nut "Them moi"()

hien thi thong tin chi tiet cac tai khoan duoc cap nhat() kich nut "Sua"( )()

hien thi thong tin cu cua tai khoan( )() kich nut "Cap nhat"()

hien thi thong tin chi tiet cac tai khoan() kich nut "Xoa"()

hien thi man hinh xac nhan xoa() kich nut "Dong Y"()

hien thi thong tin chi tiet cac tai khoan()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC()

<<boundary>>

TaiKhoan email matKhau nhapLaiMatKhau ho ten maTaiKhoan ngayDangKy dienThoai diaChi phienDangNhapCuoi createTaiKhoan() getTaiKhoan() createTaiKhoan() getTaiKhoanById() setTaiKhoanById() deleteById() getEmail() setEmail() getMatKhau() setMatKhau() getNhapLaiMatKhau() setNhapLaiMatKhau() getHo() setHo() getTen() setTen() getMaTaiKhoan() setmaTaiKhoan() getNgayDangKy() setNgayDangKy() getDienThoai() setDienThoai()

<<entity>>

1 1

1 1

*

1

*

1

* 1

* 1

Phân tích thiết kế hệ thống

c) Bảo trì tin tức

BaoTriTinTucUI kich nut "Blog"()

hien thi thong tin chi tiet cac Blog() kich nut "Sua"()

hien thi thong tin cac Blog cu() nhap thong tin Blog moi() kich nut "Cap nhat"()

hien thi thong tin chi tiet cac Blog() kich nut "Them"()

hien thi man hinh nhap thong tin blog() kich nut "Tao moi"()

hien thi thong tin chi tiet cac Blog() kich nut "Xoa"()

hien thi man hinh xac nhan xoa() kich nut "Dong Y"()

hien thi thong tin chi tiet cac Blog()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG()

cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC()

<<boundary>>

Blog tieuDe anhMinhHoa ngayDang nguoiDang binhLuan maBlog getDsBlog() getBlogByMa() setBlogMoi() createBlog() deleteByMa() getDsBlog() getTieuDe() setTieuDe() getAnhMinhHoa() setAnhMinhHoa() getNgayDang() setNgayDang() getNguoiDang() setNguoiDang() getBinhLuan() setBinhLuan() getMaBlog() setmaBlog()

<<entity>>

BaoTriTinTucController lay thong tin Blog() lay thong tin Blog theo ma() sua thong tin Blog theo ma() them moi mot blog() xoa blog theo ma()

<<control>>

1 1

1 1

*

1

*

1

* 1

* 1

d) Bảo trì sản phẩm

BaoTriSanPhamController

lay thong tin danh sach cac san pham( ma san pham, ten san pham, anh dai dien, gia san pham)() lay thong tin san pham theo ma()

sua thong tin san pham theo ma() tao san pham moi()

xoa mon hoc theo ma()

<<control>>

BaoTriSanPhamUI kich vao nut "SanPham"()

hien thi thong tin chi tiet cac san pham() kich nut "Sua"()

hien thi thong tin cu cua san pham() kich nut "Cap nhat"()

hien thi thong tin chi tiet cac san pham() kich nut "Them moi"()

kich nut "Xoa"()

hien thi man hinh xac nhan xoa() kich nut "Dong Y"()

hien thi thong tin chi tiet cac mon hoc() kich vao nut "SanPham"()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC()

<<boundary>>

SanPham tenSanPham anhSanPham maSanPham khoiLuong giaSanPham moTa chungChi cachSuDung hanSuDung tenNhaSanXuat binhLuan getTenSanPham() setTenSanPham() getAnhSanPham() setAnhSanPham() getMaSanPham() setMaSanPham() getKhoiLuong() setKhoiLuong() getGiaSanPham() setGiaSanPham() getMoTa() setMoTa() getChungChi() setChungChi() getCachSuDung() setCachSuDung() getHanSuDung() setHanSuDung() getTenNhaSanXuat() setTenNhaSanXuat() getBinhLuan() setBinhLuan() get SanPham() getSANPHAM() getSPByMa() setSanPhamByMa() createSanPham() deleteByma() getTenAnhGiaSp()

<<entity>>

1 1

1 1

* 1

* 1

* 1

* 1

e) Bảo trì danh mục sản phẩm

DanhMuc maDM tenDM maDMCha tenDMCha moTa getMaDM() setMaDM() getTenDM() setTenDM() getMaDMCha() setMaDMCha() getTenDMCha() setTenDmCha() getMoTa() setMoTa() getDanhMuc() cerateDanhMuc() getDanhMucFix() deleteDanhMuc() getDMCha() getDMByDMCha() getDanhMucById() setDanhMucById()

<<entity>>

BaoTriDanhMucSanPhamUI kich nut "Danh muc"()

hien thi thong tin cac danh muc() kich nut "Them moi"()

hien thi man hinh nhap thong tin danh muc() kich nut "Tao moi"()

hien thi thong tin chi tiet cac danh muc() kich nut "Sua"()

hien thi thong tin cu cua danh muc() kich nut "Cap nhat"()

hien thi thong tin chi tiet cac danh muc() kich nut "Xoa"()

hien thi man hinh xac nhan xoa() kich nut "Dong y"()

hien thi thong tin chi tiet cac danh muc()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC()

<<boundary>>

BaoTriDanhMucSanPhamController lay ma, ten danh muc va ma, ten danh muc cha() tao danh muc moi()

lay thong tin danh muc theo ma() sua thong tin danh muc theo ma() xoa danh muc()

<<control>>

1 11

1

1

* 1

*

1 1 1

1

Basic flow văn vinh

: Khach hang

: Khach hang : DatHangUI : DatHangUI : DatHangController

:

DatHangController : SanPham : SanPham : DonHang : DonHang : TaiKhoan : TaiKhoan : ICSDL : ICSDL : CSDL : CSDL 1: kich nut "Mua ngay"( )

2: Lay thong tin mat hang( )

3: lay bang SANPHAM( )

4: lay bang SANPHAM( ) 5: getSanPham( )

6: return ket qua

7: dua vao trong gio hang( )

8: kich nut "xem gio hang" ( )

9: Lay thong tin mat hang ( )

10: getSanPham( )

11: return ket qua

12: hien thi mat hang trong gio hang( )

13: kich nut "Thanh toan" ( )

14: lay thong tin khach hang ( )

15: lay bang TAIKHOAN ( )

16: lay bang TAIKHOAN ( )

17: getTaiKhoan( )

18: return ket qua

19: hien thi thong tin khach hang

20: kich nut "Hoan tat don hang" ( )

21: lay thong tin don hang ( )

22: lay bang DONHANG ( )

23: lay bang DONHANG ( ) 24: getDonHang( )

25: tao don hang moi ( )

26: createDonHang( )

27: cap nhat bang DONHANG ( )

28: cap nhat bang DONHANG ( )

29: return ket qua

30: hien thi thong tin chi tiet don hang da dat ( )

VOPC văn vinh

DatHangUI kich nut "Mua ngay"() kich nut "xem gio hang"() kich nut "Thanh toan" () kich nut "Hoan tat don hang" () hien thi thong tin chi tiet don hang da dat () dua vao trong gio hang()

hien thi mat hang trong gio hang() hien thi thong tin khach hang()

<<boundary>>

ICSDL lay bang SanPham() lay bang DonHang() cap nhat lai() doc bang SANPHAM() cap nhat bang SANPHAM() cap nhat bang TAIKHOAN() lay bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() cap nhat bang TAIKHOAN() lay bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() cap nhat bang BLOG() lay bang BLOG() lay bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() cap nhat bang DANHMUC() lay bang DANHMUC() lay bang DANHMUC() cap nhat bang DONHANG () cap nhat bang DONHANG()

<<boundary>>

TaiKhoan email matKhau nhapLaiMatKhau ho ten maTaiKhoan ngayDangKy dienThoai diaChi phienDangNhapCuoi createTaiKhoan() getTaiKhoan() createTaiKhoan() getTaiKhoanById() setTaiKhoanById() deleteById() getEmail() setEmail() getMatKhau() setMatKhau() getNhapLaiMatKhau() setNhapLaiMatKhau() getHo() setHo() getTen() setTen() getMaTaiKhoan() setmaTaiKhoan() getNgayDangKy() setNgayDangKy() getDienThoai() setDienThoai() getDiaChi() setDiaChi() getPhienDangNhapCuoi() setPhienDangNhapCuoi()

<<entity>>

SanPham tenSanPham anhSanPham maSanPham khoiLuong giaSanPham moTa chungChi cachSuDung hanSuDung tenNhaSanXuat binhLuan getTenSanPham() setTenSanPham() getAnhSanPham() setAnhSanPham() getMaSanPham() setMaSanPham() getKhoiLuong() setKhoiLuong() getGiaSanPham() setGiaSanPham() getMoTa() setMoTa() getChungChi() setChungChi() getCachSuDung() setCachSuDung() getHanSuDung() setHanSuDung() getTenNhaSanXuat() setTenNhaSanXuat() getBinhLuan() setBinhLuan() get SanPham() getSANPHAM() getSPByMa() setSanPhamByMa() createSanPham() deleteByma() getTenAnhGiaSp()

<<entity>>

DatHangController lay thong tin san pham() Lay thong tin mat hang () opname()

lay thong tin don hang () tao don hang moi()

<<control>>

1 1

1 1

*

1

*

1 1

1

1

1

*

1

*

1 1

* 1

*

DonHang maDonHang ngayMua tenKhachHang tinhTrang getMaDonHang() setMaDonHang() getNgayMua() setNgayMua() getTenKhachHang() setTenKhachHang() get DonHang() update DonHang by Ma()

<<entity>>

1

1 1

1

Một phần của tài liệu PhanTichThietKeHeThongWebsiteLeafshop.vn (Trang 78 - 85)

Tải bản đầy đủ (DOCX)

(122 trang)
w