org.camunda.bpm.engine.rest.sub.identity.impl
Class UserResourceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
              extended by org.camunda.bpm.engine.rest.sub.identity.impl.AbstractIdentityResource
                  extended by 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
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
UserResourceImpl(String processEngineName, String userId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
           
 void deleteUser()
           
protected  User findUserObject()
           
 UserProfileDto getUserProfile(javax.ws.rs.core.UriInfo context)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootResourcePath

protected String rootResourcePath
Constructor Detail

UserResourceImpl

public UserResourceImpl(String processEngineName,
                        String userId,
                        String rootResourcePath,
                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getUserProfile

public UserProfileDto getUserProfile(javax.ws.rs.core.UriInfo context)
Specified by:
getUserProfile in interface UserResource

availableOperations

public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
Specified by:
availableOperations in interface UserResource

deleteUser

public void deleteUser()
Specified by:
deleteUser in interface UserResource

updateCredentials

public void updateCredentials(UserCredentialsDto account)
Specified by:
updateCredentials in interface UserResource

updateProfile

public void updateProfile(UserProfileDto profile)
Specified by:
updateProfile in interface UserResource

findUserObject

protected User findUserObject()


Copyright © 2016 camunda services GmbH. All rights reserved.