Interface HistoryOperations


public interface HistoryOperations
Operations used to handle search history.
Since:
2.1.0
  • Method Summary

    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.
    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:
      true if the clear operation succeeds and false 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 and false otherwise.