UiFilterSpecifier (taack-ui 0.5.2-SNAPSHOT API)
Package: taack.ui.dsl

[Groovy] Class UiFilterSpecifier

    • taack.ui.dsl.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

      • 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

        • boolean hasSec

      • Constructor Detail

        • UiFilterSpecifier()

      • Method Detail

        • void join(UiFilterSpecifier filter)

          Allow to append filters together

          Parameters:
          filter - filter to append

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

          Security Filter

          Parameters:
          aClass - class to filter after
          closure - closure describing the filter (see FilterSpec)
          Returns:
          return itself

        • 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_ONLY, 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 TaackUiService.ajaxBind
          Returns:
          return itself