<AGSFeatureLayerEditingDelegate> Protocol Reference


Description

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

Defined in:
AGSFeatureLayer+Editing.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for <AGSFeatureLayerEditingDelegate>:
AGSAttachmentManager

List of all members.

Public Member Functions

(void) - featureLayer:operation:didAttachmentEditsWithResults:
(void) - featureLayer:operation:didFailAttachmentEditsWithError:
(void) - featureLayer:operation:didFailFeatureEditsWithError:
(void) - featureLayer:operation:didFailQueryAttachmentInfosWithError:
(void) - featureLayer:operation:didFailRetrieveAttachmentWithError:
(void) - featureLayer:operation:didFeatureEditsWithResults:
(void) - featureLayer:operation:didQueryAttachmentInfosWithResults:
(void) - featureLayer:operation:didRetrieveAttachmentWithData:

Member Function Documentation

- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didAttachmentEditsWithResults: (AGSFeatureLayerAttachmentResults *)  attachmentResults 
[optional]

Tells the delegate that AGSFeatureLayer successfully completed making the attachment edits (adds, updates, or deletes). It is possible that a subset of the edits failed. You should inspect the provided AGSFeatureLayerAttachmentResults object to find out which edits (if any) failed.

Parameters:
featureLayer Feature Layer on which the attachment edit operation was executed.
op The operation that is performing the server request.
attachmentResults Results returned by the attachment edit operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailAttachmentEditsWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while making the attachment edits (adds, updates, or deletes).

Parameters:
featureLayer Feature Layer on which the attachment edit operation was executed.
op The operation that is performing the server request.
error Information returned by the attachment edit operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailFeatureEditsWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while making the feature edits (adds, updates, or deletes).

Parameters:
featureLayer Feature Layer on which the feature edit operation was executed.
op The operation that is performing the server request.
error Information returned by the feature edit operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailQueryAttachmentInfosWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while querying attachment metadata.

Parameters:
featureLayer Feature Layer on which the query attachment infos operation was executed.
op The operation that is performing the server request.
error Information returned by the query attachment infos operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFailRetrieveAttachmentWithError: (NSError *)  error 
[optional]

Tells the delegate that AGSFeatureLayer encountered an error while querying the actual attachment data.

Parameters:
featureLayer Feature Layer on which the retrieve attachment operation was executed.
op The operation that is performing the server request.
error Information returned by the retrieve attachment operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didFeatureEditsWithResults: (AGSFeatureLayerEditResults *)  editResults 
[optional]

Tells the delegate that AGSFeatureLayer successfully completed making the feature edits (adds, updates, or deletes). It is possible that a subset of the edits failed. You should inspect the provided AGSFeatureLayerEditResults object to find out which edits (if any) failed.

Parameters:
featureLayer Feature Layer on which the feature edit operation was executed.
op The operation that is performing the server request.
editResults Results returned by the feature edit operation.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didQueryAttachmentInfosWithResults: (NSArray *)  attachmentInfos 
[optional]

Tells the delegate that AGSFeatureLayer successfully completed querying attachment metadata.

Parameters:
featureLayer Feature Layer on which the query attachment infos operation was executed.
op The operation that is performing the server request.
attachmentInfos Array of AGSAttachmentInfo objects returned by the query.
Since:
1.0
- (void) featureLayer: (AGSFeatureLayer *)  featureLayer
operation: (NSOperation *)  op
didRetrieveAttachmentWithData: (NSData *)  attachmentData 
[optional]

Tells the delegate that AGSFeatureLayer successfully completed querying the actual attachment data.

Parameters:
featureLayer Feature Layer on which the retrieve attachment operation was executed.
op The operation that is performing the server request.
attachmentData The raw NSData object associated with the attachment.
Since:
1.0