org.camunda.bpm.engine.rest.dto.authorization
Class AuthorizationCreateDto

java.lang.Object
  extended by org.camunda.bpm.engine.rest.dto.authorization.AuthorizationCreateDto

public class AuthorizationCreateDto
extends Object

Author:
Daniel Meyer

Field Summary
protected  String groupId
           
protected  String[] permissions
           
protected  String resourceId
           
protected  Integer resourceType
           
protected  Integer type
           
protected  String userId
           
 
Constructor Summary
AuthorizationCreateDto()
           
 
Method Summary
 String getGroupId()
           
 String[] getPermissions()
           
 String getResourceId()
           
 Integer getResourceType()
           
 int getType()
           
 String getUserId()
           
 void setGroupId(String groupId)
           
 void setPermissions(String[] permissions)
           
 void setResourceId(String resourceId)
           
 void setResourceType(Integer resourceType)
           
 void setType(int type)
           
 void setUserId(String userId)
           
static void update(AuthorizationCreateDto dto, Authorization dbAuthorization)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected Integer type

permissions

protected String[] permissions

userId

protected String userId

groupId

protected String groupId

resourceType

protected Integer resourceType

resourceId

protected String resourceId
Constructor Detail

AuthorizationCreateDto

public AuthorizationCreateDto()
Method Detail

update

public static void update(AuthorizationCreateDto dto,
                          Authorization dbAuthorization)

getType

public int getType()

setType

public void setType(int type)

getPermissions

public String[] getPermissions()

setPermissions

public void setPermissions(String[] permissions)

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getResourceType

public Integer getResourceType()

setResourceType

public void setResourceType(Integer resourceType)

getResourceId

public String getResourceId()

setResourceId

public void setResourceId(String resourceId)


Copyright © 2016 camunda services GmbH. All rights reserved.