Class ImplementationServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.ImplementationServiceImpl
- All Implemented Interfaces:
ImplementationService
,JAXRSService
@Service
public class ImplementationServiceImpl
extends AbstractService
implements ImplementationService
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ImplementationTO implementationTO) Creates a new implementation.Deletes the implementation matching the given key and type.Returns a list of all implementations of the given type.Returns implementation with matching type and key.update
(ImplementationTO implementationTO) Updates an existing implementation.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
-
-
Constructor Details
-
ImplementationServiceImpl
-
-
Method Details
-
list
Description copied from interface:ImplementationService
Returns a list of all implementations of the given type.- Specified by:
list
in interfaceImplementationService
- Parameters:
type
- implementation type- Returns:
- list of all implementations.
-
read
Description copied from interface:ImplementationService
Returns implementation with matching type and key.- Specified by:
read
in interfaceImplementationService
- Parameters:
type
- implementation typekey
- key of implementation to be read- Returns:
- implementation with matching key
-
create
Description copied from interface:ImplementationService
Creates a new implementation.- Specified by:
create
in interfaceImplementationService
- Parameters:
implementationTO
- implementation.- Returns:
- Response object featuring Location header of created implementation
-
update
Description copied from interface:ImplementationService
Updates an existing implementation.- Specified by:
update
in interfaceImplementationService
- Parameters:
implementationTO
- implementation.- Returns:
- an empty response if operation was successful
-
delete
Description copied from interface:ImplementationService
Deletes the implementation matching the given key and type.- Specified by:
delete
in interfaceImplementationService
- Parameters:
type
- implementation typekey
- key for implementation to be deleted- Returns:
- an empty response if operation was successful
-