atg.commerce.csr.scenario
Class Constants

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

public class Constants
extends java.lang.Object

This class provides constants for this package


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String COULD_NOT_SEND_MESSAGE
           
static java.lang.String DO_START_SERVICE_EXCEPTION
           
static java.lang.String MESSAGE_HAS_NULL_PROFILE
           
static java.lang.String STARTING_CUSTOMER_SERVICE_MESSAGING
           
 
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 java.lang.String CLASS_VERSION
Class version string


STARTING_CUSTOMER_SERVICE_MESSAGING

public static final java.lang.String STARTING_CUSTOMER_SERVICE_MESSAGING

DO_START_SERVICE_EXCEPTION

public static final java.lang.String DO_START_SERVICE_EXCEPTION

MESSAGE_HAS_NULL_PROFILE

public static final java.lang.String MESSAGE_HAS_NULL_PROFILE

COULD_NOT_SEND_MESSAGE

public static final java.lang.String COULD_NOT_SEND_MESSAGE
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