Interface ISaver<T>

All Known Implementing Classes:
JsonFilePersister

public interface ISaver<T>
Interface for data processing components that save data items.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    save(String correlationId, List<T> entities)
    Saves given data items.
  • Method Details

    • save

      void save(String correlationId, List<T> entities) throws org.pipservices3.commons.errors.ApplicationException
      Saves given data items.
      Parameters:
      correlationId - (optional) transaction id to trace execution through call chain.
      entities - a list of items to save.
      Throws:
      org.pipservices3.commons.errors.ApplicationException - when error occured.