public class SearchTestingEnvironment extends GenericService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SearchTestingEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
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
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic 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()