123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- 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;
- import com.rdlze.radializebase.utils.FilterBean;
-
- /**
- *
- * @author Alex Amorim Dutra
- *
- */
- public interface RemoteRadializeCacheFacade extends RemoteFacade {
-
- // search by artist
- // 1
- public List<AIRecommendedItem> searchByArtistReturnArtists(long userId,
- List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 2
- public List<AIRecommendedItem> searchByArtistReturnSongs(long userId,
- List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 3
- public List<AIRecommendedItem> searchByArtistReturnRadios(long userId,
- List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 4
- public List<AIRecommendedItem> searchByArtistReturnTags(long userId,
- List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // search by song
- // 5
- public List<AIRecommendedItem> searchBySongReturnArtists(long userId,
- List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 6
- public List<AIRecommendedItem> searchBySongReturnSongs(long userId,
- List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 7
- public List<AIRecommendedItem> searchBySongReturnRadios(long userId,
- List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 8
- public List<AIRecommendedItem> searchBySongReturnTags(long userId,
- List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // search by radio
- // 9
- public List<AIRecommendedItem> searchByRadioReturnArtists(long userId,
- List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 10
- public List<AIRecommendedItem> searchByRadioReturnSongs(long userId,
- List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 11
- public List<AIRecommendedItem> searchByRadioReturnRadios(long userId,
- List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 12
- public List<AIRecommendedItem> searchByRadioReturnTags(long userId,
- List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
-
- // search by tag
- // 13
- public List<AIRecommendedItem> searchByTagReturnArtists(long userId,
- List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 14
- public List<AIRecommendedItem> searchByTagReturnSongs(long userId,
- List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 15
- public List<AIRecommendedItem> searchByTagReturnRadios(long userId,
- List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
-
- // 16
- public List<AIRecommendedItem> searchByTagReturnTags(long userId,
- List<Integer> tagsIds, int howMany,FilterBean filters) throws RemoteException;
-
- // get recommendations
- // 17
- public List<AIRecommendedItem> getRecommendationsArtists(long userId,
- int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
-
- // 18
- public List<AIRecommendedItem> getRecommendationsSongs(long userId,
- int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
-
- // 19
- public List<AIRecommendedItem> getRecommendationsRadios(long userId,
- int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
-
- // 20
- public List<AIRecommendedItem> getRecommendationsTags(long userId,
- int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
-
- // 21
- public List<AIRecommendedItem> getRecommendationsFriends(long userId,
- int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
-
- }
|