Class RestPermittedGroup
java.lang.Object
com.atlassian.crowd.plugin.rest.entity.RestPermittedGroup
- All Implemented Interfaces:
DirectoryGroup
,PermittedGroup
-
Constructor Summary
ConstructorsConstructorDescriptionRestPermittedGroup
(String groupName, UserPermission permission, Long directoryId, String directoryName) -
Method Summary
Modifier and TypeMethodDescriptionID of the directory this group belongs toOptional.The name of this groupA UserPermission granted to this DirectoryGroup
-
Constructor Details
-
RestPermittedGroup
public RestPermittedGroup(String groupName, UserPermission permission, Long directoryId, String directoryName)
-
-
Method Details
-
getPermission
Description copied from interface:PermittedGroup
A UserPermission granted to this DirectoryGroup- Specified by:
getPermission
in interfacePermittedGroup
- Returns:
- the permission
-
getDirectoryId
Description copied from interface:DirectoryGroup
ID of the directory this group belongs to- Specified by:
getDirectoryId
in interfaceDirectoryGroup
- Returns:
- the directory id
-
getDirectoryName
Optional. The directoryName will be provided to distinguish between directories for a user. It is not provided if there is only 1 directory mapping, as it is redundant.- Specified by:
getDirectoryName
in interfaceDirectoryGroup
- Returns:
- the directory name
-
getGroupName
Description copied from interface:DirectoryGroup
The name of this group- Specified by:
getGroupName
in interfaceDirectoryGroup
- Returns:
- the group name
-