Package com.luciad.models.features
Interface IFeatureUpdaterCallback
public interface IFeatureUpdaterCallback
This callback is used by
IFeatureModelUpdater
to give feedback on whether the feature update was successful or not.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(FeatureChange change, ErrorInfo errorInfo) Called byIFeatureModelUpdater#update
when a feature change could not be applied successfully.void
onFeatureAdded
(FeatureChange change, Feature addedFeature) Called byIFeatureModelUpdater#update
whenever a feature was added the model.void
onFeatureRemoved
(FeatureChange change) Called byIFeatureModelUpdater#update
whenever a feature was removed.void
onFeatureUpdated
(FeatureChange change) Called byIFeatureModelUpdater#update
whenever a feature was updated.
-
Method Details
-
onFeatureAdded
Called byIFeatureModelUpdater#update
whenever a feature was added the model.- Parameters:
change
- the change that was used in theIFeatureModelUpdater#update
.addedFeature
- the newly addedFeature
. ThisFeature
must have anFeature.Builder#id
.
-
onFeatureUpdated
Called byIFeatureModelUpdater#update
whenever a feature was updated.- Parameters:
change
- the change that was used in theIFeatureModelUpdater#update
.
-
onFeatureRemoved
Called byIFeatureModelUpdater#update
whenever a feature was removed.- Parameters:
change
- the change that was used in theIFeatureModelUpdater#update
.
-
onFailure
Called byIFeatureModelUpdater#update
when a feature change could not be applied successfully.- Parameters:
change
- the change that was used in theIFeatureModelUpdater#update
.errorInfo
- additional information about the failure
-