| Modifier | Constructor and Description |
|---|---|
protected |
VersionImpl(org.dspace.core.Context c,
org.dspace.storage.rdbms.TableRow row) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEditSummary(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion) |
boolean |
equals(Object o) |
org.dspace.content.Bitstream |
getAIPBitstream() |
org.dspace.content.Bitstream[] |
getBitstreams(org.dspace.core.Context context) |
org.dspace.eperson.EPerson |
getEperson() |
String |
getHandle() |
org.dspace.content.Item |
getItem() |
int |
getItemID() |
org.dspace.core.Context |
getMyContext() |
protected org.dspace.storage.rdbms.TableRow |
getMyRow() |
org.dspace.content.Bitstream |
getOREBitstream() |
String[] |
getRestoreVersionLink(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion) |
String |
getSummary() |
String |
getVerisonLog() |
Date |
getVersionDate() |
int |
getVersionHistoryID() |
int |
getVersionId() |
int |
getVersionNumber() |
String[] |
getViewVersionLink(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion) |
int |
hashCode() |
boolean |
isLastestVersion(org.dspace.core.Context context,
org.dspace.versioning.VersionHistory history) |
void |
setAIPBitstream(int bitstream_id) |
void |
setEperson(org.dspace.eperson.EPerson ePerson) |
void |
setHandle(String handle) |
void |
setItemID(int itemID) |
void |
setOREBitstream(int bitstream_id) |
void |
setSummary(String summary) |
void |
setVersionDate(Date versionDate) |
void |
setVersionHistory(int versionHistoryID) |
void |
setVersionLog(String summary) |
void |
setVersionNumber(int versionNumber) |
protected VersionImpl(org.dspace.core.Context c,
org.dspace.storage.rdbms.TableRow row)
public int getVersionId()
getVersionId in interface Versionpublic org.dspace.eperson.EPerson getEperson()
getEperson in interface Versionpublic void setEperson(org.dspace.eperson.EPerson ePerson)
public org.dspace.content.Bitstream getAIPBitstream()
getAIPBitstream in interface Versionpublic void setAIPBitstream(int bitstream_id)
setAIPBitstream in interface Versionpublic org.dspace.content.Bitstream getOREBitstream()
getOREBitstream in interface Versionpublic void setOREBitstream(int bitstream_id)
setOREBitstream in interface Versionpublic Date getVersionDate()
getVersionDate in interface Versionpublic void setVersionDate(Date versionDate)
public int getVersionNumber()
getVersionNumber in interface Versionpublic void setVersionNumber(int versionNumber)
setVersionNumber in interface Versionpublic String getSummary()
getSummary in interface Versionpublic void setSummary(String summary)
public String getVerisonLog()
getVerisonLog in interface Versionpublic void setVersionLog(String summary)
setVersionLog in interface Versionpublic int getVersionHistoryID()
getVersionHistoryID in interface Versionpublic void setVersionHistory(int versionHistoryID)
public org.dspace.core.Context getMyContext()
protected org.dspace.storage.rdbms.TableRow getMyRow()
public void setHandle(String handle)
public String[] getRestoreVersionLink(org.dspace.core.Context context, String knotId, String contextPath, boolean isLatestVersion)
getRestoreVersionLink in interface Versionpublic String[] getViewVersionLink(org.dspace.core.Context context, String knotId, String contextPath, boolean isLatestVersion)
getViewVersionLink in interface Versionpublic boolean canEditSummary(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion)
canEditSummary in interface Versionpublic boolean isLastestVersion(org.dspace.core.Context context,
org.dspace.versioning.VersionHistory history)
isLastestVersion in interface Versionpublic org.dspace.content.Bitstream[] getBitstreams(org.dspace.core.Context context)
getBitstreams in interface VersionCopyright © 2014 DuraSpace. All rights reserved.