com.holonplatform.vaadin7.data

## Interface ItemDataSource.CommitHandler<ITEM>

- Type Parameters:
    `ITEM` - Item type
  All Superinterfaces:
    Serializable
  Enclosing interface:
    ItemDataSource<ITEM,PROPERTY>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface ItemDataSource.CommitHandler<ITEM>
      extends Serializable

  Data source commit handler to perform concrete persistence operations when data is committed invoking `ItemDataSource.commit()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `commit(Collection<ITEM> addedItems, Collection<ITEM> modifiedItems, Collection<ITEM> removedItems)` Commit item modifications.

- - ### Method Detail

    - #### commit

          void commit(Collection<ITEM> addedItems,
                      Collection<ITEM> modifiedItems,
                      Collection<ITEM> removedItems)

      Commit item modifications.
      Parameters:
        `addedItems` - Added items: an empty collection if none
        `modifiedItems` - Modified items: an empty collection if none
        `removedItems` - Removed items: an empty collection if none

Copyright © 2019 The Holon Platform. All rights reserved.