Package com.orchestranetworks.addon.tese
Interface HistoryOperations
-
public interface HistoryOperations
Operations used to handle search history.- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
clearDatasetSearchHistory(com.onwbp.adaptation.Adaptation dataset, com.orchestranetworks.service.UserReference userReference)
Deletes all records in the History table for the current user at the dataset search scope.boolean
clearRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference)
Deletes all records in the History table for the current user at the repository search scope.java.util.List<SearchHistory>
getDatasetSearchHistory(com.onwbp.adaptation.Adaptation dataset, com.orchestranetworks.service.UserReference userReference)
Retrieves the current user's search history for the specified dataset.java.util.List<SearchHistory>
getRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference)
Retrieves the current user's repository search history.
-
-
-
Method Detail
-
getRepositorySearchHistory
java.util.List<SearchHistory> getRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference)
Retrieves the current user's repository search history.
-
getDatasetSearchHistory
java.util.List<SearchHistory> getDatasetSearchHistory(com.onwbp.adaptation.Adaptation dataset, com.orchestranetworks.service.UserReference userReference)
Retrieves the current user's search history for the specified dataset.
-
clearRepositorySearchHistory
boolean clearRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference)
Deletes all records in the History table for the current user at the repository search scope.- Returns:
true
if the clear operation succeeds andfalse
otherwise.
-
clearDatasetSearchHistory
boolean clearDatasetSearchHistory(com.onwbp.adaptation.Adaptation dataset, com.orchestranetworks.service.UserReference userReference)
Deletes all records in the History table for the current user at the dataset search scope.- Returns:
true
if the clear operation succeeds andfalse
otherwise.
-
-