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
SQLExceptionint getNextVersionNumber(Context c, VersionHistory vh) throws SQLException
SQLExceptionCopyright © 2016 DuraSpace. All Rights Reserved.