public class InternalGrantedPermission extends Object implements Serializable, PermittedGroup
Constructor and Description |
---|
InternalGrantedPermission(Long id,
Date createdDate,
UserPermission userPermission,
DirectoryMapping directoryMapping,
String groupName) |
InternalGrantedPermission(UserPermission userPermission,
DirectoryMapping directoryMapping,
String groupName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getCreatedDate() |
Long |
getDirectoryId()
ID of the directory this group belongs to
|
DirectoryMapping |
getDirectoryMapping() |
String |
getDirectoryName()
Convenience method - the name of the directory this group belongs to
|
String |
getGroupName()
The name of this group
|
Long |
getId() |
UserPermission |
getPermission()
A UserPermission granted to this DirectoryGroup
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate) |
void |
setPermission(UserPermission permission) |
String |
toString() |
public InternalGrantedPermission(Long id, Date createdDate, UserPermission userPermission, DirectoryMapping directoryMapping, String groupName)
public InternalGrantedPermission(UserPermission userPermission, DirectoryMapping directoryMapping, String groupName)
public Long getId()
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
public UserPermission getPermission()
PermittedGroup
getPermission
in interface PermittedGroup
public void setPermission(UserPermission permission)
public Long getDirectoryId()
DirectoryGroup
getDirectoryId
in interface DirectoryGroup
public String getDirectoryName()
DirectoryGroup
getDirectoryName
in interface DirectoryGroup
public String getGroupName()
DirectoryGroup
getGroupName
in interface DirectoryGroup
public DirectoryMapping getDirectoryMapping()
Copyright © 2021 Atlassian. All rights reserved.