|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface SharedEntity
Classes that implement this interface are able to Shared and Favourited. The Favouriting and Sharing mechanism need the type of object it is and the id.
Nested Class Summary | |
---|---|
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 . |
Method Summary | ||
---|---|---|
String |
getDescription()
A general description of the entity. |
|
|
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. |
Methods inherited from interface com.atlassian.jira.favourites.Favourite |
---|
getFavouriteCount |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |