Interface UserUpdater

All Superinterfaces:
org.springframework.plugin.core.Plugin<String>
All Known Implementing Classes:
EmailUpdater, UserBasicFieldUpdater

public interface UserUpdater extends org.springframework.plugin.core.Plugin<String>
A UserUpdater.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    update(@NotNull User existingInstance, @Valid @NotNull User newInstance)
    Update the given existingInstance partially with the contents of newInstance.

    Methods inherited from interface org.springframework.plugin.core.Plugin

    supports
  • Method Details

    • update

      User update(@NotNull @NotNull User existingInstance, @Valid @NotNull @Valid @NotNull User newInstance)
      Update the given existingInstance partially with the contents of newInstance.
      Parameters:
      existingInstance - The existing instance
      newInstance - Contains the properties to update
      Returns:
      The updated instance