Package org.apache.juneau.objecttools
Class SearchArgs
java.lang.Object
org.apache.juneau.objecttools.SearchArgs
-
Constructor Summary
ConstructorDescriptionSearchArgs
(String searchArgs) Constructor.SearchArgs
(List<String> searchArgs) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionAppends the specified search argument.static SearchArgs
Static creator.static SearchArgs
Static creator.The query search terms.
-
Constructor Details
-
SearchArgs
Constructor.- Parameters:
searchArgs
- Search arguments.
-
SearchArgs
Constructor.- Parameters:
searchArgs
- Search arguments.
-
-
Method Details
-
create
Static creator.- Parameters:
args
- Comma-delimited list of search arguments.- Returns:
- A new
SearchArgs
object.
-
create
Static creator.- Parameters:
args
- List of search arguments.- Returns:
- A new
SearchArgs
object.
-
append
Appends the specified search argument.- Parameters:
column
- The column name to search.searchTerm
- The search term.- Returns:
- This object.
-
getSearch
The query search terms.The search terms are key/value pairs consisting of column-names and search tokens.
It's up to implementers to decide the syntax and meaning of the search term.
- Returns:
- An unmodifiable map of query search terms.
-