|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.repository.search.testing.SearchTestingEnvironment
public class SearchTestingEnvironment
This interface provide methods to gain information of the environment.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
SearchTestingEnvironment()
|
Method Summary | |
---|---|
java.lang.String[] |
getAvailableLocaleNames()
Getter for availableLocaleNames property |
java.util.List<java.util.Locale> |
getAvailableLocales()
Method to get the list of java Locale object that are valid indexes for this environment. |
java.lang.String |
getDisplayName()
Gets the display name if set in the properties file |
java.lang.String |
getDisplayNameResourceKey()
Gets the resouce key to find the display name |
atg.core.i18n.MultiBundleFormatter |
getFormatter()
Gets the MultiBundleFormatter service to lookup resource strings |
java.lang.String |
getLocalisedDisplayName(java.util.Locale pLocale)
Gets the display name for the environment as looked up by the bundle formatter and resource key If these are not specified in the properties file then the mDisplayName property string will be returned |
java.lang.String |
getSearchEnvironmentName()
Gets the search environment name known to search routing |
void |
setAvailableLocaleNames(java.lang.String[] pAvailableLocaleNames)
Setter for availableLocaleNames property |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the display name |
void |
setDisplayNameResourceKey(java.lang.String pDisplayNameResourceKey)
Sets the display name resource key |
void |
setFormatter(atg.core.i18n.MultiBundleFormatter pFormatter)
Sets the MultiBundleFormatter service to lookup resource strings |
void |
setSearchEnvironmentName(java.lang.String pSearchEnvironmentName)
Sets the search environment name known to search routing |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public SearchTestingEnvironment()
Method Detail |
---|
public atg.core.i18n.MultiBundleFormatter getFormatter()
public void setFormatter(atg.core.i18n.MultiBundleFormatter pFormatter)
pSearchEnvironmentResourcePrefix
- location of the resource keypublic java.lang.String getLocalisedDisplayName(java.util.Locale pLocale)
public java.lang.String getSearchEnvironmentName()
public void setSearchEnvironmentName(java.lang.String pSearchEnvironmentName)
pSearchEnvironmentName
- public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String pDisplayName)
pDisplayName
- public java.lang.String getDisplayNameResourceKey()
public void setDisplayNameResourceKey(java.lang.String pDisplayNameResourceKey)
pDisplayNameResourceKey
- public java.lang.String[] getAvailableLocaleNames()
public void setAvailableLocaleNames(java.lang.String[] pAvailableLocaleNames)
pAvailableLocaleNames
- Array of String available locale namespublic java.util.List<java.util.Locale> getAvailableLocales()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |