|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.search.adapter.customization.CustomizationDataAdapterImpl
atg.repository.search.indexing.config.RankConfigAdapter
public class RankConfigAdapter
This adapter should be registered with the search engine and will return
RankConfigItem objects for each search configuration
in the refinement repository.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
PATH_SEPARATOR
|
| 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 | |
|---|---|
RankConfigAdapter()
|
|
| Method Summary | |
|---|---|
java.util.List |
enumerateAutoApplyCustomizationItemsByTypeAndProject(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pProjectId)
Returns the ids of the auto-apply customization items for the provided by this adapter for the given customization type and project. |
java.util.List |
enumerateCustomizationItems()
Returns the repository id's for all the search configuration repository items. |
java.util.List |
enumerateCustomizationItemsByType(atg.search.adapter.customization.CustomizationType pCustomizationType)
Returns the repository id's for all the search configuration repository items if the passed type is CustomizationType.RANK_CONFIG. |
java.lang.String |
getApplicationName()
|
atg.search.adapter.customization.CustomizationItem |
getCustomizationItem(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pCustomizationItemId)
If the passed in type isn't CustomizationType.RANK_CONFIG
or a lookup of the repository item for the passed id pCustomizationItemId
isn't found then it throws the exception. |
java.lang.String |
getDisplayName()
Returns the string name for this adapter as defined in the configuration for this adapter, default is "RankConfigAdapter". |
Repository |
getRefinementRepository()
Returns refinement repository. |
SearchConfigurationPropertyManager |
getSearchConfigurationPropertyManager()
|
SearchConfigurationXMLGenerator |
getSearchConfigurationXMLGenerator()
Returns SearchConfigurationXMLGenerator |
java.util.Collection |
getSupportedCustomizationTypes()
Returns a list only containing the CustomizationType.RANK_CONFIG item. |
boolean |
isAutoApplyAll()
Whether to auto-apply all customization items. |
void |
setApplicationName(java.lang.String pApplicationName)
|
void |
setDisplayName(java.lang.String pDisplayName)
Sets name for this adapter. |
void |
setRefinementRepository(Repository pRefinementRepository)
Sets refinement repository. |
void |
setSearchConfigurationPropertyManager(SearchConfigurationPropertyManager pSearchConfigurationPropertyManager)
|
void |
setSearchConfigurationXMLGenerator(SearchConfigurationXMLGenerator pSearchConfigurationXMLGenerator)
Sets SearchConfigurationXMLGenerator |
| 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 |
| Methods inherited from interface atg.naming.NameContextElement |
|---|
getName, getNameContext |
| Methods inherited from interface atg.naming.NameContextBindingListener |
|---|
nameContextElementBound, nameContextElementUnbound |
| Field Detail |
|---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String PATH_SEPARATOR
| Constructor Detail |
|---|
public RankConfigAdapter()
| Method Detail |
|---|
public SearchConfigurationXMLGenerator getSearchConfigurationXMLGenerator()
SearchConfigurationXMLGenerator
public void setSearchConfigurationXMLGenerator(SearchConfigurationXMLGenerator pSearchConfigurationXMLGenerator)
SearchConfigurationXMLGenerator
pSearchConfigurationXMLGenerator - SearchConfigurationXMLGeneratorpublic Repository getRefinementRepository()
public void setRefinementRepository(Repository pRefinementRepository)
pRefinementRepository - refinement repositorypublic java.lang.String getDisplayName()
getDisplayName in interface atg.search.adapter.customization.CustomizationDataAdaptergetDisplayName in class atg.search.adapter.customization.CustomizationDataAdapterImplpublic void setDisplayName(java.lang.String pDisplayName)
pDisplayName - display namepublic java.lang.String getApplicationName()
public void setApplicationName(java.lang.String pApplicationName)
public SearchConfigurationPropertyManager getSearchConfigurationPropertyManager()
public void setSearchConfigurationPropertyManager(SearchConfigurationPropertyManager pSearchConfigurationPropertyManager)
public boolean isAutoApplyAll()
isAutoApplyAll in interface atg.search.adapter.customization.CustomizationDataAdapterisAutoApplyAll in class atg.search.adapter.customization.CustomizationDataAdapterImplpublic java.util.List enumerateCustomizationItems()
enumerateCustomizationItems in interface atg.search.adapter.customization.CustomizationDataAdapterenumerateCustomizationItems in class atg.search.adapter.customization.CustomizationDataAdapterImplpublic java.util.List enumerateCustomizationItemsByType(atg.search.adapter.customization.CustomizationType pCustomizationType)
CustomizationType.RANK_CONFIG.
Otherwise an empty list is returned.
enumerateCustomizationItemsByType in interface atg.search.adapter.customization.CustomizationDataAdapterenumerateCustomizationItemsByType in class atg.search.adapter.customization.CustomizationDataAdapterImplpCustomizationType - customization type
public java.util.List enumerateAutoApplyCustomizationItemsByTypeAndProject(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pProjectId)
throws atg.search.adapter.exception.CustomizationItemNotFoundException
enumerateAutoApplyCustomizationItemsByTypeAndProject in interface atg.search.adapter.customization.CustomizationDataAdapterenumerateAutoApplyCustomizationItemsByTypeAndProject in class atg.search.adapter.customization.CustomizationDataAdapterImplpCustomizationType - The type of the customizationpProjectId - String project name
atg.search.adapter.exception.CustomizationItemNotFoundException
public atg.search.adapter.customization.CustomizationItem getCustomizationItem(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pCustomizationItemId)
throws atg.search.adapter.exception.CustomizationItemNotFoundException
CustomizationType.RANK_CONFIG
or a lookup of the repository item for the passed id pCustomizationItemId
isn't found then it throws the exception. Otherwise it will create
a RankConfigItem for it to return.
getCustomizationItem in interface atg.search.adapter.customization.CustomizationDataAdaptergetCustomizationItem in class atg.search.adapter.customization.CustomizationDataAdapterImplpCustomizationType - customization typepCustomizationItemId - repository item id
atg.search.adapter.exception.CustomizationItemNotFoundException - if repository item isn't foundpublic java.util.Collection getSupportedCustomizationTypes()
getSupportedCustomizationTypes in interface atg.search.adapter.customization.CustomizationDataAdaptergetSupportedCustomizationTypes in class atg.search.adapter.customization.CustomizationDataAdapterImplList only containing the CustomizationType.RANK_CONFIG item.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||