Class RemediationServiceImpl

    • Method Detail

      • delete

        public javax.ws.rs.core.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 javax.ws.rs.core.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 javax.ws.rs.core.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 javax.ws.rs.core.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