A B C D E G H I L M N O P Q R S T U V

A

Abandon(Melati) - Method in class org.paneris.melati.shopping.Trolley
Abandon a trolley.
abandonURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 
Add(Melati, Integer, double) - Method in class org.paneris.melati.shopping.Trolley
Add a single item to the trolley, or add to the quantity already in the trolley.
addItem(ShoppingTrolleyItem) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Add an item to the trolley.
address - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
assertLogin(Melati) - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Do something to force users to login.
assertLogin(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Do something to force users to login.
assertLogin(Melati) - Method in class org.paneris.melati.shopping.Trolley
Force a user to login.

B

baseURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 

C

config - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
config - Variable in class org.paneris.melati.shopping.Trolley
 
configureRequest(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
This is done for each request, so anything special that needs to be done can be put in here
Confirm(Melati) - Method in class org.paneris.melati.shopping.Trolley
Update the user's information and return the confirmation page.
confirmPayment(Melati) - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
A call back point for the payment server.
confirmPayment(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Confirm payment of this trolley.
confirmURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 
country - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
county - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 

D

DefaultShoppingTrolley - Class in org.paneris.melati.shopping
A Shopping Trolley stores information in the user's Shopping Trolley.
DefaultShoppingTrolley() - Constructor for class org.paneris.melati.shopping.DefaultShoppingTrolley
 
DefaultShoppingTrolleyItem - Class in org.paneris.melati.shopping
What you get if you don't specify something.
DefaultShoppingTrolleyItem() - Constructor for class org.paneris.melati.shopping.DefaultShoppingTrolleyItem
 
description - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 
Details(Melati) - Method in class org.paneris.melati.shopping.Trolley
Return the page where the user enters their details.
detailsURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 
displayCurrency(double) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format a number in the locale currency.
displayCurrency(Double) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format a number in the locale currency.
displayCurrency(double) - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
format a number in the locale currency.
doTemplateRequest(Melati, ServletTemplateContext) - Method in class org.paneris.melati.shopping.Trolley
Main entry point for this servlet.

E

email - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 

G

getCountry() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the country.
getCounty() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the county.
getDeliveryAddress() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the address.
getDeliveryDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the delivery value for display.
getDeliveryDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Display the cost of delivery.
getDeliveryValue() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
You need to provide some mechanism for calculating the delivery value for the order (item delivery values are calculated individually.
getDeliveryValue() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolleyItem
Work out the cost of delivery
getDeliveryValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
You need to provide some mechanism for calculating the delivery value for the order (item delivery values are calculated individually.
getDeliveryValue() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Work out the cost of delivery.
getDescription() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
The description.
getDiscountRate() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
If you want to apply a discount to this order, do it here.
getDiscountRate() - Method in class org.paneris.melati.shopping.ShoppingTrolley
If you want to apply a discount to this order, do it here.
getDiscountRateDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Display the discount (if present).
getDiscountValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Work out the value of the discout applied to this order (returns a negative value).
getDiscountValueDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the discount value for display.
getEmail() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the email address.
getId() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
The id.
getInstance(Melati, MelatiShoppingConfig) - Static method in class org.paneris.melati.shopping.ShoppingTrolley
Returns the single instance, creating one if it can't be found.
getItem(Integer) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get an item from the trolley.
getItems() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the items from the trolley.
getLocale() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Set the Locale for this trolley.
getLocale() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the Locale for this trolley.
getMessage() - Method in exception org.paneris.melati.shopping.ShoppingConfigException
get the error message.
getMessage() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the delivery message.
getName() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the name.
getPostcode() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the postcode.
getPrice() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
The price of this item.
getPriceDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Display the price of this item.
getQuantity() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
The quantity on the trolley.
getQuantityDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Get the quantity on the trolley formatted for display.
getShoppingTrolley() - Method in class org.paneris.melati.shopping.MelatiShoppingConfig
Get a ShoppingTrolley Object as defined in the properties file.
getShoppingTrolleyItem() - Method in class org.paneris.melati.shopping.MelatiShoppingConfig
Get a ShoppingTrolleyItem Object as defined in the properties file.
getTel() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the telephone number.
getTotalDeliveryValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
The delivery charge for the order is the sum of the charges on the items and an overall charge.
getTotalValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Calculate the total value of this order.
getTotalValue() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Calculate the value (without delivery).
getTotalValueDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the total order value for display.
getTotalValueDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Display the item value.
getTotalValuePence() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the total order value in pence, typically ecomerce sites accept the values in pence not pounds.
getTown() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Get the town.
getValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Calculate the value of the items in the trolley.
getValue() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Calculate the value (without delivery).
getValueDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the order value for display.
getValueDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Display the item value.
getVATDisplay() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Format the vat value for display.
getVATValue() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Calculate the VAT value of the order.

H

hasDelivery() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Provide a mechanism for working out if this order should include a delivery charge.
hasDelivery() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Provide a mechanism for working out if this order should include a delivery charge.
hasDetails - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
hasDetails() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Have we entered any personal information.
hasDiscount() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Provide a mechanism for working out if this order should include a discount.
hasDiscount() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Provide a mechanism for working out if this order should include a discount.
hasVAT() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Provide a mechanism for working out whether this order should include VAT (default should be true).
hasVAT() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Provide a mechanism for working out if this order should include VAT (default should be true).

I

id - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 
init(ServletConfig) - Method in class org.paneris.melati.shopping.Trolley
Inititialise the Shopping Trolley Engine.
initialise(Melati, MelatiShoppingConfig) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Private Constructor to build an empty ShoppingTrolley
initialise(Melati, MelatiShoppingConfig, Integer) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Public Constructor to build a trolley from some id.
initialise(ShoppingTrolley, Melati, Integer, String, Double) - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Public Constructor to build a trolley item from some id.
isEmpty() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Have we got anything in the trolley.

L

load(Integer) - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Load a trolley from something persistent.
load(Integer) - Method in class org.paneris.melati.shopping.DefaultShoppingTrolleyItem
Load in information about this product given an id.
load(Integer) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Load a trolley from something persistent.
load(Integer) - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Load in information about this product given an id.
Load(Melati, Integer) - Method in class org.paneris.melati.shopping.Trolley
Load the trolley from something persistent.
locale - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
locale - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 

M

melati - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
melati - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 
MelatiShoppingConfig - Class in org.paneris.melati.shopping
The MelatiShoppingConfig provides configuration information for the Melati Shopping Interface.
MelatiShoppingConfig() - Constructor for class org.paneris.melati.shopping.MelatiShoppingConfig
Construct a MelatiShoppingConfig object.
message - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
MultipleAdd(Melati) - Method in class org.paneris.melati.shopping.Trolley
Add multiple items to the trolley, or add to the quantities already in the trolley.

N

name - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
name() - Static method in class org.paneris.melati.shopping.ShoppingTrolley
Return the name of the trolley (for storing in the session).
newItem(Integer, String, Double) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Create an item and put it in the Trolley.
newTrolley(MelatiShoppingConfig) - Static method in class org.paneris.melati.shopping.ShoppingTrolley
 
newTrolleyItem(MelatiShoppingConfig) - Static method in class org.paneris.melati.shopping.ShoppingTrolleyItem
 

O

org.paneris.melati.shopping - package org.paneris.melati.shopping
Melati Shopping Trolley Interface.

P

Paid(Melati) - Method in class org.paneris.melati.shopping.Trolley
Complete the user's shopping experience, and remove their Shopping Trolley from the Session.
paidURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 
poemContext(Melati) - Method in class org.paneris.melati.shopping.Trolley
Override the building of the PoemContext in order to glean the additional information required for the Shopping Trolley system.
postcode - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
price - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 

Q

quantity - Variable in class org.paneris.melati.shopping.ShoppingContext
 
quantity - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 

R

remove(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Remove any trolley from the session.
Remove(Melati, Integer) - Method in class org.paneris.melati.shopping.Trolley
Remove a single item from the trolley, the product is specified on the pathinfo which should be of the form: ///Remove/
removeItem(ShoppingTrolleyItem) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Remove an item from the trolley.
roundTo2dp(double) - Static method in class org.paneris.melati.shopping.ShoppingTrolley
 

S

save() - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Save a trolley to something persistent.
save() - Method in class org.paneris.melati.shopping.ShoppingTrolley
Save a trolley to something persistent.
Save(Melati) - Method in class org.paneris.melati.shopping.Trolley
Load the trolley from something persistent.
Set(Melati, Integer, double) - Method in class org.paneris.melati.shopping.Trolley
Set the quantity of an item in the trolley, the product and new quantity is specified on the pathinfo which should be of the form: ////Set/
setCountry(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the country.
setCounty(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the county.
setDefaultDetails(Melati) - Method in class org.paneris.melati.shopping.DefaultShoppingTrolley
Set the user's detault details into this trolley.
setDefaultDetails(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the user's detault details into this trolley.
setDeliveryAddress(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the address.
setEmail(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the email address.
setFromForm(Melati) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set values from form fileds.
setLocale(Locale) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the Locale for this trolley.
setMessage(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the delivery message.
setName(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the name.
setPostcode(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the postcode.
setPrice(double) - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Set the price of this item.
setQuantity(double) - Method in class org.paneris.melati.shopping.ShoppingTrolleyItem
Set the quantity on the trolley.
setTel(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the telephone number.
setTown(String) - Method in class org.paneris.melati.shopping.ShoppingTrolley
Set the town.
ShoppingConfigException - Exception in org.paneris.melati.shopping
A ShoppingConfigException is throw if we encounter a problem configuring the Melati Shopping Trolley.
ShoppingConfigException(String) - Constructor for exception org.paneris.melati.shopping.ShoppingConfigException
Construct the exception with an error string.
ShoppingContext - Class in org.paneris.melati.shopping
A ShoppingContext contains additional information from parsing the pathInfo.
ShoppingContext() - Constructor for class org.paneris.melati.shopping.ShoppingContext
 
shoppingTemplate(Melati, String) - Method in class org.paneris.melati.shopping.Trolley
Create the full name of the template to be returned.
ShoppingTrolley - Class in org.paneris.melati.shopping
A Shopping Trolley stores information in the user's Shopping Trolley.
ShoppingTrolley() - Constructor for class org.paneris.melati.shopping.ShoppingTrolley
 
ShoppingTrolleyItem - Class in org.paneris.melati.shopping
Extend this to create your own ShoppingTrolleyItem.
ShoppingTrolleyItem() - Constructor for class org.paneris.melati.shopping.ShoppingTrolleyItem
 
stid - Variable in class org.paneris.melati.shopping.ShoppingContext
 

T

tel - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
town - Variable in class org.paneris.melati.shopping.ShoppingTrolley
 
trolley - Variable in class org.paneris.melati.shopping.ShoppingTrolleyItem
 
Trolley - Class in org.paneris.melati.shopping
A servlet that handles the user's interaction with the Shopping Trolley.
Trolley() - Constructor for class org.paneris.melati.shopping.Trolley
 

U

Update(Melati) - Method in class org.paneris.melati.shopping.Trolley
Update the entire trolley, changing quantities and removing items.
updateURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 

V

VAT_PERCENT_TIMES_TEN - Static variable in class org.paneris.melati.shopping.ShoppingTrolley
 
View(Melati) - Method in class org.paneris.melati.shopping.Trolley
View the trolley.
viewURL() - Method in class org.paneris.melati.shopping.ShoppingTrolley
 

A B C D E G H I L M N O P Q R S T U V

Copyright © 1997-2009 PanEris. All Rights Reserved.