|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.query.TextCriteria
public class TextCriteria
Defines an attribute search. QueryHandler will search all the search fields for the given text.
| Field Summary | |
|---|---|
static java.lang.String |
CRITERIA_TYPE
The criteria type: "Text" |
| Constructor Summary | |
|---|---|
TextCriteria()
Instantiates an empty object of TextCriteria. |
|
TextCriteria(java.lang.String searchText,
boolean contains,
java.util.List<java.lang.String> searchFields)
Instantiates an object of TextCriteria. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCriteriaType()
A String representing the query type e.g. |
java.lang.String |
getDisplayFieldName()
Gets the field name which can be used in the query result as a result node title. |
java.util.List<? extends LayerDefinition> |
getLayerDefinitions()
Returns the list of LayerDefinition associated with this query. |
int |
getMaxRecordCount()
Gets the maximum number of returning records in one query. |
java.util.List<java.lang.String> |
getReturnFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getReturnFields() |
java.util.List<java.lang.String> |
getSearchFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getSearchFields() |
java.lang.String |
getSearchText()
Sets the text to search. |
boolean |
isContains()
Returns true if the search text can be part of the field value. |
boolean |
isFetchResultDetails()
Returns true if all the feature details e.g. |
void |
setContains(boolean contains)
Sets to true if the search text can be part of the field value. |
void |
setDisplayFieldName(java.lang.String displayFieldName)
Sets the field name which can be used in the query result as a result node title. |
void |
setFetchResultDetails(boolean fetchResultDetails)
Sets to true to return all the feature details e.g. |
void |
setLayerDefinitions(java.util.List<? extends LayerDefinition> layerDefinitions)
Sets the list of LayerDefinition objects associated with this query. |
void |
setMaxRecordCount(int maxRecordCount)
Sets the maximum number of returning records in one query. |
void |
setReturnFields(java.util.List<java.lang.String> returnFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setReturnFields(List) |
void |
setSearchFields(java.util.List<java.lang.String> searchFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setSearchFields(List) |
void |
setSearchText(java.lang.String findText)
Gets the search target. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CRITERIA_TYPE
| Constructor Detail |
|---|
public TextCriteria()
public TextCriteria(java.lang.String searchText,
boolean contains,
java.util.List<java.lang.String> searchFields)
searchText - the text for search.contains - set to true if the text can be part of the field value.searchFields - the field to search with.| Method Detail |
|---|
public java.lang.String getCriteriaType()
QueryCriteria
getCriteriaType in interface QueryCriteriapublic java.lang.String getDisplayFieldName()
QueryCriteria
getDisplayFieldName in interface QueryCriteriapublic void setDisplayFieldName(java.lang.String displayFieldName)
QueryCriteria
setDisplayFieldName in interface QueryCriteriapublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isFetchResultDetails()
QueryCriteria
isFetchResultDetails in interface QueryCriteriapublic void setFetchResultDetails(boolean fetchResultDetails)
QueryCriteria
setFetchResultDetails in interface QueryCriteriapublic int getMaxRecordCount()
QueryCriteria
getMaxRecordCount in interface QueryCriteriapublic void setMaxRecordCount(int maxRecordCount)
QueryCriteria
setMaxRecordCount in interface QueryCriteriamaxRecordCount - the new value.public boolean isContains()
public void setContains(boolean contains)
contains - public java.lang.String getSearchText()
public void setSearchText(java.lang.String findText)
@Deprecated public java.util.List<java.lang.String> getSearchFields()
LayerDefinition.getSearchFields()
@Deprecated public void setSearchFields(java.util.List<java.lang.String> searchFields)
LayerDefinition.setSearchFields(List)
@Deprecated public java.util.List<java.lang.String> getReturnFields()
LayerDefinition.getReturnFields()
@Deprecated public void setReturnFields(java.util.List<java.lang.String> returnFields)
LayerDefinition.setReturnFields(List)
QueryResult.getDetails().
public void setLayerDefinitions(java.util.List<? extends LayerDefinition> layerDefinitions)
LayerDefinition objects associated with this query.
layerDefinitions - the list of layer definition objectspublic java.util.List<? extends LayerDefinition> getLayerDefinitions()
LayerDefinition associated with this query.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||