package com.rdlze.radializebase.interfaces; import java.rmi.RemoteException; import java.util.List; import com.idealizeframework.irf.base.facade.RemoteFacade; import com.rdlze.radializebase.utils.AIRecommendedItem; /** * * @author Alex Amorim Dutra * */ public interface RemoteRadializeBatchFacade extends RemoteFacade { /** * Process the recommendations request * * @param input * String with input from client * @return String with the recommendations * @throws RemoteException * thrown when this object cannot be accessed remotely */ public String getRecommendations(String input) throws RemoteException; // search by artist // 1 public List searchByArtistReturnArtists(long userId, List artistsIds, int howMany) throws RemoteException; // 2 public List searchByArtistReturnSongs(long userId, List artistsIds, int howMany) throws RemoteException; // 3 public List searchByArtistReturnRadios(long userId, List artistsIds, int howMany) throws RemoteException; // 4 public List searchByArtistReturnTags(long userId, List artistsIds, int howMany) throws RemoteException; // search by song // 5 public List searchBySongReturnArtists(long userId, List songsIds, int howMany) throws RemoteException; // 6 public List searchBySongReturnSongs(long userId, List songsIds, int howMany) throws RemoteException; // 7 public List searchBySongReturnRadios(long userId, List songsIds, int howMany) throws RemoteException; // 8 public List searchBySongReturnTags(long userId, List songsIds, int howMany) throws RemoteException; // search by radio // 9 public List searchByRadioReturnArtists(long userId, List radiosIds, int howMany) throws RemoteException; // 10 public List searchByRadioReturnSongs(long userId, List radiosIds, int howMany) throws RemoteException; // 11 public List searchByRadioReturnRadios(long userId, List radiosIds, int howMany) throws RemoteException; // 12 public List searchByRadioReturnTags(long userId, List radiosIds, int howMany) throws RemoteException; // search by tag // 13 public List searchByTagReturnArtists(long userId, List tagsIds, int howMany) throws RemoteException; // 14 public List searchByTagReturnSongs(long userId, List tagsIds, int howMany) throws RemoteException; // 15 public List searchByTagReturnRadios(long userId, List tagsIds, int howMany) throws RemoteException; // 16 public List searchByTagReturnTags(long userId, List tagsIds, int howMany) throws RemoteException; // get recommendations // 17 public List getRecommendationsArtists(long userId, int howMany, List momentsIds) throws RemoteException; // 18 public List getRecommendationsSongs(long userId, int howMany, List momentsIds) throws RemoteException; // 19 public List getRecommendationsRadios(long userId, int howMany, List momentsIds) throws RemoteException; // 20 public List getRecommendationsTags(long userId, int howMany, List momentsIds) throws RemoteException; // 21 public List getRecommendationsFriends(long userId, int howMany, List momentsIds) throws RemoteException; }