public class RefineConfigAdapter
extends atg.search.adapter.customization.CustomizationDataAdapterImpl
| 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 |
|---|
RefineConfigAdapter()
Constructs an instanceof RefineConfigAdapter
|
| Modifier and Type | Method and Description |
|---|---|
void |
doStartService()
start the service, verify that required properties are set
|
java.util.List |
enumerateAutoApplyCustomizationItemsByTypeAndProject(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pProjectId)
This method will enumerate all refineConfig items that are to be auto-applied.
|
java.util.List |
enumerateCustomizationItems()
return list of refine config ids
|
java.util.List |
enumerateCustomizationItemsByType(atg.search.adapter.customization.CustomizationType pCustomizationType)
If the pCustomizationType parameter matches
CustomizationType.REFINEMENT_CONFIGURATION, then this will
return the same List of refine config ids as the
enumerateCustomizationItems() method above.
|
atg.search.adapter.customization.CustomizationItem |
getCustomizationItem(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pCustomizationItemId)
Checks the pCustomizationType parameter.
|
java.lang.String |
getDisplayName()
get DisplayName
|
RefinementConfigurationGenerator |
getRefinementConfigurationGenerator()
get RefinementConfigurationGenerator
|
java.util.Collection |
getSupportedCustomizationTypes()
get a list of supported customization types
|
boolean |
isAutoApplyAll()
auto apply all should always be true
|
void |
setDisplayName(java.lang.String pDisplayName)
set DisplayName
|
void |
setRefinementConfigurationGenerator(RefinementConfigurationGenerator pRefinementConfigurationGenerator)
set RefinementConfigurationGenerator
|
getDisplayNameResource, getLocalizedDisplayName, getResourceBundleName, setDisplayNameResource, setResourceBundleNameaddLogListener, createAdminServlet, 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, vlogWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNameContextnameContextElementBound, nameContextElementUnboundpublic RefineConfigAdapter()
public void setDisplayName(java.lang.String pDisplayName)
pDisplayName - the DisplayNamepublic java.lang.String getDisplayName()
getDisplayName in interface atg.search.adapter.customization.CustomizationDataAdaptergetDisplayName in class atg.search.adapter.customization.CustomizationDataAdapterImplpublic void setRefinementConfigurationGenerator(RefinementConfigurationGenerator pRefinementConfigurationGenerator)
pRefinementConfigurationGenerator - the RefinementConfigurationGeneratorpublic RefinementConfigurationGenerator getRefinementConfigurationGenerator()
public void doStartService()
throws ServiceException
doStartService in class GenericServiceServiceException - if the Service had a problem starting uppublic 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)
enumerateCustomizationItemsByType in interface atg.search.adapter.customization.CustomizationDataAdapterenumerateCustomizationItemsByType in class atg.search.adapter.customization.CustomizationDataAdapterImplpCustomizationType - the customization type, must be of type
REFINEMENT_CONFIGURATION or else an empty list is returnedpublic 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 customization typepProjectId - the search project idatg.search.adapter.exception.CustomizationItemNotFoundException - if there was an error getting the refine configspublic atg.search.adapter.customization.CustomizationItem getCustomizationItem(atg.search.adapter.customization.CustomizationType pCustomizationType,
java.lang.String pCustomizationItemId)
throws atg.search.adapter.exception.CustomizationItemNotFoundException
getCustomizationItem in interface atg.search.adapter.customization.CustomizationDataAdaptergetCustomizationItem in class atg.search.adapter.customization.CustomizationDataAdapterImplpCustomizationType - the typepCustomizationItemId - the item idCustomizationItemNotFoundExcpetion - if there was an error getting the itematg.search.adapter.exception.CustomizationItemNotFoundExceptionpublic java.util.Collection getSupportedCustomizationTypes()
getSupportedCustomizationTypes in interface atg.search.adapter.customization.CustomizationDataAdaptergetSupportedCustomizationTypes in class atg.search.adapter.customization.CustomizationDataAdapterImplpublic boolean isAutoApplyAll()
isAutoApplyAll in interface atg.search.adapter.customization.CustomizationDataAdapterisAutoApplyAll in class atg.search.adapter.customization.CustomizationDataAdapterImpl