Class DataTablesRequest.Search
java.lang.Object
org.apache.juneau.console.datatables.DataTablesRequest.Search
- Enclosing class:
- DataTablesRequest
A DataTables search descriptor (
{value, regex, fixed}), used for both the global search and a column
search.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFixed()Returns the DataTables 2.x fixed (named, API-applied) search terms.getValue()Returns the raw search term.booleanisRegex()Returns the DataTables regex flag.Sets the DataTables 2.x fixed search terms.setRegex(boolean v) Sets the DataTables regex flag.Sets the raw search term.
-
Constructor Details
-
Search
public Search()
-
-
Method Details
-
getFixed
Returns the DataTables 2.x fixed (named, API-applied) search terms. Carried for wire fidelity — a strict parser would otherwise reject every DataTables 2.x request — and ignored by the adapter.- Returns:
- The fixed search terms, or
null if none.
-
setFixed
Sets the DataTables 2.x fixed search terms.- Parameters:
v- The value.- Returns:
- This object.
-
getValue
Returns the raw search term. The term is a$-language expression.- Returns:
- The search term, or
null if none.
-
setValue
Sets the raw search term.- Parameters:
v- The value.- Returns:
- This object.
-
isRegex
Returns the DataTables regex flag. Carried for wire fidelity; the adapter does not use it, since regex matching is expressed inline with the$regex(...)operator invalue.- Returns:
- The regex flag.
-
setRegex
Sets the DataTables regex flag.- Parameters:
v- The value.- Returns:
- This object.
-