com.konakart.al
Class Constants

java.lang.Object
  extended by com.konakart.al.Constants

public class Constants
extends java.lang.Object

These constants are loaded from the properties file so that the Java code can have the same constants as the JSPs


Field Summary
static java.lang.String addressBook
          address book
static java.lang.String advancedNavigation
          advancedNavigation
static java.lang.String allReviews
          allReviews
static java.lang.String allSpecials
          allSpecials
static java.lang.String cartContents
          cartContents
static java.lang.String changeBillingAddress
          changeBillingAddress
static java.lang.String changePassword
          change Password
static java.lang.String changePasswordError
          change Password
static java.lang.String changeShippingAddress
          changeShippingAddress
static java.lang.String checkout
          checkout
static java.lang.String conditionsofuse
          conditionsofuse
static java.lang.String confirmation
          confirmation
static java.lang.String contactus
          contactus
static java.lang.String customerRegistration
          customerRegistration
static java.lang.String customerRegistrationSubmitted
          customerRegistrationSubmitted
static java.lang.String dateTemplate
          dateTemplate
static java.lang.String deleteEntry
          delete entry
static java.lang.String editAccount
          editAccount
static java.lang.String forgottenPasswordSubject
          forgottenPasswordSubject
static java.lang.String history
          history
static java.lang.String invalidZone
          invalidZone
static java.lang.String loginPage
          loginPage
static java.lang.String logoutPage
          logoutPage
static java.lang.String missingParameter
          missingParameter
static java.lang.String myAccount
          myAccountInfo
static java.lang.String navigationResults
          navigationResults
static java.lang.String newEntry
          new entry
static java.lang.String newProducts
          newProducts
static java.lang.String newsSubscriptions
          newsletter subscriptions
static java.lang.String order
          order
static java.lang.String orderConfirmationSubject
          orderConfirmationSubject
static java.lang.String payment
          payment
static java.lang.String paymentMethod
          paymentMethod
static java.lang.String privacynotice
          privacynotice
static java.lang.String productDetails
          productDetails
static java.lang.String productNnotifications
          product notifications
static java.lang.String products
          products
static java.lang.String reviewDetails
          reviewDetails
static java.lang.String reviews
          reviews
static java.lang.String seoCategory
          name of category for SEO friendly URLs
static java.lang.String seoCategoryMetaDescriptionTemplate
          Template for Meta Description tag when viewing a list of products within a category
static java.lang.String seoCategoryTemplate
          Template for the window title when a category is selected
static java.lang.String seoDefaultMetaDescription
          default meta description
static java.lang.String seoDefaultMetaKeywords
          default meta keywords
static java.lang.String seoDefaultTitle
          default window title
static java.lang.String seoManufacturer
          name of manufacturer for SEO friendly URLs
static java.lang.String seoManufacturerMetaDescriptionTemplate
          Template for Meta Description tag when viewing a list of products for a manufacturer
static java.lang.String seoManufacturerTemplate
          Template for the window title when a maufacturer is selected
static java.lang.String seoMetaKeywordsTemplate
          Template for the meta keywords
static java.lang.String seoModel
          name of model for SEO friendly URLs
static java.lang.String seoName
          name of product for SEO friendly URLs
static java.lang.String seoProductMetaDescriptionTemplate
          Template for Meta Description tag when viewing a product
static java.lang.String seoProductTemplate
          Template for the window title when a product is selected
static java.lang.String shippingandreturns
          shippingandreturns
static java.lang.String shippingMethod
          shippingMethod
static java.lang.String success
          success
static java.lang.String updateEntry
          update entry
static java.lang.String userdoesntexisterror
          userdoesntexisterror
static java.lang.String userExists
          userExists
static java.lang.String welcomeSubject
          welcomesubject
static java.lang.String writeReview
          writeReview
 
Constructor Summary
Constants()
           
 
Method Summary
static java.lang.String getLogoutPage()
           
static void init(org.apache.struts.util.MessageResources mr)
          Initialise the constants from the MessageResources object passed in as a parameter.
static void setLogoutPage(java.lang.String logoutPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userExists

public static java.lang.String userExists
userExists


invalidZone

public static java.lang.String invalidZone
invalidZone


missingParameter

public static java.lang.String missingParameter
missingParameter


dateTemplate

public static java.lang.String dateTemplate
dateTemplate


advancedNavigation

public static java.lang.String advancedNavigation
advancedNavigation


navigationResults

public static java.lang.String navigationResults
navigationResults


customerRegistration

public static java.lang.String customerRegistration
customerRegistration


editAccount

public static java.lang.String editAccount
editAccount


changePassword

public static java.lang.String changePassword
change Password


changePasswordError

public static java.lang.String changePasswordError
change Password


myAccount

public static java.lang.String myAccount
myAccountInfo


customerRegistrationSubmitted

public static java.lang.String customerRegistrationSubmitted
customerRegistrationSubmitted


newProducts

public static java.lang.String newProducts
newProducts


allReviews

public static java.lang.String allReviews
allReviews


allSpecials

public static java.lang.String allSpecials
allSpecials


reviewDetails

public static java.lang.String reviewDetails
reviewDetails


reviews

public static java.lang.String reviews
reviews


products

public static java.lang.String products
products


productDetails

public static java.lang.String productDetails
productDetails


writeReview

public static java.lang.String writeReview
writeReview


loginPage

public static java.lang.String loginPage
loginPage


logoutPage

public static java.lang.String logoutPage
logoutPage


cartContents

public static java.lang.String cartContents
cartContents


addressBook

public static java.lang.String addressBook
address book


updateEntry

public static java.lang.String updateEntry
update entry


newEntry

public static java.lang.String newEntry
new entry


deleteEntry

public static java.lang.String deleteEntry
delete entry


newsSubscriptions

public static java.lang.String newsSubscriptions
newsletter subscriptions


productNnotifications

public static java.lang.String productNnotifications
product notifications


history

public static java.lang.String history
history


order

public static java.lang.String order
order


shippingMethod

public static java.lang.String shippingMethod
shippingMethod


paymentMethod

public static java.lang.String paymentMethod
paymentMethod


payment

public static java.lang.String payment
payment


confirmation

public static java.lang.String confirmation
confirmation


checkout

public static java.lang.String checkout
checkout


changeShippingAddress

public static java.lang.String changeShippingAddress
changeShippingAddress


changeBillingAddress

public static java.lang.String changeBillingAddress
changeBillingAddress


success

public static java.lang.String success
success


shippingandreturns

public static java.lang.String shippingandreturns
shippingandreturns


privacynotice

public static java.lang.String privacynotice
privacynotice


conditionsofuse

public static java.lang.String conditionsofuse
conditionsofuse


contactus

public static java.lang.String contactus
contactus


forgottenPasswordSubject

public static java.lang.String forgottenPasswordSubject
forgottenPasswordSubject


userdoesntexisterror

public static java.lang.String userdoesntexisterror
userdoesntexisterror


welcomeSubject

public static java.lang.String welcomeSubject
welcomesubject


orderConfirmationSubject

public static java.lang.String orderConfirmationSubject
orderConfirmationSubject


seoProductTemplate

public static java.lang.String seoProductTemplate
Template for the window title when a product is selected


seoCategoryTemplate

public static java.lang.String seoCategoryTemplate
Template for the window title when a category is selected


seoManufacturerTemplate

public static java.lang.String seoManufacturerTemplate
Template for the window title when a maufacturer is selected


seoProductMetaDescriptionTemplate

public static java.lang.String seoProductMetaDescriptionTemplate
Template for Meta Description tag when viewing a product


seoCategoryMetaDescriptionTemplate

public static java.lang.String seoCategoryMetaDescriptionTemplate
Template for Meta Description tag when viewing a list of products within a category


seoManufacturerMetaDescriptionTemplate

public static java.lang.String seoManufacturerMetaDescriptionTemplate
Template for Meta Description tag when viewing a list of products for a manufacturer


seoMetaKeywordsTemplate

public static java.lang.String seoMetaKeywordsTemplate
Template for the meta keywords


seoCategory

public static java.lang.String seoCategory
name of category for SEO friendly URLs


seoManufacturer

public static java.lang.String seoManufacturer
name of manufacturer for SEO friendly URLs


seoName

public static java.lang.String seoName
name of product for SEO friendly URLs


seoModel

public static java.lang.String seoModel
name of model for SEO friendly URLs


seoDefaultTitle

public static java.lang.String seoDefaultTitle
default window title


seoDefaultMetaDescription

public static java.lang.String seoDefaultMetaDescription
default meta description


seoDefaultMetaKeywords

public static java.lang.String seoDefaultMetaKeywords
default meta keywords

Constructor Detail

Constants

public Constants()
Method Detail

init

public static void init(org.apache.struts.util.MessageResources mr)
Initialise the constants from the MessageResources object passed in as a parameter. The files containing the property values are under the classes directory since they have to be in the class path and are named Messages*.properties.

Parameters:
mr -

getLogoutPage

public static java.lang.String getLogoutPage()
Returns:
Returns the logoutPage.

setLogoutPage

public static void setLogoutPage(java.lang.String logoutPage)
Parameters:
logoutPage - The logoutPage to set.


Copyright © 2006 DS Data Systems UK Ltd.