public class AddBitstreamsAction extends UpdateBitstreamsAction
| Modifier and Type | Field and Description |
|---|---|
protected AuthorizeService |
authorizeService |
protected BitstreamFormatService |
bitstreamFormatService |
protected GroupService |
groupService |
protected InstallItemService |
installItemService |
alterProvenance, bitstreamService, bundleServiceitemService| Constructor and Description |
|---|
AddBitstreamsAction() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addBitstream(Context context,
ItemArchive itarch,
Item item,
File dir,
ContentsEntry ce,
boolean suppressUndo,
boolean isTest) |
void |
execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds bitstreams from the archive as listed in the contents file.
|
getAlterProvenance, setAlterProvenanceprotected AuthorizeService authorizeService
protected BitstreamFormatService bitstreamFormatService
protected GroupService groupService
protected InstallItemService installItemService
public void execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) throws IllegalArgumentException, ParseException, IOException, AuthorizeException, SQLException
context - itarch - isTest - suppressUndo - IllegalArgumentExceptionParseExceptionIOExceptionAuthorizeExceptionSQLExceptionprotected String addBitstream(Context context, ItemArchive itarch, Item item, File dir, ContentsEntry ce, boolean suppressUndo, boolean isTest) throws IOException, IllegalArgumentException, SQLException, AuthorizeException, ParseException
Copyright © 2016 DuraSpace. All Rights Reserved.