public class ReturnUserMessage
extends java.lang.Object
Constructor and Description |
---|
ReturnUserMessage() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.lang.String pKey,
java.util.Locale pLocale)
Return a String message specific for the given locale
|
static java.lang.String |
format(java.lang.String pKey,
java.lang.Object[] pParams,
java.util.Locale pLocale)
Format a set of parameters into a message for a given locale
|
static java.lang.String |
format(java.lang.String pKey,
java.lang.Object pParam,
java.util.Locale pLocale)
Format a single parameter into a message for a given locale
|
static java.text.MessageFormat |
getFormat(java.lang.String pKey,
java.util.Locale pLocale)
Return a MessageFormat from the resource bundle, for the given locale
|
static java.util.ResourceBundle |
getResourceBundle(java.util.Locale pLocale)
Returns a ResourceBundle specific for the given locale
|
static java.lang.String |
getString(java.lang.String pKey,
java.util.Locale pLocale)
Return a String message specific for the given locale
|
public static java.lang.String CLASS_VERSION
public static java.lang.String RESOURCE_BUNDLE
public static final java.lang.String MSG_NO_ORDER_ID
public static final java.lang.String MSG_ERROR_STORE_CREDIT_NOT_CREATED
public static final java.lang.String MSG_NO_RECIPIENT
public static final java.lang.String MSG_MISSING_COMPONENT
public static final java.lang.String MSG_NO_RETURN_REQUEST
public static final java.lang.String MSG_NO_REPLACEMENT_ORDER
public static final java.lang.String MSG_NO_REPLACEMENT_ORDER_PRICE_INFO
public static final java.lang.String MSG_UNABLE_TO_LOAD_RETURN_REQUESTS
public static final java.lang.String MSG_ERROR_WHILE_COPYING_PAYMENT_GROUPS
public static final java.lang.String MSG_ERROR_STORE_CREDIT_NOT_FOUND
public static final java.lang.String MSG_ERROR_STORE_CREDIT_OWNER_PROP_NOT_FOUND
public static final java.lang.String MSG_ERROR_WHILE_UPDATING_STORE_CREDIT
public static final java.lang.String MSG_ERROR_WHILE_ADJUSTING_PAYMENT
public static final java.lang.String MSG_ERROR_WHILE_UPDATING_STORE_CREDIT_AMOUNT
public static final java.lang.String MSG_ERROR_PRICING_WORKING_ORDER
public static final java.lang.String MSG_ERROR_RCOITEM_NOTFOUND
public static final java.lang.String MSG_ERROR_RCOSHIPPINGGROUP_NOTFOUND
public static final java.lang.String MSG_ERROR_AMT_REMAINING_REFUND_METHOD_NOTFOUND
public static final java.lang.String MSG_ERROR_AMT_REMAINING_STORE_CREDIT_REFUND_METHOD_NOTFOUND
public static final java.lang.String MSG_ERROR_GENERATING_REPLACEMENT_ORDER
public static final java.lang.String MSG_PIPELINE_ERROR_PREPARING_EXCHANGE_ORDER
public static final java.lang.String MSG_PIPELINE_ERROR_CREATING_RETURNREQUEST
public static final java.lang.String MSG_PIPELINE_ERROR_SETTLING_RETURN
public static final java.lang.String MSG_PIPELINE_ERROR_RECEIVING_MERCHANDISE
public static final java.lang.String MSG_PIPELINE_ERROR_CONFIRMING_RETURN
public static final java.lang.String MSG_PIPELINE_ERROR_CALCULATING_REFUND
public static final java.lang.String MSG_PIPELINE_ERROR_APPLYING_REFUND_ALLOCATIONS
public static final java.lang.String MSG_PIPELINE_ERROR_APPLYING_SELECTED_ITEMS
public static final java.lang.String MSG_PIPELINE_ERROR_SUBMITTING_REPLACEMENT_ORDER
public static java.lang.String format(java.lang.String pKey, java.lang.Object pParam, java.util.Locale pLocale)
pKey
- the identifier for the message to retrieve out of the ResourceBundlepParam
- a single parameter to use in formattingpLocale
- the locale of the userpublic static java.lang.String format(java.lang.String pKey, java.util.Locale pLocale)
pKey
- the identifier for the message to retrieve out of the ResourceBundlepLocale
- the locale of the userpublic static java.lang.String format(java.lang.String pKey, java.lang.Object[] pParams, java.util.Locale pLocale)
pKey
- the identifier for the message to retrieve out of the ResourceBundlepParams
- a set of parameters to use in the formattingpLocale
- the locale of the userpublic static java.text.MessageFormat getFormat(java.lang.String pKey, java.util.Locale pLocale)
pKey
- the identifier for the message to retrieve out of the ResourceBundlepLocale
- the locale of the userpublic static java.util.ResourceBundle getResourceBundle(java.util.Locale pLocale) throws java.util.MissingResourceException
pLocale
- the locale of the userjava.util.MissingResourceException
public static java.lang.String getString(java.lang.String pKey, java.util.Locale pLocale)
pKey
- the identifier for the message to retrieve out of the ResourceBundlepLocale
- the locale of the user