public class InstallItem extends Object
| Constructor and Description |
|---|
InstallItem() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getBitstreamProvenanceMessage(Item myitem)
Generate provenance-worthy description of the bitstreams contained in an
item.
|
static Item |
installItem(Context c,
InProgressSubmission is)
Take an InProgressSubmission and turn it into a fully-archived Item,
creating a new Handle.
|
static Item |
installItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Take an InProgressSubmission and turn it into a fully-archived Item.
|
static Item |
restoreItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Turn an InProgressSubmission into a fully-archived Item, for
a "restore" operation such as ingestion of an AIP to recreate an
archive.
|
public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException
c - DSpace Contextis - submission to installSQLExceptionIOExceptionAuthorizeExceptionpublic static Item installItem(Context c, InProgressSubmission is, String suppliedHandle) throws SQLException, IOException, AuthorizeException
c - current contextis - submission to installsuppliedHandle - the existing Handle to give to the installed itemSQLExceptionIOExceptionAuthorizeExceptionpublic static Item restoreItem(Context c, InProgressSubmission is, String suppliedHandle) throws SQLException, IOException, AuthorizeException
c - current contextis - submission to installsuppliedHandle - the existing Handle to give the installed item, or null
to create a new one.SQLExceptionIOExceptionAuthorizeExceptionpublic static String getBitstreamProvenanceMessage(Item myitem) throws SQLException
myitem - the item to generate description forSQLExceptionCopyright © 2015 DuraSpace. All Rights Reserved.