Package org.dspace.app.itemupdate
Class DeleteBitstreamsAction
- java.lang.Object
-
- org.dspace.app.itemupdate.UpdateBitstreamsAction
-
- 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, bitstreamService, bundleService
-
Fields inherited from interface org.dspace.app.itemupdate.UpdateAction
itemService
-
-
Constructor Summary
Constructors Constructor Description DeleteBitstreamsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)Delete bitstream from item-
Methods inherited from class org.dspace.app.itemupdate.UpdateBitstreamsAction
getAlterProvenance, setAlterProvenance
-
-
-
-
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- DSpace Contextitarch- item archiveisTest- test flagsuppressUndo- undo flag- Throws:
IOException- if IO errorIllegalArgumentException- if arg exceptionSQLException- if database errorAuthorizeException- if authorization errorParseException- if parse error
-
-