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 TypeMethodDescriptionvoidonFailure(FeatureChange change, ErrorInfo errorInfo) Called byIFeatureModelUpdater#updatewhen a feature change could not be applied successfully.voidonFeatureAdded(FeatureChange change, Feature addedFeature) Called byIFeatureModelUpdater#updatewhenever a feature was added the model.voidonFeatureRemoved(FeatureChange change) Called byIFeatureModelUpdater#updatewhenever a feature was removed.voidonFeatureUpdated(FeatureChange change) Called byIFeatureModelUpdater#updatewhenever a feature was updated.
-
Method Details
-
onFeatureAdded
Called byIFeatureModelUpdater#updatewhenever a feature was added the model.- Parameters:
change- the change that was used in theIFeatureModelUpdater#update.addedFeature- the newly addedFeature. ThisFeaturemust have anFeature.Builder#id.
-
onFeatureUpdated
Called byIFeatureModelUpdater#updatewhenever a feature was updated.- Parameters:
change- the change that was used in theIFeatureModelUpdater#update.
-
onFeatureRemoved
Called byIFeatureModelUpdater#updatewhenever a feature was removed.- Parameters:
change- the change that was used in theIFeatureModelUpdater#update.
-
onFailure
Called byIFeatureModelUpdater#updatewhen a feature change could not be applied successfully.- Parameters:
change- the change that was used in theIFeatureModelUpdater#update.errorInfo- additional information about the failure
-