org.dspace.app.itemupdate
Class DeleteBitstreamsAction

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

public class DeleteBitstreamsAction
extends UpdateBitstreamsAction

Action to delete bitstreams Undo not supported for this UpdateAction Derivatives of the bitstream to be deleted are not also deleted


Field Summary
 
Fields inherited from class org.dspace.app.itemupdate.UpdateBitstreamsAction
alterProvenance
 
Constructor Summary
DeleteBitstreamsAction()
           
 
Method Summary
 void execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
          Delete bitstream from item
 
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

DeleteBitstreamsAction

public DeleteBitstreamsAction()
Method Detail

execute

public void execute(Context context,
                    ItemArchive itarch,
                    boolean isTest,
                    boolean suppressUndo)
             throws IllegalArgumentException,
                    IOException,
                    SQLException,
                    AuthorizeException,
                    ParseException
Delete bitstream from item

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


Copyright © 2010 DuraSpace. All Rights Reserved.