Example CALENDARIUMDB Access for “
Insert Appointment
”
: B_Calen-
darium
c : Calen-
darium
«persistent»
User :
Class
«persistent»
Authorization :
Class
«persistent»
ca : Calendar
«persistent»
u : User
login(user,pwd)
login(user,pwd)
checkAuthoriz (user, pa, auth)
forall pa
in partic
checkCollision (bD, eD)
checkCollision (UD, eD)
ok
authorized
storeAppt
(partic, appt)
con
forall
pa in partic
con :
Connection
authorizationData
executeQuery(sqlString)
u
select(pa)
con
con
new
appt
login(user,pwd)
select(“User“,pa,2)
dbmgr :
DBManager
u
new()
Alternative 3
Alternative 1
login(...)
Previous slide
Next slide
Back to first slide
View graphic version