Module storm.java

Interface Repository

All Known Subinterfaces:
EntityRepository<E,ID>, ProjectionRepository<P,ID>

public interface Repository
Base interface for all Storm repositories, providing access to the underlying ORMTemplate.

Both EntityRepository and ProjectionRepository extend this interface. Custom repository interfaces should extend one of those specialized interfaces rather than this one directly.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    orm()
    Provides access to the underlying ORM template.
    default WriteSet
    Returns dependency-aware write operations over mixed-type sets of entities.
  • Method Details

    • orm

      Provides access to the underlying ORM template.
      Returns:
      the ORM template.
    • writeSet

      default WriteSet writeSet()
      Returns dependency-aware write operations over mixed-type sets of entities.

      The write set belongs to the underlying ORM template and is not scoped to this repository's entity type; it accepts entities of any type. This accessor is a convenience for repository methods, equivalent to orm().writeSet().

      Returns:
      the write set operations of the underlying ORM template.
      Since:
      1.13
      See Also: