| Package | Description |
|---|---|
| org.dspace.versioning | |
| org.dspace.versioning.dao | |
| org.dspace.versioning.dao.impl | |
| org.dspace.versioning.service |
| Modifier and Type | Method and Description |
|---|---|
Version |
VersioningServiceImpl.createNewVersion(Context c,
Item item)
Service Methods
|
Version |
VersioningServiceImpl.createNewVersion(Context c,
Item item,
String summary) |
Version |
VersioningServiceImpl.createNewVersion(Context context,
VersionHistory history,
Item item,
String summary,
Date date,
int versionNumber) |
protected Version |
VersioningServiceImpl.createVersion(Context c,
VersionHistory vh,
Item item,
String summary,
Date date) |
Version |
VersionHistoryServiceImpl.getFirstVersion(Context context,
VersionHistory versionHistory) |
Version |
VersionHistoryServiceImpl.getLatestVersion(Context context,
VersionHistory versionHistory) |
Version |
VersionHistoryServiceImpl.getNext(Context c,
VersionHistory versionHistory,
Version version) |
Version |
VersionHistoryServiceImpl.getPrevious(Context context,
VersionHistory versionHistory,
Version version) |
Version |
VersioningServiceImpl.getVersion(Context c,
int versionID) |
Version |
VersioningServiceImpl.getVersion(Context c,
Item item) |
Version |
VersionHistoryServiceImpl.getVersion(Context context,
VersionHistory versionHistory,
Item item) |
Version |
VersioningServiceImpl.restoreVersion(Context c,
Version version) |
Version |
VersioningServiceImpl.restoreVersion(Context c,
Version version,
String summary) |
Version |
VersioningServiceImpl.updateVersion(Context c,
Item item,
String summary) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Version> |
VersionHistory.getVersions()
Please use
VersioningService.getVersionsByHistory(Context, VersionHistory) instead. |
List<Version> |
VersioningServiceImpl.getVersionsByHistory(Context c,
VersionHistory vh) |
| Modifier and Type | Method and Description |
|---|---|
void |
VersionHistoryServiceImpl.add(Context context,
VersionHistory versionHistory,
Version version) |
void |
ItemVersionProvider.deleteVersionedItem(Context c,
Version versionToDelete,
VersionHistory history) |
void |
DefaultItemVersionProvider.deleteVersionedItem(Context c,
Version versionToDelete,
VersionHistory history) |
Version |
VersionHistoryServiceImpl.getNext(Context c,
VersionHistory versionHistory,
Version version) |
Version |
VersionHistoryServiceImpl.getPrevious(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryServiceImpl.hasNext(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryServiceImpl.isFirstVersion(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryServiceImpl.isLastVersion(Context context,
VersionHistory versionHistory,
Version version) |
void |
VersionHistoryServiceImpl.remove(VersionHistory versionHistory,
Version version) |
void |
VersioningServiceImpl.removeVersion(Context c,
Version version) |
Version |
VersioningServiceImpl.restoreVersion(Context c,
Version version) |
Version |
VersioningServiceImpl.restoreVersion(Context c,
Version version,
String summary) |
| Modifier and Type | Method and Description |
|---|---|
Version |
VersionDAO.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
List<Version> |
VersionDAO.findVersionsWithItems(Context context,
VersionHistory versionHistory)
This method returns all versions of an version history that have items
assigned.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
VersionDAOImpl.findByItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
List<Version> |
VersionDAOImpl.findVersionsWithItems(Context context,
VersionHistory versionHistory) |
| Modifier and Type | Method and Description |
|---|---|
Version |
VersioningService.createNewVersion(Context c,
Item itemId) |
Version |
VersioningService.createNewVersion(Context c,
Item itemId,
String summary) |
Version |
VersioningService.createNewVersion(Context context,
VersionHistory history,
Item item,
String summary,
Date date,
int versionNumber) |
Version |
VersionHistoryService.getFirstVersion(Context context,
VersionHistory versionHistory) |
Version |
VersionHistoryService.getLatestVersion(Context context,
VersionHistory versionHistory) |
Version |
VersionHistoryService.getNext(Context context,
VersionHistory versionHistory,
Version version) |
Version |
VersionHistoryService.getPrevious(Context context,
VersionHistory versionHistory,
Version version) |
Version |
VersioningService.getVersion(Context c,
int versionID) |
Version |
VersioningService.getVersion(Context c,
Item item) |
Version |
VersionHistoryService.getVersion(Context context,
VersionHistory versionHistory,
Item item) |
Version |
VersioningService.restoreVersion(Context c,
Version version) |
Version |
VersioningService.restoreVersion(Context c,
Version version,
String summary) |
Version |
VersioningService.updateVersion(Context c,
Item itemId,
String summary) |
| Modifier and Type | Method and Description |
|---|---|
List<Version> |
VersioningService.getVersionsByHistory(Context c,
VersionHistory vh)
Returns all versions of a version history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VersionHistoryService.add(Context context,
VersionHistory versionHistory,
Version version) |
Version |
VersionHistoryService.getNext(Context context,
VersionHistory versionHistory,
Version version) |
Version |
VersionHistoryService.getPrevious(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryService.hasNext(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryService.isFirstVersion(Context context,
VersionHistory versionHistory,
Version version) |
boolean |
VersionHistoryService.isLastVersion(Context context,
VersionHistory versionHistory,
Version version) |
void |
VersionHistoryService.remove(VersionHistory versionHistory,
Version version) |
void |
VersioningService.removeVersion(Context c,
Version version) |
Version |
VersioningService.restoreVersion(Context c,
Version version) |
Version |
VersioningService.restoreVersion(Context c,
Version version,
String summary) |
Copyright © 2022 LYRASIS. All rights reserved.