Package com.logicaldoc.web.service
Class SearchOptionsConverter
java.lang.Object
com.logicaldoc.web.service.SearchOptionsConverter
- Direct Known Subclasses:
FolderOptionsConverter,FulltextOptionsConverter
Implementations must convert between
GUISearchOptions and concrete
SearchOptions- Since:
- 9.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoGUISearchOptions(SearchOptions searchOptions) Converts aSearchOptionsin the GUI counterparttoSearchOptions(GUISearchOptions guiOptions) Converts aGUISearchOptionsinto the right search option
-
Constructor Details
-
SearchOptionsConverter
public SearchOptionsConverter()
-
-
Method Details
-
toGUISearchOptions
Converts aSearchOptionsin the GUI counterpart- Parameters:
searchOptions- the search options- Returns:
- the converted options
-
toSearchOptions
Converts aGUISearchOptionsinto the right search option- Parameters:
guiOptions- the gui options to convert- Returns:
- converted options
-