|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.request.Result com.esri.gpt.framework.request.QueryResult<RT>
public class QueryResult<RT extends Records<? extends Record>>
Represents the result associated with a query.
generic: RT represents the records type
Constructor Summary | |
---|---|
QueryResult()
Default constructor. |
|
QueryResult(RT records)
Constructs with a supplied result record collection. |
Method Summary | |
---|---|
boolean |
getHasRecords()
Determines if the result has records. |
int |
getMaxQueryHits()
Gets the max query hits. |
PageCursor |
getPageCursor()
Gets the UI page cursor. |
RT |
getRecords()
Gets the records associated with the result. |
void |
reset()
Resets the result. |
void |
setMaxQueryHits(int maxQueryHits)
Sets the max query hits. |
protected void |
setPageCursor(PageCursor cursor)
Sets the UI page cursor. |
void |
setRecords(RT records)
Sets the records associated with the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryResult()
public QueryResult(RT records)
records
- the recordsMethod Detail |
---|
public int getMaxQueryHits()
public void setMaxQueryHits(int maxQueryHits)
maxQueryHits
- the new max query hitspublic boolean getHasRecords()
public PageCursor getPageCursor()
protected void setPageCursor(PageCursor cursor)
cursor
- the page cursorpublic RT getRecords()
public void setRecords(RT records)
records
- the recordspublic void reset()
reset
in class Result
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |