com.konakart.blif
Interface ShippingMgrIf

All Known Implementing Classes:
ShippingMgr

public interface ShippingMgrIf

ShippingMgrIf Interface which an implementation of this manager must adhere to.


Method Summary
 java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
          The resource bundle is fetched for the locale and stored in a static hash table.
 ShippingQuote getShippingQuote(OrderIf order, java.lang.String moduleName, int languageId)
          Returns a single ShippingQuote object for an order.
 ShippingQuote[] getShippingQuotes(OrderIf order, int languageId)
          Returns an array of available ShippingQuote objects for an order.
 void refreshConfigs()
          Refreshes the configuration data for this manager
 

Method Detail

refreshConfigs

void refreshConfigs()
                    throws java.lang.Exception
Refreshes the configuration data for this manager

Throws:
java.lang.Exception

getShippingQuotes

ShippingQuote[] getShippingQuotes(OrderIf order,
                                  int languageId)
                                  throws java.lang.Exception
Returns an array of available ShippingQuote objects for an order.

Parameters:
order -
languageId -
Returns:
An array of shipping quotes
Throws:
java.lang.Exception

getShippingQuote

ShippingQuote getShippingQuote(OrderIf order,
                               java.lang.String moduleName,
                               int languageId)
                               throws java.lang.Exception
Returns a single ShippingQuote object for an order. The shipping module used is the one referenced by moduleName.

Parameters:
order -
moduleName -
languageId -
Returns:
A shipping quote
Throws:
java.lang.Exception

getResourceBundle

java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
                                           throws KKException
The resource bundle is fetched for the locale and stored in a static hash table. Next time around it is retrieved from the hash table.

Parameters:
locale -
Returns:
The resource bundle referenced by the locale
Throws:
KKException


Copyright © 2011 DS Data Systems UK Ltd.