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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupsResponse()
Create an empty responseGroupsResponse(Message message, ResponseInfo responseInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Group>
getGroups()
Map<Integer,Set<Permission>>
getPerms()
User permissions on the returned items, if requestedvoid
setGroups(List<Group> groups)
void
setPerms(Map<Integer,Set<Permission>> perms)
Set user permissions-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
GroupsResponse
public GroupsResponse()
Create an empty response
-
GroupsResponse
public GroupsResponse(Message message, ResponseInfo responseInfo)
- Parameters:
message
-responseInfo
-
-
-
Method Detail
-
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
-
-