暫無描述

51c029aaec5e3ba21bd67da827d67f6e3fb9f218.svn-base 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. package com.rdlze.radializebase.interfaces;
  2. import java.rmi.RemoteException;
  3. import java.util.List;
  4. import com.idealizeframework.irf.base.facade.RemoteFacade;
  5. import com.rdlze.radializebase.utils.AIRecommendedItem;
  6. import com.rdlze.radializebase.utils.FilterBean;
  7. /**
  8. *
  9. * @author Alex Amorim Dutra
  10. *
  11. */
  12. public interface RemoteRadializeCacheFacade extends RemoteFacade {
  13. // search by artist
  14. // 1
  15. public List<AIRecommendedItem> searchByArtistReturnArtists(long userId,
  16. List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
  17. // 2
  18. public List<AIRecommendedItem> searchByArtistReturnSongs(long userId,
  19. List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
  20. // 3
  21. public List<AIRecommendedItem> searchByArtistReturnRadios(long userId,
  22. List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
  23. // 4
  24. public List<AIRecommendedItem> searchByArtistReturnTags(long userId,
  25. List<Integer> artistsIds, int howMany, FilterBean filters) throws RemoteException;
  26. // search by song
  27. // 5
  28. public List<AIRecommendedItem> searchBySongReturnArtists(long userId,
  29. List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
  30. // 6
  31. public List<AIRecommendedItem> searchBySongReturnSongs(long userId,
  32. List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
  33. // 7
  34. public List<AIRecommendedItem> searchBySongReturnRadios(long userId,
  35. List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
  36. // 8
  37. public List<AIRecommendedItem> searchBySongReturnTags(long userId,
  38. List<Integer> songsIds, int howMany, FilterBean filters) throws RemoteException;
  39. // search by radio
  40. // 9
  41. public List<AIRecommendedItem> searchByRadioReturnArtists(long userId,
  42. List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
  43. // 10
  44. public List<AIRecommendedItem> searchByRadioReturnSongs(long userId,
  45. List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
  46. // 11
  47. public List<AIRecommendedItem> searchByRadioReturnRadios(long userId,
  48. List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
  49. // 12
  50. public List<AIRecommendedItem> searchByRadioReturnTags(long userId,
  51. List<Integer> radiosIds, int howMany, FilterBean filters) throws RemoteException;
  52. // search by tag
  53. // 13
  54. public List<AIRecommendedItem> searchByTagReturnArtists(long userId,
  55. List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
  56. // 14
  57. public List<AIRecommendedItem> searchByTagReturnSongs(long userId,
  58. List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
  59. // 15
  60. public List<AIRecommendedItem> searchByTagReturnRadios(long userId,
  61. List<Integer> tagsIds, int howMany, FilterBean filters) throws RemoteException;
  62. // 16
  63. public List<AIRecommendedItem> searchByTagReturnTags(long userId,
  64. List<Integer> tagsIds, int howMany,FilterBean filters) throws RemoteException;
  65. // get recommendations
  66. // 17
  67. public List<AIRecommendedItem> getRecommendationsArtists(long userId,
  68. int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
  69. // 18
  70. public List<AIRecommendedItem> getRecommendationsSongs(long userId,
  71. int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
  72. // 19
  73. public List<AIRecommendedItem> getRecommendationsRadios(long userId,
  74. int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
  75. // 20
  76. public List<AIRecommendedItem> getRecommendationsTags(long userId,
  77. int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
  78. // 21
  79. public List<AIRecommendedItem> getRecommendationsFriends(long userId,
  80. int howMany, List<Integer> momentsIds, FilterBean filters) throws RemoteException;
  81. }