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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyUtilsFactory
protected final RemediationLogic
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
Constructor Summary
ConstructorDescriptionRemediationServiceImpl
(RemediationLogic logic, AnyUtilsFactory anyUtilsFactory) -
Method Summary
Modifier and TypeMethodDescriptionDeletes the remediation matching the given key.list
(RemediationQuery query) Returns a list of all remediations.Returns remediation with matching key.Perform remediation by deleting the provided user, group or any object.Perform remediation by creating the provided user, group or any object.Perform remediation by updating the provided user, group or any object.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
anyUtilsFactory
-
-
Constructor Details
-
RemediationServiceImpl
-
-
Method Details
-
list
Description copied from interface:RemediationService
Returns a list of all remediations.- Specified by:
list
in interfaceRemediationService
- Parameters:
query
- query conditions- Returns:
- list of all remediations.
-
read
Description copied from interface:RemediationService
Returns remediation with matching key.- Specified by:
read
in interfaceRemediationService
- Parameters:
key
- key of remediation to be read- Returns:
- remediation with matching key
-
delete
Description copied from interface:RemediationService
Deletes the remediation matching the given key.- Specified by:
delete
in interfaceRemediationService
- Parameters:
key
- key for remediation to be deleted- Returns:
- an empty response if operation was successful
-
remedy
Description copied from interface:RemediationService
Perform remediation by creating the provided user, group or any object.- Specified by:
remedy
in interfaceRemediationService
- Parameters:
remediationKey
- key for remediation to act onanyCR
- 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
Description copied from interface:RemediationService
Perform remediation by updating the provided user, group or any object.- Specified by:
remedy
in interfaceRemediationService
- Parameters:
remediationKey
- key for remediation to act onanyUR
- user, group or any object to update- Returns:
- Response object featuring the updated object enriched with propagation status information
-
remedy
Description copied from interface:RemediationService
Perform remediation by deleting the provided user, group or any object.- Specified by:
remedy
in interfaceRemediationService
- Parameters:
remediationKey
- key for remediation to act onanyKey
- user's, group's or any object's key to delete- Returns:
- Response object featuring the deleted object enriched with propagation status information
-