java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.favorites.service.provider.ProviderFavoriteService

public class ProviderFavoriteService extends Object
  • Method Details

    • getInstance

      public static ProviderFavoriteService getInstance()
      Get the instance of this service singleton
      Returns:
      the singleton of this service
    • getFavoritesListFromProvider

      public static Map<String,List<Favorite>> getFavoritesListFromProvider()
      Get a map with providerName ==> list of Favorites objects for the providerName
      Returns:
      the Map with the list of Favorites corresponding to a providerName
    • getFavoritesListFromProviderNewRemoteId

      public static Map<String,List<Favorite>> getFavoritesListFromProviderNewRemoteId()
      Get a map with providerName ==> list of Favorites objects for the providerName only for remote id not ever registered for this provider
      Returns:
      the Map with the list of Favorites corresponding to a providerName only for remote id not ever registered for this provider