Class RoleServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.RoleServiceImpl
- All Implemented Interfaces:
JAXRSService,RoleService
-
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 TypeMethodDescriptionCreates a new role.voidDeletes the role matching the provided key.getAnyLayout(String key) Gets the console layout information as JSON string for the role with the given key, if available.list()Returns a list of all roles.Returns role with matching key.voidremoveAnyLayout(String key) Removes the console layout information for the role with the given key, if available.voidsetAnyLayout(String key, InputStream anyLayoutIn) Sets the console layout information as JSON string for the role with the given key, if available.voidUpdates the role 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
-
RoleServiceImpl
-
-
Method Details
-
list
Description copied from interface:RoleServiceReturns a list of all roles.- Specified by:
listin interfaceRoleService- Returns:
- list of all roles.
-
read
Description copied from interface:RoleServiceReturns role with matching key.- Specified by:
readin interfaceRoleService- Parameters:
key- role key to be read- Returns:
- role with matching key
-
create
Description copied from interface:RoleServiceCreates a new role.- Specified by:
createin interfaceRoleService- Parameters:
roleTO- role to be created- Returns:
- Response object featuring Location header of created role
-
update
Description copied from interface:RoleServiceUpdates the role matching the provided key.- Specified by:
updatein interfaceRoleService- Parameters:
roleTO- role to be stored
-
delete
Description copied from interface:RoleServiceDeletes the role matching the provided key.- Specified by:
deletein interfaceRoleService- Parameters:
key- role key to be deleted
-
getAnyLayout
Description copied from interface:RoleServiceGets the console layout information as JSON string for the role with the given key, if available.- Specified by:
getAnyLayoutin interfaceRoleService- Parameters:
key- role key- Returns:
- console layout information as JSON string for the role with the given key, if available
-
setAnyLayout
Description copied from interface:RoleServiceSets the console layout information as JSON string for the role with the given key, if available.- Specified by:
setAnyLayoutin interfaceRoleService- Parameters:
key- role keyanyLayoutIn- console layout information to be set
-
removeAnyLayout
Description copied from interface:RoleServiceRemoves the console layout information for the role with the given key, if available.- Specified by:
removeAnyLayoutin interfaceRoleService- Parameters:
key- role key
-