Class UpdateDataCommandHandler

    • Constructor Detail

      • UpdateDataCommandHandler

        public UpdateDataCommandHandler​(DataLayer dataLayer)
        Creates an UpdateDataCommandHandler that performs an equals check before performing a data update and does not perform an update if the data value is equal to the one currently set.
        Parameters:
        dataLayer - The DataLayer on which the data model updates should be executed.
      • UpdateDataCommandHandler

        public UpdateDataCommandHandler​(DataLayer dataLayer,
                                        boolean performEqualsCheck)
        Parameters:
        dataLayer - The DataLayer on which the data model updates should be executed.
        performEqualsCheck - Flag to configure if the new value should be checked for equality with the existing value. If set to true the check is performed and the update operation will be skipped if the two values are equal. If set to false the update is performed always.
        Since:
        1.6