|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.data.functions.QueryFunction
com.endeca.portal.data.functions.QueryConfig
com.endeca.portal.data.functions.SearchAdjustmentsConfig
public class SearchAdjustmentsConfig
Configure how search adjustments will be returned on the QueryState's executed results. This config only works on discovery service data sources, and resolves to a no-op on ENE presentation API data sources.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ID
|
static java.lang.String |
HANDLER_FUNCTION
|
| Fields inherited from class com.endeca.portal.data.functions.QueryConfig |
|---|
id |
| Fields inherited from class com.endeca.portal.data.functions.QueryFunction |
|---|
CLASS_PROPERTY |
| Constructor Summary | |
|---|---|
SearchAdjustmentsConfig()
Constructor. |
|
SearchAdjustmentsConfig(java.lang.String id)
Instantiate the search adjustments with the specified ID. |
|
| Method Summary | |
|---|---|
void |
applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
Apply this function to a Request. |
java.util.List<java.lang.reflect.Method> |
getGetters()
Return the list of property getters on this function. |
java.util.List<java.lang.reflect.Method> |
getSetters()
Return the list of property setters on this function. |
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. |
| Methods inherited from class com.endeca.portal.data.functions.QueryConfig |
|---|
getId, setId |
| Methods inherited from class com.endeca.portal.data.functions.QueryFunction |
|---|
clone, equals, equals, getInstance, getInstance, getName, hashCode, init, setName, toJSON |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ID
public static final java.lang.String HANDLER_FUNCTION
| Constructor Detail |
|---|
public SearchAdjustmentsConfig()
public SearchAdjustmentsConfig(java.lang.String id)
id - | Method Detail |
|---|
public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
throws QueryFunctionUnsupportedException
QueryFunction
applyToDiscoveryServiceQuery in class QueryFunctionQueryFunctionUnsupportedExceptionpublic java.util.List<java.lang.reflect.Method> getGetters()
QueryFunction
private static List getters = Reflection.getGetters(MyFunctionClass.class);
\@Override
public List getGetters() {
return getters;
}
getGetters in class QueryFunctionpublic java.util.List<java.lang.reflect.Method> getSetters()
QueryFunction
private static List setters = Reflection.getSetters(MyFunctionClass.class);
\@Override
public List getSetters() {
return setters;
}
getSetters in class QueryFunctionpublic java.lang.String toString()
QueryFunction
toString in class QueryFunction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||