|
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.control.webharvest.common.CommonCriteria
public class CommonCriteria
Common implementation of criteria.
Constructor Summary | |
---|---|
CommonCriteria()
|
Method Summary | |
---|---|
Envelope |
getBBox()
Gets bounding box. |
ISearchFilterSpatialObj.OptionsBounds |
getBBoxOption()
Gets bounding box option. |
SearchEngineCSW.AimsContentTypes |
getContentType()
Content type. |
String[] |
getDataCategory()
Gets data categories. |
Date |
getFromDate()
Gets update date to search from. |
Integer |
getMaxRecords()
Gets maximum number of records to fetch. |
String |
getSearchText()
Gets search text. |
SearchFilterSort.OptionsSort |
getSortOption()
Gets sort option. |
Date |
getToDate()
Gets update date to search to. |
static CommonCriteria |
parseXmlString(String str)
Parses criteria from XML string. |
void |
setBBox(Envelope bBox)
Sets bounding box. |
void |
setBBoxOption(ISearchFilterSpatialObj.OptionsBounds bBoxOption)
Sets bounding box options. |
void |
setContentType(SearchEngineCSW.AimsContentTypes contentType)
Sets content type. |
void |
setDataCategory(String[] dataCategory)
Sets data category |
void |
setFromDate(Date fromDate)
Sets FROM date. |
void |
setMaxRecords(Integer maxRecords)
Sets maximum records. |
void |
setSearchText(String searchText)
Sets search text. |
void |
setSortOption(SearchFilterSort.OptionsSort sortOption)
Sets sort options. |
void |
setToDate(Date toDate)
Sets TO date |
String |
toString()
|
String |
toXmlString()
Converts criteria into XML string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommonCriteria()
Method Detail |
---|
public Integer getMaxRecords()
Criteria
getMaxRecords
in interface Criteria
null
if no limitpublic void setMaxRecords(Integer maxRecords)
maxRecords
- maximum recordspublic String getSearchText()
Criteria
getSearchText
in interface Criteria
null
or empty string if no search textpublic void setSearchText(String searchText)
searchText
- search textpublic Date getFromDate()
Criteria
getFromDate
in interface Criteria
null
if no datepublic void setFromDate(Date fromDate)
fromDate
- FROM datepublic Date getToDate()
Criteria
getToDate
in interface Criteria
null
if no datepublic void setToDate(Date toDate)
toDate
- TO datepublic Envelope getBBox()
Criteria
getBBox
in interface Criteria
null
if no bounding boxpublic void setBBox(Envelope bBox)
bBox
- bounding boxpublic SearchEngineCSW.AimsContentTypes getContentType()
Criteria
getContentType
in interface Criteria
public void setContentType(SearchEngineCSW.AimsContentTypes contentType)
contentType
- content typepublic String[] getDataCategory()
Criteria
getDataCategory
in interface Criteria
null
if no any data categorypublic void setDataCategory(String[] dataCategory)
dataCategory
- data categorypublic ISearchFilterSpatialObj.OptionsBounds getBBoxOption()
Criteria
getBBoxOption
in interface Criteria
public void setBBoxOption(ISearchFilterSpatialObj.OptionsBounds bBoxOption)
bBoxOption
- bounding box optionspublic SearchFilterSort.OptionsSort getSortOption()
Criteria
getSortOption
in interface Criteria
public void setSortOption(SearchFilterSort.OptionsSort sortOption)
sortOption
- sort options.public String toString()
toString
in class Object
public String toXmlString()
public static CommonCriteria parseXmlString(String str)
str
- criteria as XML string
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |