Esri Geoportal Server
1.0

com.esri.gpt.control.rest.search
Class SearchContext

java.lang.Object
  extended by com.esri.gpt.control.rest.search.SearchContext

public class SearchContext
extends Object

Search context.


Constructor Summary
SearchContext()
           
 
Method Summary
 HttpServletRequest getHttpRequest()
          Gets the HTTP request.
 int getMaxSearchTime()
          Gets the max search time.
 MessageBroker getMessageBroker()
          Gets the message broker.
 RequestContext getRequestContext()
          Gets the request context.
 RestQuery getRestQuery()
          Gets the rest query.
 StringSet getRIDs()
          Gets the RIDs.
 SearchCriteria getSearchCriteria()
          Gets the search criteria.
 void setHttpRequest(HttpServletRequest httpRequest)
          Sets the HTTP request.
 void setMaxSearchTime(int maxTime)
          Sets the max search time.
 void setMessageBroker(MessageBroker messageBroker)
          Sets the message broker.
 void setRequestContext(RequestContext requestContext)
          Sets the request context.
 void setRestQuery(RestQuery restQuery)
          Sets the rest query.
 void setRIDs(StringSet rids)
          Sets the RIDs.
 void setSearchCriteria(SearchCriteria searchCriteria)
          Sets the search criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchContext

public SearchContext()
Method Detail

getHttpRequest

public HttpServletRequest getHttpRequest()
Gets the HTTP request.

Returns:
the HTTP request

setHttpRequest

public void setHttpRequest(HttpServletRequest httpRequest)
Sets the HTTP request.

Parameters:
httpRequest - the HTTP request

getMaxSearchTime

public int getMaxSearchTime()
Gets the max search time.

Returns:
the max time

setMaxSearchTime

public void setMaxSearchTime(int maxTime)
Sets the max search time.

Parameters:
maxTime - the new max time

getMessageBroker

public MessageBroker getMessageBroker()
Gets the message broker.

Returns:
the message broker

setMessageBroker

public void setMessageBroker(MessageBroker messageBroker)
Sets the message broker.

Parameters:
messageBroker - the message broker

getRequestContext

public RequestContext getRequestContext()
Gets the request context.

Returns:
the request context

setRequestContext

public void setRequestContext(RequestContext requestContext)
Sets the request context.

Parameters:
requestContext - the new request context

getRestQuery

public RestQuery getRestQuery()
Gets the rest query.

Returns:
the rest query

setRestQuery

public void setRestQuery(RestQuery restQuery)
Sets the rest query.

Parameters:
restQuery - the rest query

getRIDs

public StringSet getRIDs()
Gets the RIDs.

Returns:
the RIDs

setRIDs

public void setRIDs(StringSet rids)
Sets the RIDs.

Parameters:
rids - the RIDs

getSearchCriteria

public SearchCriteria getSearchCriteria()
Gets the search criteria.

Returns:
the search criteria

setSearchCriteria

public void setSearchCriteria(SearchCriteria searchCriteria)
Sets the search criteria.

Parameters:
searchCriteria - the search criteria

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.