@groovy.transform.CompileStatic final class UiFilterSpecifier extends java.lang.Object
Class describing a filter to display. A filter only lives with a table UiTableSpecifier, they are associated via BlockSpec.tableFilter in the same block element. A table only block create an empty filter to manage sorting and pagination
Type | Name and description |
---|---|
java.lang.Class |
aClass |
java.util.Map<java.lang.String, ? extends java.lang.Object> |
additionalParams |
groovy.lang.Closure<FilterSpec> |
closure |
boolean |
hasSec |
Constructor and description |
---|
UiFilterSpecifier
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
join(UiFilterSpecifier filter) Allow to append filters together |
|
UiFilterSpecifier |
sec(java.lang.Class aClass, groovy.lang.Closure closure, FieldInfo<?>[] fieldInfos) Security Filter |
|
UiFilterSpecifier |
ui(java.lang.Class aClass, java.util.Map<java.lang.String, ? extends java.lang.Object> additionalParams, groovy.lang.Closure closure) Allow to draw the filter |
|
UiFilterSpecifier |
ui(java.lang.Class aClass, groovy.lang.Closure closure, FieldInfo<?>[] fieldInfos) Allow to draw the filter |
|
void |
visitFilter(IUiFilterVisitor filterVisitor) Visit the filter (see IUiFilterVisitor) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Allow to append filters together
filter
- filter to appendSecurity Filter
aClass
- class to filter afterclosure
- closure describing the filter (see FilterSpec)Allow to draw the filter
aClass
- class to filter afteradditionalParams
- additional parameters to pass to actionclosure
- closure describing the filter (see FilterSpec)Allow to draw the filter
aClass
- class to filter afterclosure
- closure describing the filter (see FilterSpec)fieldInfos
- add other parameters to the action targeted by the filter (see TaackUiService.ajaxBindVisit the filter (see IUiFilterVisitor)
filterVisitor
- the visitorGroovy Documentation