public class SearchAdjustmentsConfig extends QueryConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ID |
static java.lang.String |
HANDLER_FUNCTION |
id
CLASS_PROPERTY, VIEWKEY_PROPERTY
Constructor and Description |
---|
SearchAdjustmentsConfig()
Constructor.
|
SearchAdjustmentsConfig(java.lang.String id)
Instantiate the search adjustments with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
void |
applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.types.Request query,
java.lang.String stateName)
Apply this function to a Request.
|
java.lang.String |
toString()
This class' toString is abstract: all concrete subclasses are expected to provide an implementation. toString is used in comparing
QueryFunction instances for equality, so if you implement a QueryFunction subclass it is important that your toString implementation be
consistent and deterministic.
|
getId, setId
applyToDiscoveryServiceQuery, beforeQueryStateAdd, beforeQueryStateRemove, clone, equals, equals, getCompareString, getName, getStateNameOverride, getVersion, getViewKey, hashCode, initializeFromJSON, isInvalid, setInvalid, setName, setStateNameOverride, setVersion, setViewKey, upgrade
public static final java.lang.String DEFAULT_ID
public static final java.lang.String HANDLER_FUNCTION
public SearchAdjustmentsConfig()
public SearchAdjustmentsConfig(java.lang.String id)
id
- public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.types.Request query, java.lang.String stateName) throws QueryFunctionUnsupportedException
QueryFunction
applyToDiscoveryServiceQuery
in class QueryFunction
query
- the CS Request to which this function should be appliedstateName
- stateName to use for filters or content element configsQueryFunctionUnsupportedException
public java.lang.String toString()
QueryFunction
toString
in class QueryFunction
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.