public class VersionHistoryImpl extends Object implements VersionHistory
| Modifier | Constructor and Description |
|---|---|
protected |
VersionHistoryImpl(Context c,
TableRow row) |
protected |
VersionHistoryImpl(VersionHistoryDAO vhDAO) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Version version) |
boolean |
equals(Object o) |
Version |
getFirstVersion() |
Version |
getLatestVersion() |
protected TableRow |
getMyRow() |
Version |
getNext(Version version) |
Version |
getPrevious(Version version) |
Version |
getVersion(Item item) |
int |
getVersionHistoryId() |
List<Version> |
getVersions() |
int |
hashCode() |
boolean |
hasNext(Item item) |
boolean |
hasNext(Version version) |
boolean |
isEmpty() |
boolean |
isFirstVersion(Version version) |
boolean |
isLastVersion(Version version) |
void |
remove(Version version) |
void |
setVersions(List<Version> versions) |
int |
size() |
protected VersionHistoryImpl(VersionHistoryDAO vhDAO)
public int getVersionHistoryId()
getVersionHistoryId in interface VersionHistorypublic Version getPrevious(Version version)
getPrevious in interface VersionHistorypublic Version getNext(Version version)
getNext in interface VersionHistorypublic Version getVersion(Item item)
getVersion in interface VersionHistorypublic boolean hasNext(Item item)
hasNext in interface VersionHistorypublic boolean hasNext(Version version)
hasNext in interface VersionHistorypublic List<Version> getVersions()
getVersions in interface VersionHistorypublic void add(Version version)
add in interface VersionHistorypublic Version getLatestVersion()
getLatestVersion in interface VersionHistorypublic Version getFirstVersion()
getFirstVersion in interface VersionHistorypublic boolean isFirstVersion(Version version)
isFirstVersion in interface VersionHistorypublic boolean isLastVersion(Version version)
isLastVersion in interface VersionHistorypublic void remove(Version version)
remove in interface VersionHistorypublic boolean isEmpty()
isEmpty in interface VersionHistorypublic int size()
size in interface VersionHistoryprotected TableRow getMyRow()
Copyright © 2014 DuraSpace. All Rights Reserved.