|
|||||||||
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 String |
CRITERIA_TYPE
The criteria type: "Text" |
Constructor Summary | |
---|---|
TextCriteria()
Instantiates an empty object of TextCriteria. |
|
TextCriteria(String searchText,
boolean contains,
List<String> searchFields)
Instantiates an object of TextCriteria. |
Method Summary | |
---|---|
String |
getCriteriaType()
A String representing the query type e.g. |
String |
getDisplayFieldName()
Gets the field name which can be used in the query result as a result node title. |
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. |
List<String> |
getReturnFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getReturnFields() |
List<String> |
getSearchFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getSearchFields() |
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(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(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(List<String> returnFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setReturnFields(List) |
void |
setSearchFields(List<String> searchFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setSearchFields(List) |
void |
setSearchText(String findText)
Gets the search target. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CRITERIA_TYPE
Constructor Detail |
---|
public TextCriteria()
public TextCriteria(String searchText, boolean contains, List<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 String getCriteriaType()
QueryCriteria
getCriteriaType
in interface QueryCriteria
public String getDisplayFieldName()
QueryCriteria
getDisplayFieldName
in interface QueryCriteria
public void setDisplayFieldName(String displayFieldName)
QueryCriteria
setDisplayFieldName
in interface QueryCriteria
public String toString()
toString
in class Object
public boolean isFetchResultDetails()
QueryCriteria
isFetchResultDetails
in interface QueryCriteria
public void setFetchResultDetails(boolean fetchResultDetails)
QueryCriteria
setFetchResultDetails
in interface QueryCriteria
public int getMaxRecordCount()
QueryCriteria
getMaxRecordCount
in interface QueryCriteria
public void setMaxRecordCount(int maxRecordCount)
QueryCriteria
setMaxRecordCount
in interface QueryCriteria
maxRecordCount
- the new value.public boolean isContains()
public void setContains(boolean contains)
contains
- public String getSearchText()
public void setSearchText(String findText)
@Deprecated public List<String> getSearchFields()
LayerDefinition.getSearchFields()
@Deprecated public void setSearchFields(List<String> searchFields)
LayerDefinition.setSearchFields(List)
@Deprecated public List<String> getReturnFields()
LayerDefinition.getReturnFields()
@Deprecated public void setReturnFields(List<String> returnFields)
LayerDefinition.setReturnFields(List)
QueryResult.getDetails()
.
public void setLayerDefinitions(List<? extends LayerDefinition> layerDefinitions)
LayerDefinition
objects associated with this query.
layerDefinitions
- the list of layer definition objectspublic 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 |