Class PrivilegeResponse
- java.lang.Object
-
- org.flowable.idm.rest.service.api.privilege.PrivilegeResponse
-
public class PrivilegeResponse extends Object
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected List<GroupResponse>groupsprotected Stringidprotected Stringnameprotected List<UserResponse>users
-
Constructor Summary
Constructors Constructor Description PrivilegeResponse()PrivilegeResponse(String id, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroup(GroupResponse groupRepresentation)voidaddUser(UserResponse userRepresentation)List<GroupResponse>getGroups()StringgetId()StringgetName()List<UserResponse>getUsers()voidsetGroups(List<GroupResponse> groups)voidsetId(String id)voidsetName(String name)voidsetUsers(List<UserResponse> users)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
users
protected List<UserResponse> users
-
groups
protected List<GroupResponse> groups
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getUsers
public List<UserResponse> getUsers()
-
setUsers
public void setUsers(List<UserResponse> users)
-
addUser
public void addUser(UserResponse userRepresentation)
-
getGroups
public List<GroupResponse> getGroups()
-
setGroups
public void setGroups(List<GroupResponse> groups)
-
addGroup
public void addGroup(GroupResponse groupRepresentation)
-
-