public class PermBitsResponse extends GenericResponse
Modifier and Type | Field and Description |
---|---|
protected String |
perm
Permission bits from groups
|
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
|
String |
getRolePerm()
Get the role permission bits
|
void |
setPerm(String perm)
Set the permission bits and roles
|
void |
setRolePerm(String rolePerm)
Set the role permission bits
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
protected String perm
protected String rolePerm
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 bitsCopyright © 2016 Gentics Software. All rights reserved.