public class AutoVersionImpl extends Object implements AutoVersion
| Modifier | Constructor and Description |
|---|---|
protected |
AutoVersionImpl(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() |
Date |
getVersionDate() |
int |
getVersionHistoryID() |
int |
getVersionId() |
String |
getVersionLog() |
int |
getVersionNumber() |
String[] |
getViewVersionLink(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion) |
int |
hashCode() |
boolean |
isLastestVersion(org.dspace.core.Context context,
AutoVersionHistory 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) |
protected void |
setVersionId(int versionId) |
void |
setVersionLog(String summary) |
void |
setVersionNumber(int versionNumber) |
protected AutoVersionImpl(org.dspace.core.Context c,
org.dspace.storage.rdbms.TableRow row)
public int getVersionId()
getVersionId in interface AutoVersiongetVersionId in interface org.dspace.versioning.Versionprotected void setVersionId(int versionId)
public org.dspace.eperson.EPerson getEperson()
getEperson in interface AutoVersiongetEperson in interface org.dspace.versioning.Versionpublic void setEperson(org.dspace.eperson.EPerson ePerson)
public int getItemID()
getItemID in interface AutoVersiongetItemID in interface org.dspace.versioning.Versionpublic org.dspace.content.Item getItem()
getItem in interface AutoVersiongetItem in interface org.dspace.versioning.Versionpublic org.dspace.content.Bitstream getAIPBitstream()
getAIPBitstream in interface AutoVersionpublic void setAIPBitstream(int bitstream_id)
setAIPBitstream in interface AutoVersionpublic org.dspace.content.Bitstream getOREBitstream()
getOREBitstream in interface AutoVersionpublic void setOREBitstream(int bitstream_id)
setOREBitstream in interface AutoVersionpublic void setItemID(int itemID)
setItemID in interface AutoVersionpublic Date getVersionDate()
getVersionDate in interface AutoVersiongetVersionDate in interface org.dspace.versioning.Versionpublic void setVersionDate(Date versionDate)
public int getVersionNumber()
getVersionNumber in interface AutoVersiongetVersionNumber in interface org.dspace.versioning.Versionpublic void setVersionNumber(int versionNumber)
setVersionNumber in interface AutoVersionpublic String getSummary()
getSummary in interface AutoVersiongetSummary in interface org.dspace.versioning.Versionpublic void setSummary(String summary)
public String getVersionLog()
getVersionLog in interface AutoVersionpublic void setVersionLog(String summary)
setVersionLog in interface AutoVersionpublic int getVersionHistoryID()
getVersionHistoryID in interface AutoVersiongetVersionHistoryID in interface org.dspace.versioning.Versionpublic void setVersionHistory(int versionHistoryID)
public org.dspace.core.Context getMyContext()
protected org.dspace.storage.rdbms.TableRow getMyRow()
public String getHandle()
getHandle in interface AutoVersionpublic void setHandle(String handle)
public String[] getRestoreVersionLink(org.dspace.core.Context context, String knotId, String contextPath, boolean isLatestVersion)
getRestoreVersionLink in interface AutoVersionpublic String[] getViewVersionLink(org.dspace.core.Context context, String knotId, String contextPath, boolean isLatestVersion)
getViewVersionLink in interface AutoVersionpublic boolean canEditSummary(org.dspace.core.Context context,
String knotId,
String contextPath,
boolean isLatestVersion)
canEditSummary in interface AutoVersionpublic boolean isLastestVersion(org.dspace.core.Context context,
AutoVersionHistory history)
isLastestVersion in interface AutoVersionpublic org.dspace.content.Bitstream[] getBitstreams(org.dspace.core.Context context)
getBitstreams in interface AutoVersionCopyright © 2016 DuraSpace. All rights reserved.