jsp Cart{
show(){
called by redirect from Cart.changeCart
or called by redirect from Cart.insert
or called by redirect from Cart.insertMany
or called by viewCart from Home.welcome
or called by viewCart from menu
and
form changeContent calls
Cart.changeCart(hidden isbn, textfield number)
or link buyCart calls Order.addressForm()
or link backHome calls Home.welcome()
}
changeCart(int[] isbn, int[] number){
called by changeContent from Cart.show
and
redirect Cart.show()
}
insert(int isbn){
called by toCart from Category.contents
or called by toCart from Search.results
and
redirect Cart.show()
}
insertMany(int isbn, int number){
called by toCart from Singleitem.show
and
redirect Cart.show()
}
}
jsp Category{
contents(String path){
called by browse from Home.welcome
or called by subCategory from Category.contents
or called by up from Category.contents
and
// next higher category
link up calls Category.contents(aParent)
// Categories may contain subcategories
or link subCategory calls Category.contents(aChild)
// Categories may contain books
or link details calls Singleitem.show(isbn)
or link toCart calls Cart.insert(isbn)
}
}
menu{
link home calls Home.welcome()
or link viewCart calls Cart.show()
or form doSearch calls Search.results(textfield aQuery)
}
|