public class PermResponse extends GenericResponse
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
granted
Permission granted
|
| Constructor and Description |
|---|
PermResponse()
Create an empty instance
|
PermResponse(boolean granted)
Create success response with perm bits String.
|
PermResponse(Message message,
ResponseInfo responseInfo)
Create response with message and response info
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGranted()
Flag whether the permission is granted
|
void |
setGranted(boolean granted)
Flag whether the permission is granted
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfopublic PermResponse()
public PermResponse(Message message, ResponseInfo responseInfo)
message - messageresponseInfo - response infopublic PermResponse(boolean granted)
granted - true if permission is granted, false if notCopyright © 2024 Gentics Software. All rights reserved.