Class NotifyServicePatchUtils
java.lang.Object
org.dspace.app.rest.repository.patch.operation.ldn.NotifyServicePatchUtils
Util class for shared methods between the NotifyServiceEntity Operations
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected intextractIndexFromOperation(Operation operation) protected NotifyServiceInboundPatternExtract NotifyServiceInboundPattern from Operation by parsing the json and mapping it to a NotifyServiceInboundPatternprotected List<NotifyServiceInboundPattern>Extract list of NotifyServiceInboundPattern from Operation by parsing the json and mapping it to a list of NotifyServiceInboundPattern
-
Field Details
-
NOTIFY_SERVICE_INBOUND_PATTERNS
- See Also:
-
-
Method Details
-
extractNotifyServiceInboundPatternFromOperation
protected NotifyServiceInboundPattern extractNotifyServiceInboundPatternFromOperation(Operation operation) Extract NotifyServiceInboundPattern from Operation by parsing the json and mapping it to a NotifyServiceInboundPattern- Parameters:
operation- Operation whose value is being parsed- Returns:
- NotifyServiceInboundPattern extracted from json in operation value
-
extractNotifyServiceInboundPatternsFromOperation
protected List<NotifyServiceInboundPattern> extractNotifyServiceInboundPatternsFromOperation(Operation operation) Extract list of NotifyServiceInboundPattern from Operation by parsing the json and mapping it to a list of NotifyServiceInboundPattern- Parameters:
operation- Operation whose value is being parsed- Returns:
- list of NotifyServiceInboundPattern extracted from json in operation value
-
extractIndexFromOperation
-