com.esri.adf.web.data.query
Interface QueryCriteria

All Known Implementing Classes:
IdentifyCriteria, PredefinedQueryCriteria, RelateCriteria, TextCriteria

public interface QueryCriteria

QueryCriteria defines common properties of a query used by ADF query functionality.

See Also:
QueryFunctionality

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.
 int getMaxRecordCount()
          Gets the maximum number of returning records in one 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 fetch)
          Sets to true to return all the feature details e.g.
 void setMaxRecordCount(int count)
          Sets the maximum number of returning records in one query.
 

Method Detail

getCriteriaType

String getCriteriaType()
A String representing the query type e.g. "Identify"


getDisplayFieldName

String getDisplayFieldName()
Gets the field name which can be used in the query result as a result node title.

Returns:
the field name.

setDisplayFieldName

void setDisplayFieldName(String displayFieldName)
Sets the field name which can be used in the query result as a result node title.

Parameters:
displayFieldName -

getMaxRecordCount

int getMaxRecordCount()
Gets the maximum number of returning records in one query.

Returns:
the maximum number of returning records.

setMaxRecordCount

void setMaxRecordCount(int count)
Sets the maximum number of returning records in one query.

Parameters:
count - the new value.

isFetchResultDetails

boolean isFetchResultDetails()
Returns true if all the feature details e.g. fields should be returned.


setFetchResultDetails

void setFetchResultDetails(boolean fetch)
Sets to true to return all the feature details e.g. fields.