public class PermBitsResponse extends GenericResponse
Modifier and Type | Field and Description |
---|---|
protected String |
perm
Permission bits from groups
|
protected PrivilegeMap |
privilegeMap
Privilege Map
|
protected String |
rolePerm
Permission bits from roles
|
Constructor and Description |
---|
PermBitsResponse()
Create an empty instance
|
PermBitsResponse(Message message,
ResponseInfo responseInfo)
Create response with message and response info
|
PermBitsResponse(String perm,
String rolePerm)
Create success response with perm bits String.
|
Modifier and Type | Method and Description |
---|---|
String |
getPerm()
Permission bits and roles
|
PrivilegeMap |
getPrivilegeMap()
Map representation of all privileges
|
String |
getRolePerm()
Get the role permission bits
|
void |
setPerm(String perm)
Set the permission bits and roles
|
void |
setPrivilegeMap(PrivilegeMap privilegeMap)
Set the privilege map
|
void |
setRolePerm(String rolePerm)
Set the role permission bits
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
protected String perm
protected String rolePerm
protected PrivilegeMap privilegeMap
public PermBitsResponse()
public PermBitsResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic String getPerm()
public void setPerm(String perm)
perm
- permission bits and rolespublic String getRolePerm()
public void setRolePerm(String rolePerm)
rolePerm
- role permission bitspublic PrivilegeMap getPrivilegeMap()
public void setPrivilegeMap(PrivilegeMap privilegeMap)
privilegeMap
- privilege mapCopyright © 2016 Gentics Software. All rights reserved.