| 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.request.Criteria
com.esri.gpt.framework.request.QueryCriteria
com.esri.gpt.catalog.search.SearchCriteria
public class SearchCriteria
The class SearchCriteria. Class for composition of search criteria.
| Nested Class Summary | |
|---|---|
static class | 
SearchCriteria.OptionSaveLocation
Where to save the search criteria to.  | 
| Constructor Summary | |
|---|---|
SearchCriteria()
Instantiates a new search criteria.  | 
|
SearchCriteria(Document searchCriteriaDom)
Instantiates a new search criteria with values of searchCriteriaDom.  | 
|
SearchCriteria(SearchCriteria criteria)
Instantiates a new search criteria with the values of the criteria param.  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object obj)
Tests equality of object.  | 
 SearchCriteria | 
getClone()
Gets the clone.  | 
 boolean | 
getExpandResultContent()
Gets the flag indicating whether or not result records should be expanded by default.  | 
 SearchFiltersList | 
getMiscelleniousFilters()
Gets the filters that do not have attributes in the search criteria.  | 
protected  Set<ISearchFilter> | 
getNewSearchFilters()
Gets the new search filters.  | 
 String | 
getSavedSearchName()
Gets the saved search name.  | 
 ISearchFilterContentTypes | 
getSearchFilterContentTypes()
Gets the search filter content types.  | 
 ISearchFilterKeyword | 
getSearchFilterKeyword()
Gets the search filter keyword.  | 
 ISearchFilterPagination | 
getSearchFilterPageCursor()
Gets the page cursor filter.  | 
 ISearchFilterSort | 
getSearchFilterSort()
Gets the search filter sort.  | 
 ISearchFilterSpatialObj | 
getSearchFilterSpatial()
Gets the search filter spatial.  | 
 ISearchFilterTemporal | 
getSearchFilterTemporal()
Gets the search filter temporal.  | 
 ISearchFilterThemes | 
getSearchFilterThemes()
Gets the search filter themes.  | 
 ISearchFilterURI | 
getSearchFilterUri()
Gets the search uri Filter.  | 
 URI | 
getSearchUri()
Gets the search uri.  | 
 void | 
loadSearchCriteria(Document criteriaDom)
Load search criteria.  | 
 void | 
reset()
Resets all search filters.  | 
 void | 
resetFilters()
Reset this.  | 
 void | 
setExpandResultContent(boolean expand)
Sets the flag indicating whether or not result records should be expanded by default.  | 
 void | 
setMiscelleniousFilters(SearchFiltersList filterObjectList)
Sets the filter object list.  | 
 void | 
setSavedSearchName(String savedSearchName)
Sets the saved search name.  | 
 void | 
setSearchFilterContentTypes(ISearchFilterContentTypes searchFilterContentTypes)
Sets the search filter content types.  | 
 void | 
setSearchFilterKeyword(ISearchFilterKeyword searchFilterKeyword)
Sets the search filter keyword.  | 
 void | 
setSearchFilterPageCursor(ISearchFilterPagination pageCursorFilter)
Sets the page cursor filter.  | 
 void | 
setSearchFilterSort(ISearchFilterSort searchFilterSort)
Sets the search filter sort.  | 
 void | 
setSearchFilterSpatial(ISearchFilterSpatialObj searchFilterSpatial)
Sets the search filter spatial.  | 
 void | 
setSearchFilterTemporal(ISearchFilterTemporal searchFilterTemporal)
Sets the search filter temporal.  | 
 void | 
setSearchFilterThemes(ISearchFilterThemes searchFilterThemes)
Sets the search filter themes.  | 
 void | 
setSearchFilterUri(ISearchFilterURI searchURIFilter)
Sets the search uri.  | 
 Document | 
toDom()
The DOM representation of Search Criteria.  | 
 Document | 
toDom(String extraInfo)
Transform this criteria to its DOM representation.  | 
 Document | 
toDom(String extraInfo,
      SimpleDateFormat dateFormat)
To dom.  | 
 String | 
toDom2()
Convinience method to get DOM as a String.  | 
 String | 
toString()
String representation of object.  | 
 void | 
validate()
Validate input.  | 
 void | 
writeRestParameters(Map<String,String> map)
Write rest parameters.  | 
| Methods inherited from class com.esri.gpt.framework.request.QueryCriteria | 
|---|
getSortOption, setSortOption | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SearchCriteria()
public SearchCriteria(Document searchCriteriaDom)
               throws SearchException
searchCriteriaDom - the search criteria dom (never null assumed)
SearchException - the search exception
public SearchCriteria(SearchCriteria criteria)
               throws SearchException
criteria - the criteria (assumed never null)
SearchException - the search exception| Method Detail | 
|---|
public boolean getExpandResultContent()
public void setExpandResultContent(boolean expand)
expand - true if results records should be expandedpublic String getSavedSearchName()
public void setSavedSearchName(String savedSearchName)
savedSearchName - the new saved search namepublic final SearchFiltersList getMiscelleniousFilters()
public final void setMiscelleniousFilters(SearchFiltersList filterObjectList)
filterObjectList - the new filter object listpublic ISearchFilterURI getSearchFilterUri()
public void setSearchFilterUri(ISearchFilterURI searchURIFilter)
searchURIFilter - the new search uri filterpublic ISearchFilterPagination getSearchFilterPageCursor()
public void setSearchFilterPageCursor(ISearchFilterPagination pageCursorFilter)
pageCursorFilter - the new page cursor filterpublic ISearchFilterSpatialObj getSearchFilterSpatial()
public void setSearchFilterSpatial(ISearchFilterSpatialObj searchFilterSpatial)
searchFilterSpatial - the new search filter spatialpublic ISearchFilterThemes getSearchFilterThemes()
public void setSearchFilterThemes(ISearchFilterThemes searchFilterThemes)
searchFilterThemes - the new search filter themespublic ISearchFilterKeyword getSearchFilterKeyword()
public void setSearchFilterKeyword(ISearchFilterKeyword searchFilterKeyword)
searchFilterKeyword - the new search filter keywordpublic ISearchFilterContentTypes getSearchFilterContentTypes()
public void setSearchFilterContentTypes(ISearchFilterContentTypes searchFilterContentTypes)
searchFilterContentTypes - the new search filter content typespublic ISearchFilterSort getSearchFilterSort()
public void setSearchFilterSort(ISearchFilterSort searchFilterSort)
searchFilterSort - the new search filter sortpublic ISearchFilterTemporal getSearchFilterTemporal()
public void setSearchFilterTemporal(ISearchFilterTemporal searchFilterTemporal)
searchFilterTemporal - the new search filter temporalpublic final void resetFilters()
QueryCriteria.reset()public final void reset()
reset in class QueryCriteria
public final void validate()
                    throws SearchException
SearchException - thrown when validation has errors
public final Document toDom()
                     throws SearchException
SearchException - Especially if DOM document could not be initialized
public final Document toDom(String extraInfo,
                            SimpleDateFormat dateFormat)
                     throws SearchException
extraInfo - the extra infodateFormat - the date format
SearchException - the search exception
public final Document toDom(String extraInfo)
                     throws SearchException
extraInfo - Any extra info to be put included in this DOM (can be null)
SearchException - Especially if DOM document could not be initialized
public String toDom2()
              throws SearchException
SearchException - the search exceptionprotected Set<ISearchFilter> getNewSearchFilters()
public void loadSearchCriteria(Document criteriaDom)
                        throws SearchException
criteriaDom - the criteria XML DOM object (Exception on null)
SearchException - exception on error
public URI getSearchUri()
                 throws SearchException
SearchException - the search exceptionpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
toDom()
equals in class Objectobj - the obj
public SearchCriteria getClone()
                        throws SearchException
this
SearchException - the search exceptionpublic void writeRestParameters(Map<String,String> map)
map - parameters map
  | 
Esri Geoportal Server 1.0 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||