public class LanguageFilterBuilder extends RecordFilterBuilderImpl
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
EMPTY_FILTER
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
LanguageFilterBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildRecordFilter()
Generates the record filter to filter the query based on language.
|
|
getApplicationConfiguration()
Returns Endeca application configuration component
|
protected java.util.Locale |
getCurrentLocale()
This method can be overridden to use another approach for retrieving current locale.
|
java.lang.String |
getLanguagePropertyName()
Returns the name of the language property in Endeca records.
|
void |
setApplicationConfiguration(
Sets Endeca application configuration component
|
void |
setLanguagePropertyName(java.lang.String pLanguagePropertyName)
Sets the name of the language property in Endeca records.
|
isSecurityFilter, setSecurityFilter
addLogListener, createAdminServlet, doStartService, 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, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
protected static final java.lang.String CLASS_VERSION
public java.lang.String getLanguagePropertyName()
public void setLanguagePropertyName(java.lang.String pLanguagePropertyName)
pLanguagePropertyName
- the languagePropertyName to setpublicgetApplicationConfiguration()
public void setApplicationConfiguration(pApplicationConfiguration)
pApplicationConfiguration
- Endeca application configuration componentpublic java.lang.String buildRecordFilter()
protected java.util.Locale getCurrentLocale()
null
is returned, Configuration.defaultLocale will be used.