|
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<SearchResultRecords> com.esri.gpt.catalog.search.SearchResult
public class SearchResult
The Class SearchResult. Represents a a result from a search. methods also summarise the records contained within.
Constructor Summary | |
---|---|
SearchResult()
|
Method Summary | |
---|---|
void |
clear()
Clear/Reset all instance variables. |
Envelope |
getCurrentEnvelopeInView()
Gets the current envelope in view. |
String |
getCurrentMetadataXmlInView()
Gets the current metadata xml requested for view. |
Envelope |
getEnclosingEnvelope()
Gets the enclosing envelope. |
SearchResultRecords |
getRecords()
Returns records. |
String |
getRecordsAsJSON()
Gets the record as JSON. |
int |
getRecordSize()
Gets the record size. |
double |
getSearchTimeInSeconds()
Gets the search time in seconds. |
boolean |
isSupportsContentTypeQuery()
Checks if is supports content type query. |
boolean |
isSupportsSpatialDisplay()
Checks if is supports spatial display. |
void |
setCurrentEnvelopeInView(Envelope currentEnvelopeInView)
Sets the current envelope in view. |
void |
setCurrentMetadataXmlInView(String currentMetadataInView)
Sets the current metadata xml requested view. |
void |
setPageCursor(PageCursor cursor)
Sets the page cursor. |
void |
setSearchTimeInSeconds(double searchTimeInSeconds)
Sets the search time in seconds. |
void |
setSupportsContentTypeQuery(boolean supportsContentTypeQuery)
Sets the supports content type query. |
void |
setSupportsSpatialDisplay(boolean supportsSpatialDisplay)
Sets the supports spatial display. |
Methods inherited from class com.esri.gpt.framework.request.QueryResult |
---|
getHasRecords, getMaxQueryHits, getPageCursor, reset, setMaxQueryHits, setRecords |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResult()
Method Detail |
---|
public String getCurrentMetadataXmlInView()
public void setCurrentMetadataXmlInView(String currentMetadataInView)
currentMetadataInView
- the new current metadata xml in viewpublic Envelope getCurrentEnvelopeInView()
public void setCurrentEnvelopeInView(Envelope currentEnvelopeInView)
currentEnvelopeInView
- the new current envelope in viewpublic Envelope getEnclosingEnvelope()
public double getSearchTimeInSeconds()
public void setSearchTimeInSeconds(double searchTimeInSeconds)
searchTimeInSeconds
- the new search time in secondspublic boolean isSupportsContentTypeQuery()
public void setSupportsContentTypeQuery(boolean supportsContentTypeQuery)
supportsContentTypeQuery
- the new supports content type querypublic boolean isSupportsSpatialDisplay()
public void setSupportsSpatialDisplay(boolean supportsSpatialDisplay)
supportsSpatialDisplay
- the new supports spatial displaypublic SearchResultRecords getRecords()
getRecords
in class QueryResult<SearchResultRecords>
QueryResult.getRecords()
public int getRecordSize()
public void setPageCursor(PageCursor cursor)
setPageCursor
in class QueryResult<SearchResultRecords>
cursor
- the cursorQueryResult.setPageCursor(com.esri.gpt.framework.request.PageCursor)
public String getRecordsAsJSON()
public void clear()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |