You are on page 1of 21

Online Advertising Management System

5.1 CRC Modeling [Class-Responsibility-Collaborator]


5.2 Use Case iagrams
5.! Use Case "arrative
5.# A$tivity iagrams
!#
Online Advertising Management System
Class Name: %ogin
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
)sername( p*d
Operation:
%ogin validation
Collaborations:
User
Advertiser
Administrator
atabase
Class Name: Register+User,
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
)sername( p*d( -int./)e(
-int.ans( address( $ity.id( name(
pin$ode( email1( email2( p-1(
p-2( mobile( gender(
area.o0.intrest

Operation:
Register ne* )ser
Collaborations:
Client
atabase
Class Name: Register+Advertiser,
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
)sername( p*d( -int./)e(
-int.ans( address( $ity.id(
mname( email1( email2( p-1(
p-2( mob( gender( pin$ode(
area.o0.intrest

Operation:
Register ne* Advertiser
Collaborations:
Client
atabase
!5
5.1 CRC Modeling
Online Advertising Management System
Class Name: Upload.Classi0ieds
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
title( slogan( logo( disp.img(
advr.des$( address( $ity.id(
email( p-1( p-2( s)b.id(
disp.date( pid( a$tive(
is.premi)m
Operation:
&nsert and )pdate in0o abo)t
)pload $lassi0ieds.
Collaborations:
Advertiser
Admin
atabase
Class Name: 0eedba$1
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
name( email( address(
p-one( message( read.stat)s(

Operation:
Send 0eedba$1 in0ormation.
Collaborations:
Client
User
Advertiser
atabase
Class Name: $-ange.p*d
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
oldp*d( ne*p*d( $on0p*d
Operation:
C-ange pass*ord o0 )ser(
advertiser.
Collaborations:
User
Advertiser
Administrator
atabase
!2
Online Advertising Management System
Class Name: 3ie*.Classi0ieds
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
4itle( slogan( logo( disp.img(
des$( address( email( p-1(
mobile( s)b.$ategory
Operation:
isplay Classi0ieds
Collaborations:
Client
User
atabase
Class Name: )pdate.personal.pro0ile
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
name( address( $ity.id( email1(
email2( p-1( p-2( mob( gender(
pin$ode
Operation:
Update 'ersonal 'ro0ile etails.
Collaborations:
User
Advertiser
atabase
Class Name: p)r$-ase.s$-eme
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
)sername( mname( sname(
a$tive.date
Operation:
')r$-ase s$-eme 0or )pload Ad.
Collaborations:
Advertiser
atabase
!5
Online Advertising Management System
Class Name: send./)ery
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
mame( advr.id( /)ery
Operation:
Send 6)ery detail to advertiser.
Collaborations:
User
atabase
Class Name: send.response
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
name( advr.id( response
Operation:
Send Response detail to )ser.
Collaborations:
Advertiser
atabase
Class Name: )pdate.$ategory.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
$at.name
Operation:
&nsert and )pdate $ategory detail
into database.
Collaborations:
Admin
atabase
Class Name: )pdate.$o)ntry.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
$o)ntry.name
Operation:
&nsert and )pdate $o)ntry detail
into database.
Collaborations:
Admin
atabase
!7
Online Advertising Management System
Class Name: )pdate.s)b$ategory.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
s)b.name( $at.name
Operation:
&nsert and )pdate s)b$ategory detail
into database.
Collaborations:
Admin
atabase
Class Name: )pdate.$ity.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
$ity.name( state.name
Operation:
&nsert and )pdate $ity detail into
database.
Collaborations:
Admin
atabase
Class Name: poli$y.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
title( poli$y.des$
Operation:
&nsert and )pdate poli$y detail into
database.
Collaborations:
Admin
atabase
Class Name: )pdate.state.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
state.name( $o)ntry.name
Operation:
&nsert and )pdate state detail into
database.
Collaborations:
Admin
atabase
!8
Online Advertising Management System
Class Name: )pdate.s$-eme.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
sname( total.point( des$ription(
amo)nt( d)ration(
main.page.d)ration
Operation:
&nsert and )pdate s$-eme detail into
database.
Collaborations:
Admin
atabase
Class Name: )pdate.pri$e.master
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
pname( $ol( lines( points(
image.0ormate( is.allo*.image(
img.*idt-( img.-eig-t(
premi)m.point
Operation:
&nsert and )pdate 'ri$e +isplay
9ormat, detail into atabase.
Collaborations:
Admin
atabase
Class Name: s$-eme.ledger
Class Type: &ntera$tion
Class Characteristics: 'ersistent( abstra$t( $on$)rrent
Responsibilities:
Attributes:
s$-eme.name( des$( amt( total.points(
pending.points( )sed.points(
a$tive.date( e:piry.date
Operation:
isplay s$-eme ledger details.
Collaborations:
Advertiser
Admin
atabase
#;
Online Advertising Management System
Guest User side use-case diagram:
#1
5.2 Use Case iagram
Registration
View Company
n!ormation
View

Classi!ieds"Ads
#earch
Classi!ieds
$eedbac%
&ogin
+As )ser<advertiser<
admin'
Online Advertising Management System
User side use-case diagram:
#2
&ogin
View
Classi!ieds
View
(etails
Update )ersonal
(etails
#earch
Classi!ieds
$eedbac%
#a*ed Ads
n+uiry
Response
Online Advertising Management System
Ad*ertiser side use-case diagram:
#!
&ogin
View n+uiry ,o-
Update )ersonal
(etails
Upload . /anage
Classi!ieds
#earch
$eedbac%
/y Account
)urchase
#cheme
#cheme &edger
Ad (etails
Online Advertising Management System
Admin side use-case diagram:
##
#cheme"Ads
Acti*ation Re+uest
View User0s (etails
Update /aster
(etails
Upload . /anage
Classi!ieds
#earch
Classi!ieds
Online Advertising Management System
Use case (escription
"ame Registration +*eb,
Ass)mption User<Advertiser m)st be registered into system.
're-Conditions "o $onditions apply to registration.
Use Case &nitiation Starts *-en a )ser<advertiser *ants to sign )p in t-e system.
Use Case ialog 4-e system as1s t-e )ser<advertiser 0or valid details.
&0 details are valid
User<advertiser is allo*ed to login to t-e system
=lse
User<advertiser is given t-e error message
Use Case 4ermination User<advertiser redire$t to anot-er part 0rom *-ere -e<s-e
$an login to system.
Use case (escription
"ame %ogin +*eb,
Ass)mption Username and pass*ord $annot be n)ll
're-Conditions Username and pass*ord are $-e$1ed.
Use Case &nitiation 4-is )se $ase starts on t-e )ser demand.
Use Case ialog 4-e system as1s t-e )ser 0or a valid )ser name and
pass*ord.
&0 3alid
User is allo*ed to a$$ess ot-er pages
=lse
User is given t-e login page again *it- error message.
Use Case 4ermination User is redire$ted anot-er page )pon s)$$ess.
Use case (escription
"ame 3ie* Classi0ieds
Ass)mption All )sers $an allo* vie*ing Classi0ieds.
're-Conditions "o $onditions apply to vie* Classi0ieds.
Use Case &nitiation Starts *-en a )ser *ants to vie* t-e $lassi0ieds available in
t-e system.
Use Case ialog Only registered )ser $an send /)ery abo)t $lassi0ied.
Use Case 4ermination User is allo*ed to sele$t any $lassi0ieds to vie* its details.
#5
5.! Use Case "arratives
Online Advertising Management System
Use case (escription
"ame Sear$- Classi0ieds
're-Condition >)est )ser( )ser( advertiser and admin $an sear$- 0or
$lassi0ieds related parti$)lar $ategory and region.
Use Case &nitiation 4-is $ase starts on g)est<)ser<advertiser<admin demand
Use Case ialog System *ill display sear$- res)lt
&0 available
isplay $lassi0ieds detail
=lse
"ot display detail
Use Case 4ermination isplay sear$- res)lt.
Use case (escription
"ame 9eedba$1
Ass)mption User $an send t-e 0eedba$1.
're-Conditions "o $onditions apply to send 0eedba$1.
Use Case &nitiation Starts *-en a )ser *ants send 0eedba$1.
Use Case ialog User sends 0eedba$1 in0ormation in$l)ding -is<-er personal
in0ormation.
Use Case 4ermination isplay massage.
Use case (escription
"ame 3ie* Company &n0ormation
're-Condition User $an vie* in0ormation abo)t $ompany li1e pro0ile(
$onta$t detail( and poli$y.
Use Case &nitiation 4-is $ase starts on )ser demand
Use Case ialog System *ill display $ompany in0ormation.
Use Case 4ermination isplay $ompany in0ormation.
Use case (escription
"ame 3ie* etails
Ass)mption User $an vie* detail o0 saved Ads and in/)iry response.
're-Conditions Only User $an vie* t-ose details.
Use Case &nitiation 4-is $ase starts on )ser demand.
Use Case ialog System *ill display in0ormation( only i0 )ser is registered.
Use Case 4ermination isplay parti$)lar in0ormation.
#2
Online Advertising Management System
Use case (escription
"ame Update 'ersonal etails
're-Conditions Only registered )ser<advertiser $an )pdate personal pro0ile
and pass*ord
Use Case &nitiation 4-is $ase starts on User<advertiser demand
Use Case ialog System *ill display old in0ormation
&0 valid
Can )pdate pro0ile and pass*ord
=lse
"ot $-ange pro0ile
Use Case 4ermination isplay message.
Use case (escription
"ame ')r$-ase s$-eme
're-Condition Only registered advertiser $an p)r$-ase s$-eme 0or )pload
$lassi0ieds.
Use Case &nitiation 4-is $ase starts on advertiser demand
Use Case ialog System *ill display all s$-eme available( advertiser $an
p)r$-ase s$-eme as per -is<-er $-oi$e.
Use Case 4ermination isplay message.
Use case (escription
"ame S$-eme ledger
're-Condition Only registered advertiser<admin $an vie* s$-eme ledger.
Use Case &nitiation 4-is $ase starts on advertiser<admin demand
Use Case ialog System *ill display all t-e s$-emes i.e. p)r$-ased by
advertiser and its details li1e stat)s o0 s$-eme( total points(
)sed points( e:pired points( et$.
Use Case 4ermination isplay in0ormation related s$-eme.
Use case (escription
"ame Ad details
're-Condition Only registered advertiser $an manage ad details.
Use Case &nitiation 4-is $ase starts on advertiser demand
Use Case ialog System *ill display all ads( only registered advertiser $an
)pload( edit or delete t-e parti$)lar $lassi0ied.
Use Case 4ermination isplay message.
Use case (escription
"ame Upload ? manage Classi0ieds
Ass)mption Advertiser<admin m)st be login into system.
're-Conditions Only registered advertiser<admin $an )pload and manage
$lassi0ieds.
#5
Online Advertising Management System
Use Case &nitiation Starts *-en advertiser<admin *ants to )pload or )pdate
-is<-er $lassi0ieds
Use Case ialog 4-e system as1s t-e 0or a valid s$-eme and pri$e 0ormat.
&0 3alid
User is allo*ed to )pload<)pdate ad
=lse
User is given t-e error message
Use Case 4ermination User redire$t to anot-er part 0rom *-ere -e<s-e $an )pload
or manage anot-er $lassi0ieds.
Use case (escription
"ame Update master etails
Ass)mption Admin $an )pdate details 0rom parti$)lar $ategory.
're-Conditions Only admin $an add( edit or delete details.
Use Case &nitiation Starts *-en admin *ants to add( edit- delete details 0rom
master databases.
Use Case ialog Admin provides all t-e valid detail. System *ill
a)tomati$ally )pdate or delete t-ose details 0rom e:isting
detail.
Use Case 4ermination isplay message.
Use case (escription
"ame S$-eme<Ads A$tivation Re/)est
're-Condition Only admin $an a$tivate re/)est o0 ads or s$-emes.
Use Case &nitiation 4-is $ase starts on admin demand
Use Case ialog System *ill display a$tivation message
&0 available
Can a$tive re/)est
=lse
"ot a$tive re/)est
Use Case 4ermination isplay message.
Use case (escription
"ame 3ie* User@s etails
Ass)mption Admin $an vie* details 0or parti$)lar )ser( advertiser and
0eedba$1.
're-Conditions Only admin $an vie* t-ose details.
Use Case &nitiation Starts *-en admin *ants to vie* details.
Use Case ialog Admin vie*s all t-e valid detail. System *ill a)tomati$ally
vie* t-ose details.
Use Case 4ermination isplay in0ormation.
#7
Online Advertising Management System
Acti*ity (iagram

Acti*ity diagram !or &ogin
#tart
Aot- etails Available
"o
Bes
3alid User<Advertiser
"o Bes
1-it
#8
3alidate etail
Open e0a)lt 'age. 'rovide =rror Msg.
Obtain Userid ?
'ass*ord
Online Advertising Management System
Acti*ity (iagram !or Registration
#tart
User<Advertiser detail inserting
Bes
"o
"o Bes
1-it
5;
&nsert into
atabase
Open Regi. Msg
'age.
'rovide =rror Msg.
'rovide =rror Msg.
&nsert Userid ?
'ass*ord
Online Advertising Management System
Acti*ity diagram !or Upload Ad
#tart
&0 bot- is s)00i$ient
"o Bes

"o Bes

1-it


51
Sele$t S$-eme
&nsert Ad etails Open e0a)lt
'age
Sele$t display
9ormat
Upload Ad msg. page isplay =rr. message
&nsert Ad etails
Online Advertising Management System
Acti*ity diagram !or )urchase #cheme
#tart
"o Bes
1-it
52
3ie* S$-eme
9ill p)r$-ase s$-eme 0orm
3ie* etails
A$tivation msg. page 'rovide proper Msg.
Online Advertising Management System
Acti*ity diagram !or #earch Classi!ieds
Start


&0 in0o. Available
"o Bes
=:it
5!
Sele$t Category
Sele$t S)b$ategory
Sele$t State
Sele$t City
'roper Message Open sear$- res)lt page
etails related sear$-
Online Advertising Management System
Acti*ity diagram !or Classi!ieds
Start



=:it
5#
Aro*se Category
Sele$t Category
Sele$t Ads
3ie* etails Send 6)ery
9ill 6)ery 9orm