Class AuthorizationDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.authorization.AuthorizationDto
-
public class AuthorizationDto extends Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
groupId
protected String
id
protected String[]
permissions
protected Date
removalTime
protected String
resourceId
protected Integer
resourceType
protected String
rootProcessInstanceId
protected Integer
type
protected String
userId
-
Constructor Summary
Constructors Constructor Description AuthorizationDto()
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
type
protected Integer type
-
permissions
protected String[] permissions
-
userId
protected String userId
-
groupId
protected String groupId
-
resourceType
protected Integer resourceType
-
resourceId
protected String resourceId
-
removalTime
protected Date removalTime
-
rootProcessInstanceId
protected 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 List<AuthorizationDto> fromAuthorizationList(List<Authorization> resultList, ProcessEngineConfiguration engineConfiguration)
-
getId
public String getId()
-
setId
public void setId(String id)
-
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)
-
getRootProcessInstanceId
public String getRootProcessInstanceId()
-
setRootProcessInstanceId
public void setRootProcessInstanceId(String rootProcessInstanceId)
-
getRemovalTime
public Date getRemovalTime()
-
setRemovalTime
public void setRemovalTime(Date removalTime)
-
-