com.endeca.portal.data.functions
Class RecordDetailsConfig
java.lang.Object
com.endeca.portal.data.functions.QueryFunction
com.endeca.portal.data.functions.QueryConfig
com.endeca.portal.data.functions.RecordDetailsConfig
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RecordDetailsConfig
- extends QueryConfig
Filter your MDEX query by a set of record specs.
Equivalent to Conversation Service RecordDetails[Config]
- See Also:
- Serialized Form
Fields inherited from class com.endeca.portal.data.functions.QueryConfig |
id |
Method Summary |
void |
applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
Apply this function to a Request. |
java.lang.String[] |
getColumns()
|
java.util.List<RecordSpec> |
getRecordSpecs()
|
void |
setColumns(java.lang.String[] columns)
|
void |
setRecordSpecs(java.util.List<RecordSpec> recordSpecs)
|
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_ID
public static final java.lang.String DEFAULT_ID
- See Also:
- Constant Field Values
HANDLER_FUNCTION
public static final java.lang.String HANDLER_FUNCTION
- See Also:
- Constant Field Values
mapper
public static final org.codehaus.jackson.map.ObjectMapper mapper
RecordDetailsConfig
public RecordDetailsConfig()
RecordDetailsConfig
public RecordDetailsConfig(java.util.List<RecordSpec> recordSpecs)
getRecordSpecs
public java.util.List<RecordSpec> getRecordSpecs()
setRecordSpecs
public void setRecordSpecs(java.util.List<RecordSpec> recordSpecs)
getColumns
public java.lang.String[] getColumns()
setColumns
public void setColumns(java.lang.String[] columns)
applyToDiscoveryServiceQuery
public void applyToDiscoveryServiceQuery(com.endeca.mdex.conversation.Request query)
throws QueryFunctionUnsupportedException
- Description copied from class:
QueryFunction
- Apply this function to a Request. Must be implemented by subclass.
- Specified by:
applyToDiscoveryServiceQuery
in class QueryFunction
- Throws:
QueryFunctionUnsupportedException
toString
public java.lang.String toString()
- Description copied from class:
QueryFunction
- 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.
- Specified by:
toString
in class QueryFunction