|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evdb.javaapi.data.request.SearchRequest
public abstract class SearchRequest
Simple Search Request Object. Perform searches using one of the class-spectific search request objects
| Nested Class Summary | |
|---|---|
static class |
SearchRequest.SortDirection
Types of Sort Direction |
| Constructor Summary | |
|---|---|
SearchRequest()
|
|
| Method Summary | |
|---|---|
int |
getConnectionTimeOut()
Get the connection timeout |
java.lang.String |
getKeywords()
Return search phrase |
java.lang.String |
getLocation()
Get the search location |
int |
getLocationRadius()
Get the location radius |
java.lang.String |
getLocationUnits()
Get the location units |
int |
getPageNumber()
Page number of search results |
int |
getPageSize()
Page size, default is 10 |
int |
getReadTimeOut()
Get the read timeout |
SearchRequest.SortDirection |
getSortDirection()
Sort direction |
abstract java.lang.String |
getSortOrder()
|
void |
setConnectionTimeout(int timeout)
Set the connection timeout (for users of Google App Engine that need to change the default of 5 seconds) Non Google App Engine users should not need to set this. |
void |
setKeywords(java.lang.String keywords)
Set the search phrase |
void |
setLocation(java.lang.String location)
Set the location. |
void |
setLocationRadius(int locationRadius)
Set the location radius |
void |
setLocationUnits(java.lang.String locationUnits)
Set the location units. |
void |
setPageNumber(int pageNumber)
Set the page number of search results to return. |
void |
setPageSize(int pageSize)
Number of items displayed on a page of search results. |
void |
setReadTimeout(int timeout)
Set the read timeout (for users of Google App Engine that need to change the default of 5 seconds) Non Google App Engine users should not need to set this. |
void |
setSortDirection(SearchRequest.SortDirection sortDirection)
Set sort direction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchRequest()
| Method Detail |
|---|
public abstract java.lang.String getSortOrder()
public java.lang.String getKeywords()
public void setKeywords(java.lang.String keywords)
keywords - the keywords to setpublic java.lang.String getLocation()
public int getConnectionTimeOut()
public int getReadTimeOut()
public void setConnectionTimeout(int timeout)
timeout - the connectTimeOut to set (in ms) (0 is the defualt which disables the timeout)public void setReadTimeout(int timeout)
timeout - the readTimeOut to set (in ms) (0 is the defualt which disables the timeout)public void setLocation(java.lang.String location)
location - the location to setpublic int getLocationRadius()
public void setLocationRadius(int locationRadius)
locationRadius - the locationRadius to setpublic java.lang.String getLocationUnits()
public void setLocationUnits(java.lang.String locationUnits)
locationUnits - the locationUnits to setpublic int getPageNumber()
public void setPageNumber(int pageNumber)
pageNumber - the pageNumber to setpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize - the pageSize to setpublic SearchRequest.SortDirection getSortDirection()
public void setSortDirection(SearchRequest.SortDirection sortDirection)
sortDirection - the sortDirection to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||