public interface VersionDAO extends GenericDAO<Version>
| Modifier and Type | Method and Description |
|---|---|
Version |
findByItem(Context context,
Item item) |
List<Version> |
findVersionsWithItems(Context context,
VersionHistory versionHistory)
This method returns all versions of an version history that have items
assigned.
|
int |
getNextVersionNumber(Context c,
VersionHistory vh) |
create, delete, findAll, findByID, findByID, findMany, findUnique, saveVersion findByItem(Context context, Item item) throws SQLException
SQLExceptionList<Version> findVersionsWithItems(Context context, VersionHistory versionHistory) throws SQLException
context - The relevant DSpace Context.versionHistory - version historySQLException - An exception that provides information on a database access error or other errors.int getNextVersionNumber(Context c, VersionHistory vh) throws SQLException
SQLExceptionCopyright © 2019 DuraSpace. All rights reserved.