atg.repository.search.refinement
Class UserResourceLookup

java.lang.Object
  extended by atg.repository.search.refinement.UserResourceLookup

public class UserResourceLookup
extends java.lang.Object

This User Resource Constants file is for the atg\search\query\refinement package.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String S_FACET_MANAGER_NOT_SET
           
static java.lang.String S_REFINE_REPOSITORY_NOT_SET
           
static java.lang.String S_RESOURCE_NAME
          Resource name
static java.lang.String S_SEARCH_FACET_DISPLAY_NAME
           
static java.lang.String S_UNEXPECTED_ERROR
           
static java.util.ResourceBundle sResourceBundle
          Resource bundle
 
Constructor Summary
UserResourceLookup()
           
 
Method Summary
static java.lang.String getResource(java.lang.String pKey)
          Method to get a resource string for a given key using this classes resource bundle.
static java.lang.String getResource(java.lang.String pKey, java.lang.Object[] pArgs)
          Method to get a MessageFormat formatted resource string for a given key using this classes 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


S_RESOURCE_NAME

public static final java.lang.String S_RESOURCE_NAME
Resource name

See Also:
Constant Field Values

sResourceBundle

public static java.util.ResourceBundle sResourceBundle
Resource bundle


S_UNEXPECTED_ERROR

public static final java.lang.String S_UNEXPECTED_ERROR
See Also:
Constant Field Values

S_REFINE_REPOSITORY_NOT_SET

public static final java.lang.String S_REFINE_REPOSITORY_NOT_SET
See Also:
Constant Field Values

S_FACET_MANAGER_NOT_SET

public static final java.lang.String S_FACET_MANAGER_NOT_SET
See Also:
Constant Field Values

S_SEARCH_FACET_DISPLAY_NAME

public static final java.lang.String S_SEARCH_FACET_DISPLAY_NAME
See Also:
Constant Field Values
Constructor Detail

UserResourceLookup

public UserResourceLookup()
Method Detail

getResource

public static java.lang.String getResource(java.lang.String pKey)
Method to get a resource string for a given key using this classes resource bundle.

Parameters:
pKey - String key to lookup in the resource bundle
Returns:
String resource text for the given key

getResource

public static java.lang.String getResource(java.lang.String pKey,
                                           java.lang.Object[] pArgs)
Method to get a MessageFormat formatted resource string for a given key using this classes resource bundle.

The supplied args are used to format the resource string using MessageFormat.

Parameters:
pKey - String key to lookup in the resource bundle
pArgs - Array of object arguments to format the resource string.
Returns:
String resource text for the given key