<AGSFeatureLayerQueryDelegate> Protocol Reference


Description

A protocol which must be adopted by any class wishing to be notified when query operations performed by AGSFeatureLayer complete successfully or encounter an error. An instance of the class must then be set as the queryDelegate of AGSFeatureLayer.

Defined in:
AGSFeatureLayer.h ( ArcGIS library)
Since:
1.0

List of all members.

Public Member Functions

(void) - featureLayer:operation:didFailQueryFeatureCountWithError:
(void) - featureLayer:operation:didFailQueryFeaturesWithError:
(void) - featureLayer:operation:didFailQueryObjectIdsWithError:
(void) - featureLayer:operation:didFailQueryRelatedFeaturesWithError:
(void) - featureLayer:operation:didFailSelectFeaturesWithError:
(void) - featureLayer:operation:didQueryFeatureCountWithResult:
(void) - featureLayer:operation:didQueryFeaturesWithFeatureSet:
(void) - featureLayer:operation:didQueryObjectIdsWithResults:
(void) - featureLayer:operation:didQueryRelatedFeaturesWithResults:
(void) - featureLayer:operation:didSelectFeaturesWithFeatureSet:

Member Function Documentation

- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailQueryFeatureCountWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while performing query for feature count.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
error Information about the error that was encountered.
Since:
1.8
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailQueryFeaturesWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while performing the query.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
error Information about the error that was encountered.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailQueryObjectIdsWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while performing query for IDs

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
error Information about the error that was encountered.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailQueryRelatedFeaturesWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while performing query for related features.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
error Information about the error that was encountered.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailSelectFeaturesWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while try to select features.

Parameters:
featureLayer The feature layer which performed the selection.
op The operation that performed the selection.
error Information about the error that was encountered.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didQueryFeatureCountWithResult: (NSInteger)  count 
[optional]

Tells the delegate that AGSFeatureLayer completed query for feature count successfully with the provided results.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
count The number of features matching the specified query.
Since:
1.8
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didQueryFeaturesWithFeatureSet: (AGSFeatureSet *)  featureSet 
[optional]

Tells the delegate that AGSFeatureLayer completed the query successfully with the provided results.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
featureSet The feature set returned by executing query.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didQueryObjectIdsWithResults: (NSArray *)  objectIds 
[optional]

Tells the delegate that AGSFeatureLayer completed query for IDs successfully with the provided results.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
objectIds The object IDs returned by executing query.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didQueryRelatedFeaturesWithResults: (NSDictionary *)  relatedFeatures 
[optional]

Tells the delegate that AGSFeatureLayer completed query for related features successfully with the provided results. The related features are returned as a dictionary of key-value pairs. Keys are NSNumber objects representing IDs from AGSRelationshipQuery. Values are AGSFeatureSet objects representing the corresponding related features.

Parameters:
featureLayer The feature layer which performed the query.
op The operation that performed the query.
relatedFeatures The related features returned by executing query.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didSelectFeaturesWithFeatureSet: (AGSFeatureSet *)  featureSet 
[optional]

Tells the delegate that AGSFeatureLayer successfully selected the given features.

Parameters:
featureLayer The feature layer which performed the selection.
op The operation that performed the selection.
featureSet The set of features that were selected.
Since:
1.0