Class InternalGrantedPermission
java.lang.Object
com.atlassian.crowd.model.permission.InternalGrantedPermission
- All Implemented Interfaces:
DirectoryGroup,PermittedGroup,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalGrantedPermission(UserPermission userPermission, DirectoryMapping directoryMapping, String groupName) InternalGrantedPermission(Long id, Date createdDate, UserPermission userPermission, DirectoryMapping directoryMapping, String groupName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanID of the directory this group belongs toConvenience method - the name of the directory this group belongs toThe name of this groupgetId()A UserPermission granted to this DirectoryGroupinthashCode()voidsetCreatedDate(Date createdDate) voidsetPermission(UserPermission permission) toString()
-
Constructor Details
-
InternalGrantedPermission
public InternalGrantedPermission(Long id, Date createdDate, UserPermission userPermission, DirectoryMapping directoryMapping, String groupName) -
InternalGrantedPermission
public InternalGrantedPermission(UserPermission userPermission, DirectoryMapping directoryMapping, String groupName)
-
-
Method Details
-
getId
-
getCreatedDate
-
setCreatedDate
-
getPermission
Description copied from interface:PermittedGroupA UserPermission granted to this DirectoryGroup- Specified by:
getPermissionin interfacePermittedGroup- Returns:
- the permission
-
setPermission
-
getDirectoryId
Description copied from interface:DirectoryGroupID of the directory this group belongs to- Specified by:
getDirectoryIdin interfaceDirectoryGroup- Returns:
- the directory id
-
getDirectoryName
Description copied from interface:DirectoryGroupConvenience method - the name of the directory this group belongs to- 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
-
getDirectoryMapping
-
toString
-
equals
-
hashCode
public int hashCode()
-