java.lang.Object
com.orchestranetworks.addon.dama.externalmanagement.search.SearchConfig

public class SearchConfig extends Object
Defines the options to search for a digital asset
Since:
2.0.0
  • Constructor Details

    • SearchConfig

      public SearchConfig()
  • Method Details

    • getSorts

      public List<SortBy> getSorts()
      A sorted searching result have to order by fields which are appropriate to list of SortBy
      Returns:
      a list of available SortBy
    • getFeatures

      public List<SearchFeature> getFeatures()
      Returns:
      list of available SearchFeature to filter
    • setFeatures

      public void setFeatures(List<SearchFeature> features)
      KEYWORD is mandatory search feature and no need to configured
      Parameters:
      features - - searching futures. In case of no feature, there should be an empty list instead of null
    • setSorts

      public void setSorts(List<SortBy> sorts)
      Parameters:
      sorts - In case of no sorts, there should be an empty list instead of null
    • getDefault

      public static SearchConfig getDefault()
      Returns:
      Default SearchConfig with all SortBy and SearchFeature