|
|||||||||
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 String |
CRITERIA_TYPE
Criteria type constant: "PredefinedQuery"; |
protected String |
whereClause
Where clause of the query. |
Constructor Summary | |
---|---|
PredefinedQueryCriteria()
|
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 . |
int |
getMaxRecordCount()
Returns the number of records that will be returned for the query operation. |
List<String> |
getReturnFields()
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.getReturnFields() |
String |
getWhereClause()
Gets the where clause of the query. |
boolean |
isFetchResultDetails()
Returns true if all the feature details e.g. |
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. |
void |
setMaxRecordCount(int maxRecordCount)
Sets the number of records to be returned for the query operation. |
void |
setReturnFields(List<String> returnFields)
Deprecated. As of ArcGIS Java Server 9.3, instead use LayerDefinition.setReturnFields(List) |
void |
setWhereClause(String findText)
Sets the where clause of the query. |
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
protected String whereClause
Constructor Detail |
---|
public PredefinedQueryCriteria()
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()
getMaxRecordCount
in interface QueryCriteria
public void setMaxRecordCount(int maxRecordCount)
setMaxRecordCount
in interface QueryCriteria
maxRecordCount
- the record limitpublic String getWhereClause()
QueryAttributesTask
and SearchAttributesTask
for
details.
public void setWhereClause(String findText)
QueryAttributesTask
and SearchAttributesTask
for
details.
findText
- @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.
layerDefinitions
- the list of layer definition objectspublic List<? extends LayerDefinition> getLayerDefinitions()
LayerDefinition
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |