@PublicApi public interface SharedEntity extends Favourite
Modifier and Type | Interface and Description |
---|---|
static class |
SharedEntity.Identifier
Utility class for identifying a
SharedEntity . |
static class |
SharedEntity.SharePermissions
Encapsulates the permissions that a
SharedEntity has. |
static class |
SharedEntity.TypeDescriptor<S extends SharedEntity>
The name and type of a
SharedEntity . |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
A general description of the entity.
|
<S extends SharedEntity> |
getEntityType()
The type of entity it is.
|
Long |
getId()
The id of the entity.
|
String |
getName()
The name of the entity.
|
ApplicationUser |
getOwner() |
String |
getOwnerUserName()
Deprecated.
Use
getOwner() instead. Since v6.0.
The user name of the owner of the entity. Will always have permission to see it and see all shares. |
SharedEntity.SharePermissions |
getPermissions()
The permissions for this entity.
|
getFavouriteCount
Long getId()
String getName()
String getDescription()
<S extends SharedEntity> SharedEntity.TypeDescriptor<S> getEntityType()
String getOwnerUserName()
getOwner()
instead. Since v6.0.
The user name of the owner of the entity. Will always have permission to see it and see all shares.
ApplicationUser getOwner()
SharedEntity.SharePermissions getPermissions()
Copyright © 2002-2019 Atlassian. All Rights Reserved.