• Tidak ada hasil yang ditemukan

4.4 Class Diagram S istem e-CRM PT Senswell International

4.5.1 Sequence Diagram Menu Publik

Berikut ini adalah sequence diagram untuk masing-masing use case dalam akses menu publik :

Gambar 4.7 Sequence Diagram M engakses Home

s d M enga ks es Home

:Wind ow Hom e :Pu bli k

cre ate

Gambar 4.8 Sequence Diagram M engakses Katalog Produk s d Me ngak ses Katal og Pr oduk

:Pub li k

:Wi ndo w Kat al ogProduk

ByVari an

:Varia nPro duk : Prod uk : Kat egori Prod uk

l oo p

[ f or al l Vari anProduk]

l oop

[ fo r al l Kat egori Prod uk]

op t :G ri dVi ew Produ k :Wi ndo w Ka tal og Produ k ByKat egori :G ri dVi ew Produ k :Wi ndow Pencaria nProd uk l oop

[ fo r each mat ch ed Pro duk]

opt :G ri dVie w Produk al t [ if fo und] [ el se] creat e creat e

get Vari an Produ k( )

[ea ch Vari anPro duk's Produk]: * get Prod uk( )

kli kLi hat Pro dukByKat egori creat e

cre ate

ge tKat ego ri Pro duk( )

[ each Kate goriProdu k's Produ k] : *get Pro duk( )

ent ryKeyword kl ikCari

creat e

mat ch Na ma Prod uk( )

creat e

ge tProduk( )

get Kat egori Produ k( )

sh owNo tF ounf ( )

Gambar 4.9 Sequence Diagram M engakses Promosi Bulanan

Gambar 4.10 Sequence Diagram M engakses Produk Terbaru

Gambar 4.11 Sequence Diagram M engakses Produk Terlaris

sd Mengakses Promosi Bulanan

:P ubl i k

:Wi ndow Prom osi B ul anan

:Produk :P romosi

loop

[for produc t wi th prom o] c reate

GetProduk( ) get Promosi ( )

kl i kCl ose

sd M enga ks es Produk Terbaru

:Pub lik

:Wind ow Prod ukT erb aru crea te

klikCl ose

sd M engakses Produk Terlaris

:Publik

:Window ProdukTerlari s

:Produk

c reate

[eac h Produk' s ProdukT erlaris=' Ya']: *getGa mbarProdukT erlaris( )

Gambar 4.12 Sequence Diagram M engakses Panduan Bisnis

Gambar 4.13 Sequence Diagram M engakses Why Senswell

Gambar 4.14 Sequence Diagram M engakses M arketing Plan

s d M enga ks es Pa ndua n Bi snis

:Pu blik

: Win do w Pa nd ua nBi snis crea te

klikClo se

sd M enga ks es Why Se ns w ell

:Pu bli k

:Wi nd ow WhySe nswell cre ate

kli kClo se

s d M e ngak ses M ark eting Pl an

:Pu bl ik

:Win do w Ma rke tin gPl an

: Ma rke tin gPl an

crea te

[ all M arke tin gP lan ]: *ge tM arke tin gP lan ( ) kl ikClo se

Gambar 4.15 Sequence Diagram M elakukan Simulasi Bisnis

Gambar 4.16 Sequence Diagram M engakses Cara Bergabung

Gambar 4.17 Sequence Diagram M engakses Keuntungan M ember

sd Melakukan S imulasi Bisnis

:P ublik

:Window Sim ulasiB isnis create entryPerkiraan klikLakukanS im ulasi v erifyE ntry ( ) c om puteResult( ) showResult( ) klikClose

sd M enga ks es Ca ra Be rga bung

:Pub lik

:Wind ow Ca raB erg ab un g cre ate

kli kClo se

s d Mengakses Keuntu ngan Member

:Publik

:Window Keuntunga nMember create

Gambar 4.18 Sequence Diagram M endaftar online

Gambar 4.19 Sequence Diagram M engakses FAQs

sd Mend aftar Onl ine

:Pu blik : Window Da ftarOn line op t : Window Keter anganDaftar :Penda ftaran crea te entr yDataPublik klikHapus d eleteEntry( ) klikDaftar verifyEntry( )

get LastNo Pe ndaftaran ( )

genera teNewNo Pe ndaftaran ( )

addNewPendafta ran( ) create klikClose

sd M enga kses FAQs

:Publik

:Windo w FAQs

:FAQ

lo op

[fo r All Kat egori FAQ] create

getKat egoriF AQ( )

[each FAQ in Katego ri]: *ge tFAQ( )

Gambar 4.20 Sequence Diagram M engakses Tips Pilih Parfum

Gambar 4.21 Sequence Diagram M engirim Pesan

s d M enga ks es Tips P ilih parfum

:Pu bli k

: Wi nd ow Tip sPil ihP arf um cre at e

kli kClo se( )

s d M e ngirim Pe sa n :Pu bli k :Win do w Kiri mP esa n : Pesa n cre at e en tryPe san Kl ikKirim Pesa n ve rif yE ntry( )

g etL ast NoP esa n( )

ge ne rat eNe wNo Pe san ( )

a dd NewPesa n( ) Sho wCo nf irm at ion ( )

Gambar 4.22 Sequence Diagram M engakses Forum Diskusi sd Me ngak se s For um D is kus i

:Pub l ik

:Wi n do w Fo rum Di sku si

:Win do w Ba la sa n Foru mDi skusi

:To pi kD isku si :Ba l asa n Top i k

a lt

[i f m emb e r l og i n]

[el se]

:Me mbe r

loop

[for al l Top i kDi skusi] :Grid Top i k

opt

loop

[fo r To p ikFo rum' s Ba la sa nT op ik] :Gri d B al asan a lt [i f Mem be r l o gi n ] [e l se] crea te cre ate

g etTg l &Sub j ekTop i k( )

ge tNam aM em be r( )

ad dBu tto n s( )

kl i kTo p ikFo rum

cre ate

g etKo de To pi k( )

cre a te

ge tTop i kDi skusi( )

ge tNam aM emb e r( )

g etBa l asa n Top i k( )

ge tNam aM emb e r( )

a dd Butto ns( )

kli kC lo se kl i kCl o se

Gambar 4.23 Sequence Diagram M engakses Profil Senswell

Gambar 4.24 Sequence Diagram M engakses Daftar Stokist

Gambar 4.25 Sequence Diagram M engakses Testimonial

sd M enga ks es Profil Sensw el l

:Pub lik

:Wind ow Profi lSe nswe ll crea te

klikClo se

s d M enga ks es Da fta r Stok ist

:Pu bli k

:Wind ow Da fta rSto kist

:Sto kist

crea te

[al l St okist ]: *g et Stoki st( ) klikClose

s d M enga ks es Tes timonia l

:Pu bli k

:Wi nd ow Test imo ni al

:T esti mo nia l

cre ate

[al l Te stim on ia l]: *ge tTest im on ial ( ) kl ikClo se

Gambar 4.26 Sequence Diagram M engakses Hubungi Kami

Gambar 4.27 Sequence Diagram M engakses Berita

sd M enga ks es Hubungi Ka mi :Pub lik :Wind ow Hu bu ng iKa mi crea te klkClose

s d M enga k se s Ber ita

:P ub l i k

:Wi nd o w

:Beri ta

:Wi n do w Be ri ta

:Wi nd ow Isi Be ri ta :Wi n d ow IsiB eri ta

opt crea te [3 la te st Be ri ta ]: * ge tJud u l Beri ta ( ) kl i kJu d ul B eri ta crea te g e tIsi Be ri ta ( ) kli kCl ose kl i kBe ri taL a in cre a te [a l l Be ri ta ]: * ge tJud u l Beri ta ( ) kl ikJu du l Be ri ta cre ate

g e tIsiB eri ta( )

Gambar 4.28 Sequence Diagram M elakukan Login sd M elakukan Login

:P ubl i k

:Wi ndow Logi n

:M ember :Stoki st

alt

[i f Status=Member]

[el sei f Status=S toki st]

[el se] :Adm in alt [i f l ogi n m atc h] [else] alt [i f l ogi n match] [el se] alt

[if l ogi n m atch]

[el se] :Wi ndow create kl ikLogi n create Entry DataLogi n K l ikLogi n

veri fyE ntry( )

M atchK ode&P assword( )

addM enuMem ber( )

showError( )

matchKode& Password( )

addM enuS tokist( )

showError( )

m atchKode&Password( )

addM enuAdmi n( )

showError( )

Dokumen terkait