public interface VersionHistoryService extends DSpaceCRUDService<VersionHistory>
| Modifier and Type | Method and Description |
|---|---|
void |
add(Context context,
VersionHistory versionHistory,
Version version) |
VersionHistory |
findByItem(Context context,
Item item) |
Version |
getFirstVersion(Context context,
VersionHistory versionHistory) |
Version |
getLatestVersion(Context context,
VersionHistory versionHistory) |
Version |
getNext(Context context,
VersionHistory versionHistory,
Version version) |
Version |
getPrevious(Context context,
VersionHistory versionHistory,
Version version) |
Version |
getVersion(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
hasNext(Context context,
VersionHistory versionHistory,
Item item) |
boolean |
hasNext(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
hasVersionHistory(Context context,
Item item) |
boolean |
isFirstVersion(Context context,
Item item) |
boolean |
isFirstVersion(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
isLastVersion(Context context,
Item item) |
boolean |
isLastVersion(Context context,
VersionHistory versionHistory,
Version version) |
void |
remove(VersionHistory versionHistory,
Version version) |
void add(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionVersionHistory findByItem(Context context, Item item) throws SQLException
SQLExceptionVersion getFirstVersion(Context context, VersionHistory versionHistory) throws SQLException
SQLExceptionVersion getLatestVersion(Context context, VersionHistory versionHistory) throws SQLException
SQLExceptionVersion getNext(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionVersion getPrevious(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionVersion getVersion(Context context, VersionHistory versionHistory, Item item) throws SQLException
SQLExceptionboolean hasNext(Context context, VersionHistory versionHistory, Item item) throws SQLException
SQLExceptionboolean hasNext(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionboolean hasVersionHistory(Context context, Item item) throws SQLException
SQLExceptionboolean isFirstVersion(Context context, Item item) throws SQLException
SQLExceptionboolean isFirstVersion(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionboolean isLastVersion(Context context, Item item) throws SQLException
SQLExceptionboolean isLastVersion(Context context, VersionHistory versionHistory, Version version) throws SQLException
SQLExceptionvoid remove(VersionHistory versionHistory, Version version)
Copyright © 2016 DuraSpace. All rights reserved.