Interface VersionDao

  • All Known Implementing Classes:
    VersionHibernateDao

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

      • 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