Interface EntityStore<T>


public interface EntityStore<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the entity by ID
    void
    store(T entity)
    Store the entity into permanent store.
  • Method Details

    • store

      void store(T entity)
      Store the entity into permanent store.
      Parameters:
      entity - the entity that needs to be persisted
    • retrieve

      T retrieve(String id)
      Retrieve the entity by ID
      Parameters:
      id - the ID of the entity
      Returns:
      the entity from the store