|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.data.QueryResults
public class QueryResults
An API-agnostic wrapper of query results. This class doesn't permit any real interaction with the contained results, except for determining which API version the contained results are compatible with and returning those results.
DataSource
,
QueryState
Constructor Summary | |
---|---|
QueryResults(com.endeca.navigation.ENEQueryResults results)
Construct a QueryResults object with results from the ENE presentation API. |
|
QueryResults(com.endeca.mdex.conversation.Results results)
Construct a QueryResults object with results from the Discovery Service API. |
Method Summary | |
---|---|
com.endeca.mdex.conversation.Results |
getDiscoveryServiceResults()
Get the wrapped discovery service results. |
com.endeca.navigation.ENEQueryResults |
getENEQueryResults()
Get the wrapped ENEQueryResults. |
MDEXState.APIVersion |
getVersion()
Get what APIVersion this data source supports. |
boolean |
isDiscoveryService()
|
boolean |
isENEQuery()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryResults(com.endeca.navigation.ENEQueryResults results)
results
- the results to wrap.public QueryResults(com.endeca.mdex.conversation.Results results)
results
- the results to wrap.Method Detail |
---|
public com.endeca.navigation.ENEQueryResults getENEQueryResults()
public com.endeca.mdex.conversation.Results getDiscoveryServiceResults()
public MDEXState.APIVersion getVersion()
isENEQuery()
or isDiscoveryService()
instead of this method.
public boolean isDiscoveryService()
public boolean isENEQuery()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |