IPartialUpdater<T, K>

Interface for data processing components to update data items partially.

Description

The IPartialUpdater interface is used by data processing components to update data items partially.

Instance methods

updatePartially

Updates only few selected fields in a data item.

T updatePartially(IContext context, K id, AnyValueMap data) throws ApplicationException

  • context: IContext - (optional) a context to trace execution through a call chain.
  • id: K - id of the data item to be updated.
  • data: AnyValueMap - map with fields to be updated.
  • returns: T - updated item