Class SRARouteServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.SRARouteServiceImpl
- All Implemented Interfaces:
JAXRSService
,SRARouteService
-
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
(SRARouteTO routeTO) Creates a new route.void
Deletes route with matching key.list()
Returns a list of all existing routes.void
Push all routes to SRA.Returns route with matching key.void
update
(SRARouteTO routeTO) Updates route with matching 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
-
SRARouteServiceImpl
-
-
Method Details
-
list
Description copied from interface:SRARouteService
Returns a list of all existing routes.- Specified by:
list
in interfaceSRARouteService
- Returns:
- paged list of existing routes matching the given query
-
create
Description copied from interface:SRARouteService
Creates a new route.- Specified by:
create
in interfaceSRARouteService
- Parameters:
routeTO
- route to be created- Returns:
- Response object featuring Location header of created route
-
read
Description copied from interface:SRARouteService
Returns route with matching key.- Specified by:
read
in interfaceSRARouteService
- Parameters:
key
- key of route to be read- Returns:
- route with matching key
-
update
Description copied from interface:SRARouteService
Updates route with matching key.- Specified by:
update
in interfaceSRARouteService
- Parameters:
routeTO
- route to be stored
-
delete
Description copied from interface:SRARouteService
Deletes route with matching key.- Specified by:
delete
in interfaceSRARouteService
- Parameters:
key
- route key
-
pushToSRA
public void pushToSRA()Description copied from interface:SRARouteService
Push all routes to SRA.- Specified by:
pushToSRA
in interfaceSRARouteService
-