Package | Description |
---|---|
eu.dnetlib.api.functionality |
Modifier and Type | Method and Description |
---|---|
void |
RecommendationService.addRecommendationToUser(String recommendationId,
String userId) |
String |
RecommendationService.generateAnnouncement(int index,
boolean active,
String announcementTitle,
String announcementText,
Date creationDate,
Date expirationDate)
creates a new recommendation of type announcement
|
String |
RecommendationService.generateCommunityRecommendation(int index,
boolean active,
String title,
String recommendationText,
Date creationDate,
Date expirationDate,
Set<String> communityIds)
creates a new recommendation of type community
|
eu.dnetlib.domain.functionality.Recommendation |
RecommendationService.generateRecommendation(int index,
boolean active,
String title,
String recommendationText,
Date creationDate,
Date expirationDate)
creates a new recommendation
|
String |
RecommendationService.generateUserRecommendation(int index,
boolean active,
String title,
String userId,
String recommendationText,
Date creationDate,
Date expirationDate)
creates a new recommendation of type user
|
List<String> |
RecommendationService.getAllAnnouncementIds()
retrieves ths ids of all announcements
|
List<eu.dnetlib.domain.functionality.Recommendation> |
RecommendationService.getAllAnnouncements()
retrieves the recommendation text of all announcements
|
List<String> |
RecommendationService.getAllCommunityRecommendations()
retrieves all recommendations of type community, only the content
|
List<String> |
RecommendationService.getAllCommunityRecommendations(String communityId)
retrieves all community recommendation content that are associated with a
community
|
List<eu.dnetlib.domain.functionality.Recommendation> |
RecommendationService.getAllCommunityRecommendationsObj()
retrieves all recommendations of type community, the objects
|
List<eu.dnetlib.domain.functionality.Recommendation> |
RecommendationService.getAllCommunityRecommendationsObj(String communityId)
retrieves all community recommendation objects that are associated with a
community.
|
List<String> |
RecommendationService.getAllUserRecommendations(String userId) |
List<String> |
RecommendationService.getAnnouncements()
retrieves the recommendation text of all announcements that haven't
expired
|
List<String> |
RecommendationService.getCommunityRecommendations(String communityId) |
List<String> |
RecommendationService.getCommunityRecommendationsForUser(String userId)
gets all the community recommendation for a specific user
|
List<eu.dnetlib.domain.functionality.Recommendation> |
RecommendationService.getCommunityRecommendationsForUserObj(String userId)
gets all the community recommendation objects for a specific user
|
List<eu.dnetlib.domain.functionality.Recommendation> |
RecommendationService.getCommunityRecommendationsObj(String communityId) |
eu.dnetlib.domain.functionality.Recommendation |
RecommendationService.getRecommendation(String recommendationId)
retrieves a recommendation
|
List<String> |
RecommendationService.getRecommendations(List<String> recommendationIds)
retrieves the recommendation text of a Set of recommendations
|
String |
RecommendationService.getRecommendationText(String recommendationId)
retrieves the text of a recommendation
|
void |
RecommendationService.removeAnnouncement(String announcementId)
removes a recommendation of type announcement
|
void |
RecommendationService.removeCommunityRecommendation(String recommendationId)
removes a recommendation of type community
|
void |
RecommendationService.removeRecommendation(String recommendationId)
removes a recommendation
|
void |
RecommendationService.removeUserRecommendation(String recommendationId) |
void |
RecommendationService.swapAnnouncements(String announcementId1,
String announcementId2)
Swap the index of 2 announcements
|
void |
RecommendationService.swapCommunityRecommendations(String announcementId1,
String announcementId2)
Swap the index of 2 community recommendations
|
void |
RecommendationService.swapUserRecommendations(String announcementId1,
String announcementId2)
Swap the index of 2 user recommendaitons
|
void |
RecommendationService.updateAnnouncement(String announcementId,
int index,
boolean active,
String announcementTitle,
String announcementText,
Date creationDate,
Date expirationDate)
updates an announcement and the corresponding recommendation
|
void |
RecommendationService.updateCommunityRecommendation(String recommendationId,
int index,
boolean active,
String title,
String recommendationText,
Date creationDate,
Date expirationDate,
Set<String> communityIds) |
void |
RecommendationService.updateRecommendation(String recommendationId,
int index,
boolean active,
String title,
String recommendationText,
Date creationDate,
Date expirationDate)
updates a recommendation
|
Copyright © 2023. All rights reserved.