Class UserServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.AbstractSearchService
org.apache.syncope.core.rest.cxf.service.AbstractAnyService<UserTO,UserCR,UserUR>
org.apache.syncope.core.rest.cxf.service.UserServiceImpl
- All Implemented Interfaces:
AnyService<UserTO>
,JAXRSService
,UserService
@Service
public class UserServiceImpl
extends AbstractAnyService<UserTO,UserCR,UserUR>
implements UserService
-
Field Summary
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractSearchService
searchCondVisitor
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
ConstructorDescriptionUserServiceImpl
(SearchCondVisitor searchCondVisitor, UserDAO userDAO, UserLogic logic) -
Method Summary
Modifier and TypeMethodDescriptionCreates a new user.protected AnyDAO
<?> protected AbstractAnyLogic
<UserTO, UserCR, UserUR> protected UserUR
newUpdateReq
(String key) Performs a status update on given user.Updates user matching the provided key.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractAnyService
addUpdateOrReplaceAttr, associate, deassociate, delete, delete, doUpdate, findLastChange, read, read, read, search, update
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractSearchService
getSearchCond
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.common.rest.api.service.AnyService
associate, deassociate, delete, delete, read, read, update
Methods inherited from interface org.apache.syncope.common.rest.api.service.UserService
read, search
-
Field Details
-
Constructor Details
-
Method Details
-
getAnyDAO
- Specified by:
getAnyDAO
in classAbstractAnyService<UserTO,
UserCR, UserUR>
-
getAnyLogic
- Specified by:
getAnyLogic
in classAbstractAnyService<UserTO,
UserCR, UserUR>
-
newUpdateReq
- Specified by:
newUpdateReq
in classAbstractAnyService<UserTO,
UserCR, UserUR>
-
create
Description copied from interface:UserService
Creates a new user.- Specified by:
create
in interfaceUserService
- Parameters:
createReq
- user create request- Returns:
- Response object featuring Location header of created user as well as the user itself enriched with propagation status information
-
update
Description copied from interface:UserService
Updates user matching the provided key.- Specified by:
update
in interfaceUserService
- Parameters:
updateReq
- modification to be applied to user matching the provided key- Returns:
- Response object featuring the updated user enriched with propagation status information
-
status
Description copied from interface:UserService
Performs a status update on given user.- Specified by:
status
in interfaceUserService
- Parameters:
statusR
- status update details- Returns:
- Response object featuring the updated user enriched with propagation status information
-