Class InternalGrantedPermission
java.lang.Object
com.atlassian.crowd.model.permission.InternalGrantedPermission
- All Implemented Interfaces:
DirectoryGroup
,PermittedGroup
,Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionInternalGrantedPermission
(UserPermission userPermission, DirectoryMapping directoryMapping, String groupName) InternalGrantedPermission
(Long id, Date createdDate, UserPermission userPermission, DirectoryMapping directoryMapping, String groupName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
ID 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 DirectoryGroupint
hashCode()
void
setCreatedDate
(Date createdDate) void
setPermission
(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:PermittedGroup
A UserPermission granted to this DirectoryGroup- Specified by:
getPermission
in interfacePermittedGroup
- Returns:
- the permission
-
setPermission
-
getDirectoryId
Description copied from interface:DirectoryGroup
ID of the directory this group belongs to- Specified by:
getDirectoryId
in interfaceDirectoryGroup
- Returns:
- the directory id
-
getDirectoryName
Description copied from interface:DirectoryGroup
Convenience method - the name of the directory this group belongs to- 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
-
getDirectoryMapping
-
toString
-
equals
-
hashCode
public int hashCode()
-