Class NotifyServicePatchUtils

java.lang.Object
org.dspace.app.rest.repository.patch.operation.ldn.NotifyServicePatchUtils

@Component public final class NotifyServicePatchUtils extends Object
Util class for shared methods between the NotifyServiceEntity Operations
Author:
Mohamed Eskander (mohamed.eskander at 4science.com)
  • Field Details

  • 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

      protected int extractIndexFromOperation(Operation operation)