Class PermBitsResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.PermBitsResponse
All Implemented Interfaces:
Serializable

public class PermBitsResponse extends GenericResponse
Response containing permission and role bits
See Also:
  • Field Details

    • perm

      protected String perm
      Permission bits from groups
    • rolePerm

      protected String rolePerm
      Permission bits from roles
    • privilegeMap

      protected PrivilegeMap privilegeMap
      Privilege Map
    • permissionsMap

      protected PermissionsMap permissionsMap
      Permissions Map
  • Constructor Details

    • 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(String perm, 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 Details

    • getPerm

      public String getPerm()
      Permission bits and roles
      Returns:
      permission bits and roles
    • setPerm

      public void setPerm(String perm)
      Set the permission bits and roles
      Parameters:
      perm - permission bits and roles
    • getRolePerm

      public String getRolePerm()
      Get the role permission bits
      Returns:
      role permission bits
    • setRolePerm

      public void setRolePerm(String rolePerm)
      Set the role permission bits
      Parameters:
      rolePerm - role permission bits
    • getPrivilegeMap

      public PrivilegeMap getPrivilegeMap()
      Deprecated.
      Map representation of all privileges
      Returns:
      privilege map
    • setPrivilegeMap

      public void setPrivilegeMap(PrivilegeMap privilegeMap)
      Deprecated.
      Set the privilege map
      Parameters:
      privilegeMap - privilege map
    • getPermissionsMap

      public PermissionsMap getPermissionsMap()
      Map representation of all permissions
      Returns:
      permissions map
    • setPermissionsMap

      public void setPermissionsMap(PermissionsMap permissionsMap)
      Set permissions map
      Parameters:
      permissionsMap - map