Class ProviderFavoriteService
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.favorites.service.provider.ProviderFavoriteService
-
public class ProviderFavoriteService extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.util.List<Favorite>>getFavoritesListFromProvider()Get a map with providerName ==> list of Favorites objects for the providerNamestatic java.util.Map<java.lang.String,java.util.List<Favorite>>getFavoritesListFromProviderNewRemoteId()Get a map with providerName ==> list of Favorites objects for the providerName only for remote id not ever registered for this providerstatic ProviderFavoriteServicegetInstance()Get the instance of this service singleton
-
-
-
Method Detail
-
getInstance
public static ProviderFavoriteService getInstance()
Get the instance of this service singleton- Returns:
- the singleton of this service
-
getFavoritesListFromProvider
public static java.util.Map<java.lang.String,java.util.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 java.util.Map<java.lang.String,java.util.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
-
-