Class SearchConfig
- java.lang.Object
-
- com.orchestranetworks.addon.dama.externalmanagement.search.SearchConfig
-
public class SearchConfig extends java.lang.ObjectDefines the options to search for a digital asset- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description SearchConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchConfiggetDefault()java.util.List<SearchFeature>getFeatures()java.util.List<SortBy>getSorts()A sorted searching result have to order by fields which are appropriate to list ofSortByvoidsetFeatures(java.util.List<SearchFeature> features)KEYWORD is mandatory search feature and no need to configuredvoidsetSorts(java.util.List<SortBy> sorts)
-
-
-
Method Detail
-
getSorts
public java.util.List<SortBy> getSorts()
A sorted searching result have to order by fields which are appropriate to list ofSortBy- Returns:
- a list of available
SortBy
-
getFeatures
public java.util.List<SearchFeature> getFeatures()
- Returns:
- list of available
SearchFeatureto filter
-
setFeatures
public void setFeatures(java.util.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(java.util.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
SearchConfigwith allSortByandSearchFeature
-
-