Package com.atlassian.jira.bc.favourites
Interface FavouritesService
- All Known Implementing Classes:
 DefaultFavouritesService
@PublicApi
public interface FavouritesService
Service for basic Favourites functionality.  Used for adding, removing and checking favourites of generic entities.
 Initially used by SearchRequests and Dashboards but can be easily extended.
- Since:
 - v3.13
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddFavourite(JiraServiceContext ctx, SharedEntity entity) Add the given entity as a favourite of the user passed in the contextvoidaddFavouriteInPosition(JiraServiceContext ctx, SharedEntity entity, long position) Add the given entity as a favourite of the user passed in the context and place it in the specified position.booleanisFavourite(ApplicationUser user, SharedEntity entity) Check that the given entity is a favourite of the user passed in the contextvoidremoveFavourite(JiraServiceContext ctx, SharedEntity entity) Remove the given entity as a favourite of the user passed in the context 
- 
Method Details