|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.query.PredefinedQueryCriteria
public class PredefinedQueryCriteria
PredefinedQueryCriteria defines a where clause query. Some of resources support query by where clause, but the format of it may be vary from resource to resource.
See QueryAttributesTask and SearchAttributesTask for
details.
| Field Summary | |
|---|---|
static java.lang.String |
CRITERIA_TYPE
Criteria type constant: "PredefinedQuery"; |
protected java.lang.String |
whereClause
Where clause of the query. |
| Constructor Summary | |
|---|---|
PredefinedQueryCriteria()
|
|
| 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. |
int |
getMaxRecordCount()
Returns the number of records that will be returned for the query operation. |
java.util.List<java.lang.String> |
getReturnFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getReturnFields() |
java.lang.String |
getWhereClause()
Gets the where clause of the query. |
boolean |
isFetchResultDetails()
Returns true if all the feature details e.g. |
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. |
void |
setMaxRecordCount(int maxRecordCount)
Sets the number of records to be returned for the query operation. |
void |
setReturnFields(java.util.List<java.lang.String> returnFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setReturnFields(List) |
void |
setWhereClause(java.lang.String findText)
Sets the where clause of the query. |
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
protected java.lang.String whereClause
| Constructor Detail |
|---|
public PredefinedQueryCriteria()
| 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()
getMaxRecordCount in interface QueryCriteriapublic void setMaxRecordCount(int maxRecordCount)
setMaxRecordCount in interface QueryCriteriacount - the record limitpublic java.lang.String getWhereClause()
QueryAttributesTask and SearchAttributesTask for
details.
public void setWhereClause(java.lang.String findText)
QueryAttributesTask and SearchAttributesTask for
details.
findText - @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.
layerDefinitions - the list of layer definition objectspublic java.util.List<? extends LayerDefinition> getLayerDefinitions()
LayerDefinition.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||