Class LookupView.ValidationContext<E>

java.lang.Object
io.jmix.flowui.view.LookupView.ValidationContext<E>
Type Parameters:
E - type of entity
Enclosing interface:
LookupView<E>

public static class LookupView.ValidationContext<E> extends Object
Context object which is passed to the selection validator set by LookupView.setSelectionValidator(Predicate).
  • Field Details

    • view

      protected final View<?> view
    • selectedItems

      protected final Collection<E> selectedItems
  • Constructor Details

    • ValidationContext

      public ValidationContext(View<?> view, Collection<E> selectedItems)
  • Method Details

    • getView

      public View<?> getView()
      Returns:
      the lookup view
    • getSelectedItems

      public Collection<E> getSelectedItems()
      Returns:
      a collection of selected entities