com.im.df/1 5.8

com.im.df.util
Class CTFavouritesUtils

java.lang.Object
  extended by com.im.df.util.CTFavouritesUtils

public class CTFavouritesUtils
extends Object

Various chemical terms favourites utils.


Constructor Summary
CTFavouritesUtils()
           
 
Method Summary
static List getAllFavouritesGroupedByType()
           
static List getAllFavouritesGroupedByType(String filter)
           
static Set<CTFavourite> getFavouritesForType(Class<? extends DFFieldDataTypeCapability> cls)
          Get set of Chemical terms favourites for the given type.
static Set<CTFavourite> getFavouritesForType(Class<? extends DFFieldDataTypeCapability> cls, String filter)
          Get set of Chemical terms favourites for the given type.
static CTFavouritesProvider getFavouritesProvider()
          Obtain a default implementation of Chemical terms favourites provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CTFavouritesUtils

public CTFavouritesUtils()
Method Detail

getFavouritesProvider

public static CTFavouritesProvider getFavouritesProvider()
Obtain a default implementation of Chemical terms favourites provider.

Returns:
The instance of CTFavouritesProvider,

getFavouritesForType

public static Set<CTFavourite> getFavouritesForType(Class<? extends DFFieldDataTypeCapability> cls)
Get set of Chemical terms favourites for the given type. The default sort is by name.


getFavouritesForType

public static Set<CTFavourite> getFavouritesForType(Class<? extends DFFieldDataTypeCapability> cls,
                                                    String filter)
Get set of Chemical terms favourites for the given type. The default sort is by name.


getAllFavouritesGroupedByType

public static List getAllFavouritesGroupedByType()

getAllFavouritesGroupedByType

public static List getAllFavouritesGroupedByType(String filter)

com.im.df/1 5.8