org.dspace.content
Class InstallItem

java.lang.Object
  extended by org.dspace.content.InstallItem

public class InstallItem
extends Object

Support to install item in the archive

Version:
$Revision: 4277 $
Author:
dstuve

Constructor Summary
InstallItem()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallItem

public InstallItem()
Method Detail

installItem

public static Item installItem(Context c,
                               InProgressSubmission is)
                        throws SQLException,
                               IOException,
                               AuthorizeException
Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle

Parameters:
c - DSpace Context
is - submission to install
Returns:
the fully archived Item
Throws:
SQLException
IOException
AuthorizeException

installItem

public static Item installItem(Context c,
                               InProgressSubmission is,
                               String suppliedHandle)
                        throws SQLException,
                               IOException,
                               AuthorizeException
Take an InProgressSubmission and turn it into a fully-archived Item.

Parameters:
c - current context
is - submission to install
suppliedHandle - the existing Handle to give the installed item
Returns:
the fully archived Item
Throws:
SQLException
IOException
AuthorizeException

getBitstreamProvenanceMessage

public static String getBitstreamProvenanceMessage(Item myitem)
                                            throws SQLException
Generate provenance-worthy description of the bitstreams contained in an item.

Parameters:
myitem - the item generate description for
Returns:
provenance description
Throws:
SQLException


Copyright © 2010 DuraSpace. All Rights Reserved.