Package com.orchestranetworks.addon.tese
Interface HistoryOperations
public interface HistoryOperations
Operations used to handle search history.
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclearDatasetSearchHistory(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.booleanclearRepositorySearchHistory(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.getDatasetSearchHistory(com.onwbp.adaptation.Adaptation dataset, com.orchestranetworks.service.UserReference userReference) Retrieves the current user's search history for the specified dataset.getRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference) Retrieves the current user's repository search history.
-
Method Details
-
getRepositorySearchHistory
List<SearchHistory> getRepositorySearchHistory(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.UserReference userReference) Retrieves the current user's repository search history. -
getDatasetSearchHistory
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:
trueif the clear operation succeeds andfalseotherwise.
-
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:
trueif the clear operation succeeds andfalseotherwise.
-