UiFilterSpecifier (taack-ui 0.3.8 API)
Package: taack.ui.base

[Groovy] Class UiFilterSpecifier

    • taack.ui.base.UiFilterSpecifier


    • @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

      • Properties Summary

      • Constructor Summary

      • Methods Summary

      • Inherited Methods Summary

          Inherited Methods 
          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()
      • Property Detail

        • java.lang.Class aClass

        • java.util.Map<java.lang.String, ? extends java.lang.Object> additionalParams

      • Constructor Detail

        • UiFilterSpecifier()

      • Method Detail

        • void join(UiFilterSpecifier filter)

          Allow to append filters together

          Parameters:
          filter - filter to append

        • UiFilterSpecifier ui(java.lang.Class aClass, java.util.Map<java.lang.String, ? extends java.lang.Object> additionalParams, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: FilterSpec) groovy.lang.Closure closure)

          Allow to draw the filter

          Parameters:
          aClass - class to filter after
          additionalParams - additional parameters to pass to action
          closure - closure describing the filter (see FilterSpec)
          Returns:
          return itself

        • UiFilterSpecifier ui(java.lang.Class aClass, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: FilterSpec) groovy.lang.Closure closure, FieldInfo<?>[] fieldInfos)

          Allow to draw the filter

          Parameters:
          aClass - class to filter after
          closure - closure describing the filter (see FilterSpec)
          fieldInfos - add other parameters to the action targeted by the filter (see TaackUiSimpleService.ajaxBind
          Returns:
          return itself