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 String
rootResourcePath
-
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(String processEngineName, String userId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
deleteUser()
protected User
findUserObject()
UserProfileDto
getUserProfile(javax.ws.rs.core.UriInfo context)
void
unlockUser()
void
updateCredentials(UserCredentialsDto account)
void
updateProfile(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
-
-
-
-
Field Detail
-
rootResourcePath
protected String rootResourcePath
-
-
Method Detail
-
getUserProfile
public UserProfileDto getUserProfile(javax.ws.rs.core.UriInfo context)
- Specified by:
getUserProfile
in interfaceUserResource
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations
in interfaceUserResource
-
deleteUser
public void deleteUser()
- Specified by:
deleteUser
in interfaceUserResource
-
unlockUser
public void unlockUser()
- Specified by:
unlockUser
in interfaceUserResource
-
updateCredentials
public void updateCredentials(UserCredentialsDto account)
- Specified by:
updateCredentials
in interfaceUserResource
-
updateProfile
public void updateProfile(UserProfileDto profile)
- Specified by:
updateProfile
in interfaceUserResource
-
findUserObject
protected User findUserObject()
-
-