Class GroupsResponse

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

public class GroupsResponse extends GenericResponse
Response for the request to get the groups
See Also:
  • Constructor Details

    • GroupsResponse

      public GroupsResponse()
      Create an empty response
    • GroupsResponse

      public GroupsResponse(Message message, ResponseInfo responseInfo)
      Parameters:
      message -
      responseInfo -
  • Method Details

    • getGroups

      public List<Group> getGroups()
      Returns:
      the groups
    • setGroups

      public void setGroups(List<Group> groups)
      Parameters:
      groups - the groups to set
    • getPerms

      public Map<Integer,Set<Permission>> getPerms()
      User permissions on the returned items, if requested
      Returns:
      map of permissions
    • setPerms

      public void setPerms(Map<Integer,Set<Permission>> perms)
      Set user permissions
      Parameters:
      perms - permissions