|
|||||||||
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 |
protected atg.search.multisite.SiteIndexInfoService |
mSiteIndexInfoService
Property siteManager |
protected atg.multisite.SiteManager |
mSiteManager
Property siteManager |
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. |
java.util.List<java.util.Locale> |
getAvailableLocales(java.lang.String pContentLabel,
java.lang.String pTargetType)
Returns the list of locales available for content label and target type. |
RepositoryItem[] |
getAvailableSites(java.lang.String pContentLabel,
java.lang.String pTargetType)
|
java.lang.String |
getDefaultContentLabel()
|
SearchTestingEnvironment |
getDefaultSearchEnvironment()
Gets the default search environment to use for testing |
java.lang.String |
getDefaultTargetType()
|
protected java.util.List<java.util.Locale> |
getIndexedLocales(atg.repository.search.routing.beans.SearchEnvironment pEnvironment)
|
atg.search.routing.RoutingSystemService |
getRoutingSystemService()
Get RoutingSystemService |
SearchTestingEnvironment[] |
getSearchEnvironments()
Gets the SearchTestingEnvironments list of search environments available to merchandiser |
atg.search.multisite.SiteIndexInfoService |
getSiteIndexInfoService()
The SiteIndexInfoService component that will be used to do the actual assocation lookup. |
atg.multisite.SiteManager |
getSiteManager()
Return property siteManager |
java.lang.String[] |
getSortByPropertyNames()
Getter method for the mSortByPropertyNames property containing the array of indexed property name strings available for sorting search results |
java.lang.String |
getTestingEnvironmentName(java.lang.String pContentLabel,
java.lang.String pTargetType)
Returns name of the logical partition with content for the given content label, for the given target type |
void |
setAvailableLocaleNames(java.lang.String[] pAvailableLocaleNames)
Setter for availableLocaleNames property |
void |
setDefaultContentLabel(java.lang.String pDefaultContentLabel)
|
void |
setDefaultSearchEnvironment(SearchTestingEnvironment pDefaultSearchEnvironment)
Sets the default search environment to use for testing |
void |
setDefaultTargetType(java.lang.String pDefaultTargetType)
|
void |
setRoutingSystemService(atg.search.routing.RoutingSystemService pRoutingSystemService)
Set RoutingSystemService |
void |
setSearchEnvironments(SearchTestingEnvironment[] pSearchEnvironments)
Sets the SearchTestingEnvironments list of search environments available to merchandiser |
void |
setSiteIndexInfoService(atg.search.multisite.SiteIndexInfoService pService)
The SiteIndexInfoService component that will be used to do the actual assocation lookup. |
void |
setSiteManager(atg.multisite.SiteManager pSiteManager)
Set property siteManager |
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
protected atg.multisite.SiteManager mSiteManager
protected atg.search.multisite.SiteIndexInfoService mSiteIndexInfoService
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 java.lang.String getDefaultContentLabel()
public void setDefaultContentLabel(java.lang.String pDefaultContentLabel)
public java.lang.String getDefaultTargetType()
public void setDefaultTargetType(java.lang.String pDefaultTargetType)
public 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 atg.multisite.SiteManager getSiteManager()
public void setSiteManager(atg.multisite.SiteManager pSiteManager)
pSiteManager
- SiteManagerpublic void setSiteIndexInfoService(atg.search.multisite.SiteIndexInfoService pService)
pService
- the index info servicepublic atg.search.multisite.SiteIndexInfoService getSiteIndexInfoService()
public java.util.List<java.util.Locale> getAvailableLocales()
public RepositoryItem[] getAvailableSites(java.lang.String pContentLabel, java.lang.String pTargetType)
public java.util.List<java.util.Locale> getAvailableLocales(SearchTestingEnvironment pEnvironment)
pEnvironment
- SearchTestingEnvironment to check.
public java.util.List<java.util.Locale> getAvailableLocales(java.lang.String pContentLabel, java.lang.String pTargetType)
public java.lang.String getTestingEnvironmentName(java.lang.String pContentLabel, java.lang.String pTargetType)
contentLabel
- the content labeltargetType
- the target type of the environment
protected java.util.List<java.util.Locale> getIndexedLocales(atg.repository.search.routing.beans.SearchEnvironment pEnvironment) throws atg.search.routing.RoutingInspectException
atg.search.routing.RoutingInspectException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |