public class RankConfigItem
extends atg.nucleus.logging.LoggingSupport
implements atg.search.adapter.customization.CustomizationItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
DEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
RankConfigItem(RankConfigAdapter pRankConfigAdapter,
java.lang.String pId,
java.lang.String pDisplayName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
atg.search.adapter.loader.AcquireSessionStatus |
acquireCustomizations(atg.search.adapter.loader.AcquireSession pSession)
Acquire customizations.
|
atg.search.adapter.customization.CustomizationType |
getCustomizationType()
Returns CustomizationType.RANK_CONFIG
|
java.lang.String |
getDisplayName()
Returns a display name for this item.
|
java.lang.String |
getId()
Returns the repository id of this search configuration
repository item the XML in this instance presents.
|
RankConfigAdapter |
getRankConfigAdapter() |
long |
getTimestamp()
Search configuration doesn't support a timestamp
so this method return 0.
|
java.lang.String |
getXmlAsString()
Call the
SearchConfigurationXMLGenerator to get the XML
for this search configuration item. |
void |
setRankConfigAdapter(RankConfigAdapter pRankConfigAdapter) |
getLogger, getLoggingForVlogging, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, setLogger, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
public RankConfigItem(RankConfigAdapter pRankConfigAdapter, java.lang.String pId, java.lang.String pDisplayName)
pRankConfigAdapter - RankConfigAdapterpId - repository item idpublic RankConfigAdapter getRankConfigAdapter()
public void setRankConfigAdapter(RankConfigAdapter pRankConfigAdapter)
public java.lang.String getId()
getId in interface atg.search.adapter.customization.CustomizationItempublic java.lang.String getDisplayName()
getDisplayName in interface atg.search.adapter.customization.CustomizationItempublic atg.search.adapter.customization.CustomizationType getCustomizationType()
getCustomizationType in interface atg.search.adapter.customization.CustomizationItempublic atg.search.adapter.loader.AcquireSessionStatus acquireCustomizations(atg.search.adapter.loader.AcquireSession pSession)
throws atg.search.adapter.exception.AdapterException
acquireCustomizations in interface atg.search.adapter.customization.CustomizationItempSession - the session for the customization acquisition.atg.search.adapter.exception.AdapterExceptionpublic long getTimestamp()
getTimestamp in interface atg.search.adapter.customization.CustomizationItempublic java.lang.String getXmlAsString()
throws java.io.IOException
SearchConfigurationXMLGenerator to get the XML
for this search configuration item.java.io.IOException