public static class SharedEntity.Identifier extends Object implements SharedEntity
SharedEntity. This can be used instead of a "proper" implementation.SharedEntity.Identifier, SharedEntity.SharePermissions, SharedEntity.TypeDescriptor<S extends SharedEntity>| Constructor and Description |
|---|
Identifier(Long id,
SharedEntity.TypeDescriptor<? extends SharedEntity> type,
ApplicationUser owner) |
Identifier(Long id,
SharedEntity.TypeDescriptor<? extends SharedEntity> type,
String ownerUserName)
Deprecated.
Use
#Identifier(Long, com.atlassian.jira.sharing.SharedEntity.TypeDescriptor, com.atlassian.jira.user.ApplicationUser) instead. Since v6.0. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription()
A general description of the entity.
|
SharedEntity.TypeDescriptor<SharedEntity> |
getEntityType()
The type of entity it is.
|
Long |
getFavouriteCount()
The number of users who have marked this entity as one of their favourites.
|
Long |
getId()
The id of the entity.
|
String |
getName()
The name of the entity.
|
ApplicationUser |
getOwner() |
String |
getOwnerUserName() |
SharedEntity.SharePermissions |
getPermissions()
The permissions for this entity.
|
int |
hashCode() |
String |
toString() |
public Identifier(Long id, SharedEntity.TypeDescriptor<? extends SharedEntity> type, String ownerUserName)
#Identifier(Long, com.atlassian.jira.sharing.SharedEntity.TypeDescriptor, com.atlassian.jira.user.ApplicationUser) instead. Since v6.0.id - type - ownerUserName - public Identifier(Long id, SharedEntity.TypeDescriptor<? extends SharedEntity> type, ApplicationUser owner)
public Long getId()
SharedEntitygetId in interface SharedEntitypublic SharedEntity.TypeDescriptor<SharedEntity> getEntityType()
SharedEntitygetEntityType in interface SharedEntitypublic String getName()
SharedEntitygetName in interface SharedEntitypublic String getDescription()
SharedEntitygetDescription in interface SharedEntitypublic String getOwnerUserName()
getOwnerUserName in interface SharedEntitypublic ApplicationUser getOwner()
getOwner in interface SharedEntitypublic SharedEntity.SharePermissions getPermissions()
SharedEntitygetPermissions in interface SharedEntitypublic Long getFavouriteCount()
FavouritegetFavouriteCount in interface FavouriteCopyright © 2002-2022 Atlassian. All Rights Reserved.