com.gentics.contentnode.rest.model.response
Class PermBitsResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.PermBitsResponse

public class PermBitsResponse
extends GenericResponse

Response containing permission and role bits


Field Summary
protected  java.lang.String perm
          Permission bits from groups
protected  java.lang.String rolePerm
          Permission bits from roles
 
Constructor Summary
PermBitsResponse()
          Create an empty instance
PermBitsResponse(Message message, ResponseInfo responseInfo)
          Create response with message and response info
PermBitsResponse(java.lang.String perm, java.lang.String rolePerm)
          Create success response with perm bits String.
 
Method Summary
 java.lang.String getPerm()
          Permission bits and roles
 java.lang.String getRolePerm()
          Get the role permission bits
 void setPerm(java.lang.String perm)
          Set the permission bits and roles
 void setRolePerm(java.lang.String rolePerm)
          Set the role permission bits
 
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

perm

protected java.lang.String perm
Permission bits from groups


rolePerm

protected java.lang.String rolePerm
Permission bits from roles

Constructor Detail

PermBitsResponse

public PermBitsResponse()
Create an empty instance


PermBitsResponse

public PermBitsResponse(Message message,
                        ResponseInfo responseInfo)
Create response with message and response info

Parameters:
message - message
responseInfo - response info

PermBitsResponse

public PermBitsResponse(java.lang.String perm,
                        java.lang.String rolePerm)
Create success response with perm bits String. Will have the response info set to Success

Parameters:
perm - perm String
rolePerm - role permissions
Method Detail

getPerm

public java.lang.String getPerm()
Permission bits and roles

Returns:
permission bits and roles

setPerm

public void setPerm(java.lang.String perm)
Set the permission bits and roles

Parameters:
perm - permission bits and roles

getRolePerm

public java.lang.String getRolePerm()
Get the role permission bits

Returns:
role permission bits

setRolePerm

public void setRolePerm(java.lang.String rolePerm)
Set the role permission bits

Parameters:
rolePerm - role permission bits


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.