Package org.dspace.qaevent.action
Class AMetadataMapAction
java.lang.Object
org.dspace.qaevent.action.AMetadataMapAction
- All Implemented Interfaces:
QualityAssuranceAction
- Direct Known Subclasses:
QANotifyMetadataMapAction,QAOpenaireMetadataMapAction
Implementation of
QualityAssuranceAction that add a specific metadata on the given
item based on the child class implementation.- Author:
- Francesco Bacchelli (francesco.bacchelli at 4science.it)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCorrection(Context context, Item item, Item relatedItem, QAMessageDTO message) Apply the correction on one metadata field of the given item based on the openaire message type.abstract StringextractMetadataType(QAMessageDTO message) abstract StringextractMetadataValue(QAMessageDTO message) getTypes()voidsetItemService(ItemService itemService) voidString[]splitMetadata(String metadata)
-
Field Details
-
DEFAULT
- See Also:
-
-
Constructor Details
-
AMetadataMapAction
public AMetadataMapAction()
-
-
Method Details
-
setItemService
-
getTypes
-
setTypes
-
extractMetadataType
-
extractMetadataValue
-
applyCorrection
Apply the correction on one metadata field of the given item based on the openaire message type.- Specified by:
applyCorrectionin interfaceQualityAssuranceAction- Parameters:
context- the DSpace contextitem- the item to correctrelatedItem- the related item, if anymessage- the message with the correction details
-
splitMetadata
-