|
|||||||||
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.SearchTestingService
public class SearchTestingService
This service provide methods for the search testing feature. It provides the list of search environments available for testing and also the sort by properties that have been configured.
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 | |
---|---|
SearchTestingService()
|
Method Summary | |
---|---|
java.lang.String[] |
getAvailableLocaleNames()
Getter for availableLocaleNames property |
java.util.List<java.util.Locale> |
getAvailableLocales()
Method to get the global list of java Locale object that are deemed valid. |
java.util.List<java.util.Locale> |
getAvailableLocales(SearchTestingEnvironment pEnvironment)
Returns the list of locales available for a given search environment. |
SearchTestingEnvironment |
getDefaultSearchEnvironment()
Gets the default search environment to use for testing |
atg.search.routing.RoutingSystemService |
getRoutingSystemService()
Get RoutingSystemService |
SearchTestingEnvironment[] |
getSearchEnvironments()
Gets the SearchTestingEnvironments list of search environments available to merchandiser |
java.lang.String[] |
getSortByPropertyNames()
Getter method for the mSortByPropertyNames property containing the array of indexed property name strings available for sorting search results |
void |
setAvailableLocaleNames(java.lang.String[] pAvailableLocaleNames)
Setter for availableLocaleNames property |
void |
setDefaultSearchEnvironment(SearchTestingEnvironment pDefaultSearchEnvironment)
Sets the default search environment to use for testing |
void |
setRoutingSystemService(atg.search.routing.RoutingSystemService pRoutingSystemService)
Set RoutingSystemService |
void |
setSearchEnvironments(SearchTestingEnvironment[] pSearchEnvironments)
Sets the SearchTestingEnvironments list of search environments available to merchandiser |
void |
setSortByPropertyNames(java.lang.String[] pSortByPropertyNames)
Sets the array of indexed property name strings available for sorting search results |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 SearchTestingService()
Method Detail |
---|
public atg.search.routing.RoutingSystemService getRoutingSystemService()
public void setRoutingSystemService(atg.search.routing.RoutingSystemService pRoutingSystemService)
pRoutingSystemService
- RoutingSystemServicepublic SearchTestingEnvironment[] getSearchEnvironments()
public void setSearchEnvironments(SearchTestingEnvironment[] pSearchEnvironments)
pSearchEnvironments
- list componentspublic SearchTestingEnvironment getDefaultSearchEnvironment()
public void setDefaultSearchEnvironment(SearchTestingEnvironment pDefaultSearchEnvironment)
pDefaultSearchEnvironment
- SearchTestingEnvironment default search environment to usepublic java.lang.String[] getSortByPropertyNames()
public void setSortByPropertyNames(java.lang.String[] pSortByPropertyNames)
pSortByPropertyNames
- Array of String indexed property namespublic 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()
public java.util.List<java.util.Locale> getAvailableLocales(SearchTestingEnvironment pEnvironment)
pEnvironment
- SearchTestingEnvironment to check.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |