Interface AggregateRepository<AGG>

All Known Implementing Classes:
SimpleAggregateRepository

public interface AggregateRepository<AGG>
  • Method Summary

    Modifier and Type
    Method
    Description
    findById(long id)
     
    long
     
    void
    save(AGG aggregate)
     
  • Method Details

    • getNextId

      long getNextId()
    • save

      void save(AGG aggregate)
    • findById

      Optional<AGG> findById(long id)