com.holonplatform.vaadin.data

## Interface ItemRefresher<ITEM>

- Type Parameters:
    `ITEM` - Item type
  All Superinterfaces:
    Serializable
  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 interface ItemRefresher<ITEM>
      extends Serializable

  Data interface to refresh item data.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ITEM` | `refresh(ITEM item)` Refresh given item from concrete data store.

- - ### Method Detail

    - #### refresh

          ITEM refresh(ITEM item)
                throws UnsupportedOperationException,
                       com.holonplatform.core.exceptions.DataAccessException

      Refresh given item from concrete data store.
      Parameters:
        `item` - Item to refresh (not null)
      Returns:
        Refreshed item
      Throws:
        `UnsupportedOperationException` - If the refresh operation is not supported by concrete implementation
        `com.holonplatform.core.exceptions.DataAccessException` - Error accessing underlying data store

Copyright © 2019 The Holon Platform. All rights reserved.