java.lang.Object | |
↳ | com.atlassian.jira.favourites.CachingFavouritesStore |
Cache is keyed on userkey:type. This is very broken, but no more broken than any of the other caches.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create Favourites association between User and entity
| |||||||||||
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
| |||||||||||
This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
| |||||||||||
Called to update the sequence of a list of favourite
shared entities |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.extension.Startable
| |||||||||||
From interface
com.atlassian.jira.favourites.FavouritesStore
|
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
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. |
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
Exception |
---|
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
|