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