public class AuthorizationDto extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
groupId |
protected String |
id |
protected String[] |
permissions |
protected String |
resourceId |
protected Integer |
resourceType |
protected Integer |
type |
protected String |
userId |
Constructor and Description |
---|
AuthorizationDto() |
Modifier and Type | Method and Description |
---|---|
static AuthorizationDto |
fromAuthorization(Authorization dbAuthorization) |
static List<AuthorizationDto> |
fromAuthorizationList(List<Authorization> resultList) |
String |
getGroupId() |
String |
getId() |
String[] |
getPermissions() |
String |
getResourceId() |
Integer |
getResourceType() |
int |
getType() |
String |
getUserId() |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setPermissions(String[] permissions) |
void |
setResourceId(String resourceId) |
void |
setResourceType(Integer resourceType) |
void |
setType(int type) |
void |
setUserId(String userId) |
static void |
update(AuthorizationDto dto,
Authorization dbAuthorization) |
protected String id
protected Integer type
protected String[] permissions
protected String userId
protected String groupId
protected Integer resourceType
protected String resourceId
public static AuthorizationDto fromAuthorization(Authorization dbAuthorization)
public static void update(AuthorizationDto dto, Authorization dbAuthorization)
public static List<AuthorizationDto> fromAuthorizationList(List<Authorization> resultList)
public String getId()
public void setId(String id)
public int getType()
public void setType(int type)
public String[] getPermissions()
public void setPermissions(String[] permissions)
public String getUserId()
public void setUserId(String userId)
public String getGroupId()
public void setGroupId(String groupId)
public Integer getResourceType()
public void setResourceType(Integer resourceType)
public String getResourceId()
public void setResourceId(String resourceId)
Copyright © 2017. All rights reserved.