Package org.dspace.app.suggestion
Interface SuggestionProvider
- All Known Implementing Classes:
OpenAlexPublicationLoader,PublicationLoader,SolrSuggestionProvider
public interface SuggestionProvider
Interface for suggestion management like finding and counting.
- Author:
- Francesco Bacchelli (francesco.bacchelli at 4science.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlongcountAllTargets(Context context) count all suggestion targetslongcountUnprocessedSuggestionByTarget(Context context, UUID target) find unprocessed suggestions by target UUIDfindAllTargets(Context context, int pageSize, long offset) find all suggestion targetsfindAllUnprocessedSuggestions(Context context, UUID target, int pageSize, long offset, boolean ascending) find unprocessed suggestions (paged) by target UUIDfindTarget(Context context, UUID target) find a suggestion target by UUIDfindUnprocessedSuggestion(Context context, UUID target, String id) find an unprocessed suggestion by target UUID and suggestion idvoidflagRelatedSuggestionsAsProcessed(Context context, ExternalDataObject externalDataObject) flag a suggestion as processedvoidrejectSuggestion(Context context, UUID target, String idPart) reject a specific suggestion by target @param target and by suggestion id @param idPart
-
Method Details
-
findAllTargets
find all suggestion targets- See Also:
-
countAllTargets
count all suggestion targets -
findTarget
find a suggestion target by UUID -
findAllUnprocessedSuggestions
List<Suggestion> findAllUnprocessedSuggestions(Context context, UUID target, int pageSize, long offset, boolean ascending) find unprocessed suggestions (paged) by target UUID- See Also:
-
countUnprocessedSuggestionByTarget
find unprocessed suggestions by target UUID -
findUnprocessedSuggestion
find an unprocessed suggestion by target UUID and suggestion id -
rejectSuggestion
reject a specific suggestion by target @param target and by suggestion id @param idPart -
flagRelatedSuggestionsAsProcessed
flag a suggestion as processed
-