|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.aspect.versioning.VersionManager
public class VersionManager
| Constructor Summary | |
|---|---|
VersionManager()
|
|
| Method Summary | |
|---|---|
static FlowResult |
processCreateNewVersion(Context context,
int itemID,
String summary)
Create a new version of the specified item |
static FlowResult |
processDeleteVersions(Context context,
int itemId,
String[] versionIDs)
Delete version(s) |
static FlowResult |
processRestoreVersion(Context context,
int versionID,
String summary)
Restore a version |
static FlowResult |
processUpdateVersion(Context context,
int itemID,
String summary)
Modify latest version |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionManager()
| Method Detail |
|---|
public static FlowResult processCreateNewVersion(Context context,
int itemID,
String summary)
throws SQLException,
AuthorizeException,
IOException
context - The DSpace contextitemID - The id of the to-be-versioned item
SQLException
AuthorizeException
IOException
public static FlowResult processUpdateVersion(Context context,
int itemID,
String summary)
throws SQLException,
AuthorizeException,
IOException
context - The DSpace contextitemID - The id of the to-be-versioned item
SQLException
AuthorizeException
IOException
public static FlowResult processRestoreVersion(Context context,
int versionID,
String summary)
throws SQLException,
AuthorizeException,
IOException
versionID - id of the version to restorecontext - The DSpace context
SQLException
AuthorizeException
IOException
public static FlowResult processDeleteVersions(Context context,
int itemId,
String[] versionIDs)
throws SQLException,
AuthorizeException,
IOException,
UIException
context - The DSpace contextversionIDs - list of versionIDs to delete
SQLException
AuthorizeException
IOException
UIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||