org.dspace.app.itemupdate
Class AddBitstreamsAction

java.lang.Object
  extended by org.dspace.app.itemupdate.UpdateBitstreamsAction
      extended by org.dspace.app.itemupdate.AddBitstreamsAction
All Implemented Interfaces:
UpdateAction

public class AddBitstreamsAction
extends UpdateBitstreamsAction

Action to add bitstreams listed in item contents file to the item in DSpace


Field Summary
 
Fields inherited from class org.dspace.app.itemupdate.UpdateBitstreamsAction
alterProvenance
 
Constructor Summary
AddBitstreamsAction()
           
 
Method Summary
 void execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Adds bitstreams from the archive as listed in the contents file.
 
Methods inherited from class org.dspace.app.itemupdate.UpdateBitstreamsAction
getAlterProvenance, setAlterProvenance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddBitstreamsAction

public AddBitstreamsAction()
Method Detail

execute

public void execute(Context context,
                    ItemArchive itarch,
                    boolean isTest,
                    boolean suppressUndo)
             throws IllegalArgumentException,
                    ParseException,
                    IOException,
                    AuthorizeException,
                    SQLException
Adds bitstreams from the archive as listed in the contents file.

Parameters:
context -
ItemArchive -
isTest -
suppressUndo -
Throws:
IllegalArgumentException
ParseException
IOException
AuthorizeException
SQLException


Copyright © 2010 DuraSpace. All Rights Reserved.