Class RemediationServiceImpl

java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.RemediationServiceImpl
All Implemented Interfaces:
JAXRSService, RemediationService

@Service public class RemediationServiceImpl extends AbstractService implements RemediationService
  • Field Details

  • Constructor Details

  • Method Details

    • list

      Description copied from interface: RemediationService
      Returns a list of all remediations.
      Specified by:
      list in interface RemediationService
      Parameters:
      query - query conditions
      Returns:
      list of all remediations.
    • read

      public RemediationTO read(String key)
      Description copied from interface: RemediationService
      Returns remediation with matching key.
      Specified by:
      read in interface RemediationService
      Parameters:
      key - key of remediation to be read
      Returns:
      remediation with matching key
    • delete

      public Response delete(String key)
      Description copied from interface: RemediationService
      Deletes the remediation matching the given key.
      Specified by:
      delete in interface RemediationService
      Parameters:
      key - key for remediation to be deleted
      Returns:
      an empty response if operation was successful
    • remedy

      public Response remedy(String remediationKey, AnyCR anyCR)
      Description copied from interface: RemediationService
      Perform remediation by creating the provided user, group or any object.
      Specified by:
      remedy in interface RemediationService
      Parameters:
      remediationKey - key for remediation to act on
      anyCR - user, group or any object to create
      Returns:
      Response object featuring Location header of created object as well as the object itself enriched with propagation status information
    • remedy

      public Response remedy(String remediationKey, AnyUR anyUR)
      Description copied from interface: RemediationService
      Perform remediation by updating the provided user, group or any object.
      Specified by:
      remedy in interface RemediationService
      Parameters:
      remediationKey - key for remediation to act on
      anyUR - user, group or any object to update
      Returns:
      Response object featuring the updated object enriched with propagation status information
    • remedy

      public Response remedy(String remediationKey, String anyKey)
      Description copied from interface: RemediationService
      Perform remediation by deleting the provided user, group or any object.
      Specified by:
      remedy in interface RemediationService
      Parameters:
      remediationKey - key for remediation to act on
      anyKey - user's, group's or any object's key to delete
      Returns:
      Response object featuring the deleted object enriched with propagation status information