Class DelegationServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.DelegationServiceImpl
- All Implemented Interfaces:
DelegationService
,JAXRSService
-
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
(DelegationTO applicationTO) Creates a new delegation.void
Deletes the delegation matching the provided key.list()
Returns a list of all delegations.Returns delegation with matching key.void
update
(DelegationTO applicationTO) Updates the delegation matching the provided key.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
-
DelegationServiceImpl
-
-
Method Details
-
list
Description copied from interface:DelegationService
Returns a list of all delegations.- Specified by:
list
in interfaceDelegationService
- Returns:
- list of all delegations.
-
read
Description copied from interface:DelegationService
Returns delegation with matching key.- Specified by:
read
in interfaceDelegationService
- Parameters:
key
- delegation key to be read- Returns:
- delegation with matching key
-
create
Description copied from interface:DelegationService
Creates a new delegation.- Specified by:
create
in interfaceDelegationService
- Parameters:
applicationTO
- delegation to be created- Returns:
- Response object featuring Location header of created delegation
-
update
Description copied from interface:DelegationService
Updates the delegation matching the provided key.- Specified by:
update
in interfaceDelegationService
- Parameters:
applicationTO
- delegation to be stored
-
delete
Description copied from interface:DelegationService
Deletes the delegation matching the provided key.- Specified by:
delete
in interfaceDelegationService
- Parameters:
key
- delegation key to be deleted
-