Class ClientAppServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.ClientAppServiceImpl
- All Implemented Interfaces:
ClientAppService,JAXRSService
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ClientAppType type, ClientAppTO clientAppTO) Create a new client app.voiddelete(ClientAppType type, String key) Delete client app matching the given key.<T extends ClientAppTO>
List<T> list(ClientAppType type) Returns a list of client apps of the matching type.<T extends ClientAppTO>
Tread(ClientAppType type, String key) Returns the client app matching the given key.voidupdate(ClientAppType type, ClientAppTO clientAppTO) Updates client app matching the given 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
-
ClientAppServiceImpl
-
-
Method Details
-
create
Description copied from interface:ClientAppServiceCreate a new client app.- Specified by:
createin interfaceClientAppService- Parameters:
type- client app typeclientAppTO- ClientApp to be created (needs to match type)- Returns:
- Response object featuring Location header of created client app
-
list
Description copied from interface:ClientAppServiceReturns a list of client apps of the matching type.- Specified by:
listin interfaceClientAppService- Type Parameters:
T- response type (extending ClientAppTO)- Parameters:
type- Type selector for requested client apps- Returns:
- list of client apps with matching type
-
read
Description copied from interface:ClientAppServiceReturns the client app matching the given key.- Specified by:
readin interfaceClientAppService- Type Parameters:
T- response type (extending ClientAppTO)- Parameters:
type- client app typekey- key of requested client app- Returns:
- client app with matching id
-
update
Description copied from interface:ClientAppServiceUpdates client app matching the given key.- Specified by:
updatein interfaceClientAppService- Parameters:
type- client app typeclientAppTO- ClientApp to replace existing client app
-
delete
Description copied from interface:ClientAppServiceDelete client app matching the given key.- Specified by:
deletein interfaceClientAppService- Parameters:
type- client app typekey- key of client app to be deleted
-