|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.PermResponse
public class PermResponse
Response containing the permission flag for a specific permission request
Field Summary | |
---|---|
protected boolean |
granted
Permission granted |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
boolean |
isGranted()
Flag whether the permission is granted |
void |
setGranted(boolean granted)
Flag whether the permission is granted |
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse |
---|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean granted
Constructor Detail |
---|
public PermResponse()
public PermResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic PermResponse(boolean granted)
granted
- true if permission is granted, false if notMethod Detail |
---|
public void setGranted(boolean granted)
granted
- true if granted, false if notpublic boolean isGranted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |