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:PermittedGroupA UserPermission granted to this DirectoryGroup- Specified by:
getPermissionin interfacePermittedGroup- Returns:
- the permission
-
getDirectoryId
Description copied from interface:DirectoryGroupID of the directory this group belongs to- Specified by:
getDirectoryIdin 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:
getDirectoryNamein interfaceDirectoryGroup- Returns:
- the directory name
-
getGroupName
Description copied from interface:DirectoryGroupThe name of this group- Specified by:
getGroupNamein interfaceDirectoryGroup- Returns:
- the group name
-