atg.commerce.csr.order
Class Constants

java.lang.Object
  extended by atg.commerce.csr.order.Constants

public class Constants
extends java.lang.Object

This component provides constants for this package


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String COULD_NOT_CHANGE_ADDRESS
           
static java.lang.String COULD_NOT_SET_SHIPPING_ADDRESS_TO_DEFAULT
           
static java.lang.String MULTI_ADDRESS_LIST_FAILURE
           
 
Constructor Summary
Constants()
           
 
Method Summary
static java.util.ResourceBundle getResourceBundle()
          Return a reference to this component's resource bundle
static java.lang.String getStringResource(java.lang.String pResourceId)
          Acquire a string value from the resource bundle
static java.lang.String getStringResource(java.lang.String pResourceId, java.util.Locale pLocale)
          Acquire a string value from the resource bundle based on the specified locale
static java.lang.String getStringResource(java.lang.String pResourceId, java.util.ResourceBundle pResourceBundle)
          Acquire a string value from a specific resource bundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

MULTI_ADDRESS_LIST_FAILURE

public static final java.lang.String MULTI_ADDRESS_LIST_FAILURE

COULD_NOT_SET_SHIPPING_ADDRESS_TO_DEFAULT

public static final java.lang.String COULD_NOT_SET_SHIPPING_ADDRESS_TO_DEFAULT

COULD_NOT_CHANGE_ADDRESS

public static final java.lang.String COULD_NOT_CHANGE_ADDRESS
Constructor Detail

Constants

public Constants()
Method Detail

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()
Return a reference to this component's resource bundle

Returns:
the resource bundle

getStringResource

public static java.lang.String getStringResource(java.lang.String pResourceId)
                                          throws java.util.MissingResourceException
Acquire a string value from the resource bundle

Parameters:
pResourceId - the id of the string value to acquire
Returns:
the string value
Throws:
java.util.MissingResourceException

getStringResource

public static java.lang.String getStringResource(java.lang.String pResourceId,
                                                 java.util.Locale pLocale)
                                          throws java.util.MissingResourceException
Acquire a string value from the resource bundle based on the specified locale

Parameters:
pResourceId - the id of the string value to acquire
pLocale - the locale to use
Returns:
the string value
Throws:
java.util.MissingResourceException

getStringResource

public static java.lang.String getStringResource(java.lang.String pResourceId,
                                                 java.util.ResourceBundle pResourceBundle)
                                          throws java.util.MissingResourceException
Acquire a string value from a specific resource bundle

Parameters:
pResourceId - the id of the string value to acquire
pResourceBundle - the resource bundle to use
Returns:
the string value
Throws:
java.util.MissingResourceException