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 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