Interface VersionDao

All Known Implementing Classes:
VersionHibernateDao

@Internal public interface VersionDao
Dao for any versionable entity.
Since:
v9.4
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Versionable>
    @NotNull List<IdWithVersionDto>
    getVersions(@NotNull Set<Long> ids, @NotNull Class<? extends T> clazz)
    Gets the versions corresponding to the given ids and the class.
  • Method Details

    • getVersions

      @NotNull <T extends Versionable> @NotNull List<IdWithVersionDto> getVersions(@NotNull @NotNull Set<Long> ids, @NotNull @NotNull Class<? extends T> clazz)
      Gets the versions corresponding to the given ids and the class.
      Parameters:
      ids - list of entity ids for which the versions will be gathered for
      clazz - class of the versionable entity
      Returns:
      list of entity id and version