Package com.im.df.util
Interface CTFavouritesProvider
-
- All Known Implementing Classes:
CTFavouritesOptionsModel
public interface CTFavouritesProvider
Manager of Chemical terms favourites in the system. It can be used for obtaining favourites, adding or removing them.- Author:
- Petr Hamernik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFavourite(CTFavourite favourite)
Add a new favourite CT expressionSet<CTFavourite>
getFavourites()
Get all favourites registered to the system.void
removeFavourite(CTFavourite favourite)
Remove the favourite
-
-
-
Method Detail
-
getFavourites
Set<CTFavourite> getFavourites()
Get all favourites registered to the system.- Returns:
- Set of all current CT favourites
-
addFavourite
void addFavourite(CTFavourite favourite)
Add a new favourite CT expression- Parameters:
favourite
- New favourite to be added
-
removeFavourite
void removeFavourite(CTFavourite favourite)
Remove the favourite- Parameters:
favourite
- Favourite to be removed
-
-