|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.mdex.ENEQueryUtil
@Deprecated public class ENEQueryUtil
Helper class containing useful methods to execute on an ENEQuery
| Field Summary | |
|---|---|
static java.util.List<java.lang.String> |
DGIDX_PROPS
Deprecated. list of dgidx-created system properties |
| Constructor Summary | |
|---|---|
ENEQueryUtil()
Deprecated. |
|
| Method Summary | |
|---|---|
static com.endeca.navigation.ENEQuery |
addQueryTracking(com.endeca.navigation.ENEQuery query,
RequestIds requestIds)
Deprecated. instruments a MDEX 6 query by setting an ENEQueryInfo object on the query |
static com.endeca.navigation.ENEQuery |
copyQuery(com.endeca.navigation.ENEQuery previousQuery)
Deprecated. This method takes an ENEQuery object and makes a copy of it. |
static com.endeca.navigation.ENEQueryResults |
execute(MDEXState mdexState,
com.endeca.navigation.ENEQuery query,
RequestIds requestIds)
Deprecated. |
static com.endeca.navigation.ENEQuery |
fromJSONObject(org.json.JSONObject j)
Deprecated. Creates a new ENEQuery object based on the contents of this JSON object. |
static com.endeca.navigation.ENEQuery |
fromJSONString(java.lang.String s)
Deprecated. Creates a new ENEQuery object based on the contents of this JSON packet. |
static int |
hashCode(com.endeca.navigation.ENEQuery query)
Deprecated. Returns a hashcode of the query, used to tersely identify the contents of the query. |
static int |
hashCode(java.lang.String jsonString)
Deprecated. Currently this is just a wrapper of String.hashCode() - this method exists solely so we can override the hashcode implementation if we want to, and to allow calling ENEQueryUtils.hashCode() on a pre-existing jsonString. |
static void |
main(java.lang.String[] args)
Deprecated. |
static com.endeca.navigation.ENEQuery |
tidyNavQuery(com.endeca.navigation.ENEQuery query)
Deprecated. Cleans up and sanitizes a nav query; right now all it does is rewrite the query to include the root if there are otherwise no nav descriptors |
static org.json.JSONObject |
toJSONObject(com.endeca.navigation.ENEQuery query)
Deprecated. Returns a JSONObject containing all pertinent query info |
static java.lang.String |
toJSONString(com.endeca.navigation.ENEQuery query)
Deprecated. Returns a JSON string containing all pertinent query info |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.List<java.lang.String> DGIDX_PROPS
| Constructor Detail |
|---|
public ENEQueryUtil()
| Method Detail |
|---|
public static int hashCode(com.endeca.navigation.ENEQuery query)
throws org.json.JSONException
query - the query to hash
org.json.JSONExceptionpublic static int hashCode(java.lang.String jsonString)
jsonString - the (json) string to hash
public static java.lang.String toJSONString(com.endeca.navigation.ENEQuery query)
throws org.json.JSONException
query - the query to turn into a JSON string
org.json.JSONException
public static org.json.JSONObject toJSONObject(com.endeca.navigation.ENEQuery query)
throws org.json.JSONException
query - the query to turn into a JSON object
org.json.JSONExceptionpublic static com.endeca.navigation.ENEQuery fromJSONString(java.lang.String s)
s - the JSON packet to parse
public static com.endeca.navigation.ENEQuery fromJSONObject(org.json.JSONObject j)
j - the JSON object to parse
public static com.endeca.navigation.ENEQuery tidyNavQuery(com.endeca.navigation.ENEQuery query)
query - the query to tidy up
public static com.endeca.navigation.ENEQuery copyQuery(com.endeca.navigation.ENEQuery previousQuery)
previousQuery -
public static void main(java.lang.String[] args)
throws org.json.JSONException
org.json.JSONException
public static com.endeca.navigation.ENEQueryResults execute(MDEXState mdexState,
com.endeca.navigation.ENEQuery query,
RequestIds requestIds)
throws com.endeca.navigation.ENEQueryException
com.endeca.navigation.ENEQueryException
public static com.endeca.navigation.ENEQuery addQueryTracking(com.endeca.navigation.ENEQuery query,
RequestIds requestIds)
query - the ENEQueryrequestIds - the tracker containing the session, request, etc. tokens
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||