Class AttrRepoServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.AttrRepoServiceImpl
- All Implemented Interfaces:
AttrRepoService
,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
(AttrRepoTO attrRepoTO) Create a new attribute repository.void
Delete attribute repository matching the given key.list()
Returns a list of attribute repositories.Returns the attribute repository matching the given key.void
update
(AttrRepoTO attrRepoTO) Updates attribute repository 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
-
AttrRepoServiceImpl
-
-
Method Details
-
create
Description copied from interface:AttrRepoService
Create a new attribute repository.- Specified by:
create
in interfaceAttrRepoService
- Parameters:
attrRepoTO
- AttrRepo to be created.- Returns:
- Response object featuring Location header of created attribute repository
-
delete
Description copied from interface:AttrRepoService
Delete attribute repository matching the given key.- Specified by:
delete
in interfaceAttrRepoService
- Parameters:
key
- key of attribute repository to be deleted
-
list
Description copied from interface:AttrRepoService
Returns a list of attribute repositories.- Specified by:
list
in interfaceAttrRepoService
- Returns:
- list of attribute repositories
-
read
Description copied from interface:AttrRepoService
Returns the attribute repository matching the given key.- Specified by:
read
in interfaceAttrRepoService
- Parameters:
key
- key of requested attribute repository- Returns:
- attribute repository with matching id
-
update
Description copied from interface:AttrRepoService
Updates attribute repository matching the given key.- Specified by:
update
in interfaceAttrRepoService
- Parameters:
attrRepoTO
- AttrRepo to replace existing attribute repository
-