Package org.dspace.app.itemupdate
Class DeleteBitstreamsAction
java.lang.Object
org.dspace.app.itemupdate.UpdateBitstreamsAction
org.dspace.app.itemupdate.DeleteBitstreamsAction
- All Implemented Interfaces:
UpdateAction
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, bundleServiceFields inherited from interface org.dspace.app.itemupdate.UpdateAction
itemService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete bitstream from itemMethods inherited from class org.dspace.app.itemupdate.UpdateBitstreamsAction
getAlterProvenance, setAlterProvenance
-
Constructor Details
-
DeleteBitstreamsAction
public DeleteBitstreamsAction()
-
-
Method Details
-
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
-