Class WAClientAppServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.wa.WAClientAppServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,WAClientAppService
@Service public class WAClientAppServiceImpl extends AbstractService implements WAClientAppService
-
-
Field Summary
Fields Modifier and Type Field Description protected WAClientAppLogic
logic
-
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
Constructors Constructor Description WAClientAppServiceImpl(WAClientAppLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WAClientApp>
list()
Returns a list of all client applications available.WAClientApp
read(Long clientAppId, ClientAppType type)
Returns client application with matching type and clientAppId, if found.WAClientApp
read(String name, ClientAppType type)
Returns client application with matching type and name, if found.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final WAClientAppLogic logic
-
-
Constructor Detail
-
WAClientAppServiceImpl
public WAClientAppServiceImpl(WAClientAppLogic logic)
-
-
Method Detail
-
list
public List<WAClientApp> list()
Description copied from interface:WAClientAppService
Returns a list of all client applications available.- Specified by:
list
in interfaceWAClientAppService
- Returns:
- list of all client applications.
-
read
public WAClientApp read(Long clientAppId, ClientAppType type)
Description copied from interface:WAClientAppService
Returns client application with matching type and clientAppId, if found.- Specified by:
read
in interfaceWAClientAppService
- Parameters:
clientAppId
- registered client application ID to be readtype
- client application type- Returns:
- client application with matching type and clientAppId
-
read
public WAClientApp read(String name, ClientAppType type)
Description copied from interface:WAClientAppService
Returns client application with matching type and name, if found.- Specified by:
read
in interfaceWAClientAppService
- Parameters:
name
- registered client application name to be readtype
- client application type- Returns:
- client application with matching type and name
-
-