public abstract class AbstractVersionProvider extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AuthorizeService |
authorizeService |
protected BitstreamService |
bitstreamService |
protected BitstreamStorageService |
bitstreamStorageService |
protected BundleService |
bundleService |
protected ItemService |
itemService |
| Constructor and Description |
|---|
AbstractVersionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyMetadata(Context context,
Item itemNew,
Item nativeItem) |
protected Bitstream |
createBitstream(Context context,
Bitstream nativeBitstream) |
protected void |
createBundlesAndAddBitstreams(Context c,
Item itemNew,
Item nativeItem) |
Set |
getIgnoredMetadataFields() |
void |
setIgnoredMetadataFields(Set<String> ignoredMetadataFields) |
@Autowired(required=true) protected AuthorizeService authorizeService
@Autowired(required=true) protected BitstreamService bitstreamService
@Autowired(required=true) protected BitstreamStorageService bitstreamStorageService
@Autowired(required=true) protected BundleService bundleService
@Autowired(required=true) protected ItemService itemService
protected void copyMetadata(Context context, Item itemNew, Item nativeItem) throws SQLException
SQLExceptionprotected void createBundlesAndAddBitstreams(Context c, Item itemNew, Item nativeItem) throws SQLException, AuthorizeException, IOException
protected Bitstream createBitstream(Context context, Bitstream nativeBitstream) throws AuthorizeException, SQLException, IOException
public Set getIgnoredMetadataFields()
Copyright © 2016 DuraSpace. All Rights Reserved.