com.atlassian.jira.favourites.FavouritesStore |
Known Indirect Subclasses |
Store used for CRUD of Favourites.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create Favourites association between User and entity
| |||||||||||
Get the ids of a user's favourite Entities for a given entity type
| |||||||||||
Get the ids of a user's favourite Entities for a given entity type
| |||||||||||
Checks to see if entity is a favourite of the user passed in.
| |||||||||||
Remove Favourites association between User and entity
| |||||||||||
Remove all favourite associations for a given entity.
| |||||||||||
Remove the favourite associations for the given User and the given type
| |||||||||||
Called to update the sequence of a list of favourite
shared entities |
Create Favourites association between User and entity
user | User to associate entity with |
---|---|
entity | the entity to associate with |
Get the ids of a user's favourite Entities for a given entity type
userKey | The key of the user for the associated entities |
---|---|
entityType | The type of entities to get. E.g. SearchRequest.ENTITY_TYPE |
Get the ids of a user's favourite Entities for a given entity type
user | The user for the associated entities |
---|---|
entityType | The type of entities to get. E.g. SearchRequest.ENTITY_TYPE |
Checks to see if entity is a favourite of the user passed in.
user | to check entity with |
---|---|
entity | the entity to check with |
Remove Favourites association between User and entity
user | to disassociate entity with |
---|---|
entity | the entity to disassociate with |
Remove all favourite associations for a given entity.
entity | The entity to remove all associations with |
---|
Remove the favourite associations for the given User and the given type
user | The user with whom to disassociate entities with |
---|---|
entityType | The type of entity to disassociate user with. |
Called to update the sequence of a list of favourite shared entities
user | the user in play |
---|---|
favouriteEntities | the list specifying the order of the SharedEntity s
|