Class AuthorizationDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.authorization.AuthorizationDto
-
public class AuthorizationDto extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
groupId
protected java.lang.String
id
protected java.lang.String[]
permissions
protected java.util.Date
removalTime
protected java.lang.String
resourceId
protected java.lang.Integer
resourceType
protected java.lang.String
rootProcessInstanceId
protected java.lang.Integer
type
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description AuthorizationDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorizationDto
fromAuthorization(Authorization dbAuthorization, ProcessEngineConfiguration engineConfiguration)
static java.util.List<AuthorizationDto>
fromAuthorizationList(java.util.List<Authorization> resultList, ProcessEngineConfiguration engineConfiguration)
java.lang.String
getGroupId()
java.lang.String
getId()
java.lang.String[]
getPermissions()
java.util.Date
getRemovalTime()
java.lang.String
getResourceId()
java.lang.Integer
getResourceType()
java.lang.String
getRootProcessInstanceId()
int
getType()
java.lang.String
getUserId()
void
setGroupId(java.lang.String groupId)
void
setId(java.lang.String id)
void
setPermissions(java.lang.String[] permissions)
void
setRemovalTime(java.util.Date removalTime)
void
setResourceId(java.lang.String resourceId)
void
setResourceType(java.lang.Integer resourceType)
void
setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
void
setType(int type)
void
setUserId(java.lang.String userId)
static void
update(AuthorizationDto dto, Authorization dbAuthorization, ProcessEngineConfiguration engineConfiguration)
-
-
-
Field Detail
-
id
protected java.lang.String id
-
type
protected java.lang.Integer type
-
permissions
protected java.lang.String[] permissions
-
userId
protected java.lang.String userId
-
groupId
protected java.lang.String groupId
-
resourceType
protected java.lang.Integer resourceType
-
resourceId
protected java.lang.String resourceId
-
removalTime
protected java.util.Date removalTime
-
rootProcessInstanceId
protected java.lang.String rootProcessInstanceId
-
-
Method Detail
-
fromAuthorization
public static AuthorizationDto fromAuthorization(Authorization dbAuthorization, ProcessEngineConfiguration engineConfiguration)
-
update
public static void update(AuthorizationDto dto, Authorization dbAuthorization, ProcessEngineConfiguration engineConfiguration)
-
fromAuthorizationList
public static java.util.List<AuthorizationDto> fromAuthorizationList(java.util.List<Authorization> resultList, ProcessEngineConfiguration engineConfiguration)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getPermissions
public java.lang.String[] getPermissions()
-
setPermissions
public void setPermissions(java.lang.String[] permissions)
-
getUserId
public java.lang.String getUserId()
-
setUserId
public void setUserId(java.lang.String userId)
-
getGroupId
public java.lang.String getGroupId()
-
setGroupId
public void setGroupId(java.lang.String groupId)
-
getResourceType
public java.lang.Integer getResourceType()
-
setResourceType
public void setResourceType(java.lang.Integer resourceType)
-
getResourceId
public java.lang.String getResourceId()
-
setResourceId
public void setResourceId(java.lang.String resourceId)
-
getRootProcessInstanceId
public java.lang.String getRootProcessInstanceId()
-
setRootProcessInstanceId
public void setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
-
getRemovalTime
public java.util.Date getRemovalTime()
-
setRemovalTime
public void setRemovalTime(java.util.Date removalTime)
-
-