Package com.atlassian.bamboo.versioning
Interface VersionDao
- All Known Implementing Classes:
VersionHibernateDao
@Internal
public interface VersionDao
Dao for any versionable entity.
- Since:
- v9.4
-
Method Summary
Modifier and TypeMethodDescription<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 forclazz
- class of the versionable entity- Returns:
- list of entity id and version
-