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
FieldsModifier and TypeFieldDescriptionprotected final AnyUtilsFactoryprotected final RemediationLogicFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields 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
ConstructorsConstructorDescriptionRemediationServiceImpl(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:RemediationServiceReturns a list of all remediations.- Specified by:
listin interfaceRemediationService- Parameters:
query- query conditions- Returns:
- list of all remediations.
-
read
Description copied from interface:RemediationServiceReturns remediation with matching key.- Specified by:
readin interfaceRemediationService- Parameters:
key- key of remediation to be read- Returns:
- remediation with matching key
-
delete
Description copied from interface:RemediationServiceDeletes the remediation matching the given key.- Specified by:
deletein interfaceRemediationService- Parameters:
key- key for remediation to be deleted- Returns:
- an empty response if operation was successful
-
remedy
Description copied from interface:RemediationServicePerform remediation by creating the provided user, group or any object.- Specified by:
remedyin 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:RemediationServicePerform remediation by updating the provided user, group or any object.- Specified by:
remedyin 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:RemediationServicePerform remediation by deleting the provided user, group or any object.- Specified by:
remedyin 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
-