Class VersionHibernateDao

    • Constructor Detail

      • VersionHibernateDao

        public VersionHibernateDao()
    • Method Detail

      • getVersions

        @NotNull
        public <T extends Versionable> @NotNull List<IdWithVersionDto> getVersions​(@NotNull
                                                                                   @NotNull Set<Long> ids,
                                                                                   @NotNull
                                                                                   @NotNull Class<? extends T> clazz)
        Description copied from interface: VersionDao
        Gets the versions corresponding to the given ids and the class.
        Specified by:
        getVersions in interface VersionDao
        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