Class UserResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
-
- org.camunda.bpm.engine.rest.sub.identity.impl.AbstractIdentityResource
-
- org.camunda.bpm.engine.rest.sub.identity.impl.UserResourceImpl
-
- All Implemented Interfaces:
UserResource
public class UserResourceImpl extends AbstractIdentityResource implements UserResource
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringrootResourcePath-
Fields inherited from class org.camunda.bpm.engine.rest.sub.identity.impl.AbstractIdentityResource
identityService
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
resource, resourceId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
-
Constructor Summary
Constructors Constructor Description UserResourceImpl(java.lang.String processEngineName, java.lang.String userId, java.lang.String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOptionsDtoavailableOperations(javax.ws.rs.core.UriInfo context)voiddeleteUser()protected UserfindUserObject()UserProfileDtogetUserProfile(javax.ws.rs.core.UriInfo context)voidunlockUser()voidupdateCredentials(UserCredentialsDto account)voidupdateProfile(UserProfileDto profile)-
Methods inherited from class org.camunda.bpm.engine.rest.sub.identity.impl.AbstractIdentityResource
ensureNotReadOnly
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
isAuthorized, isAuthorized, isAuthorized
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getUserProfile
public UserProfileDto getUserProfile(javax.ws.rs.core.UriInfo context)
- Specified by:
getUserProfilein interfaceUserResource
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperationsin interfaceUserResource
-
deleteUser
public void deleteUser()
- Specified by:
deleteUserin interfaceUserResource
-
unlockUser
public void unlockUser()
- Specified by:
unlockUserin interfaceUserResource
-
updateCredentials
public void updateCredentials(UserCredentialsDto account)
- Specified by:
updateCredentialsin interfaceUserResource
-
updateProfile
public void updateProfile(UserProfileDto profile)
- Specified by:
updateProfilein interfaceUserResource
-
findUserObject
protected User findUserObject()
-
-