Class ScreenListComponentValidation

java.lang.Object
io.jmix.ui.screen.ScreenListComponentValidation

@Component("ui_ScreenListComponentValidation") public class ScreenListComponentValidation extends Object
  • Field Details

    • validator

      @Autowired protected javax.validation.Validator validator
  • Constructor Details

    • ScreenListComponentValidation

      public ScreenListComponentValidation()
  • Method Details

    • validateListComponent

      public void validateListComponent(ListComponent<?> listComponent, ValidationErrors errors)
      Validate UI List component by performing validation of underlying entity instance and its collection property if this component is able to modify collection within source screen (due to visibility, standard actions etc).
      Parameters:
      listComponent - List component to validate
      errors - Validation errors container to fill
    • hasListModificationActions

      protected boolean hasListModificationActions(ListComponent<?> listComponent, List<?> content)
    • isExtendingAction

      protected boolean isExtendingAction(Action action)
    • isReducingAction

      protected boolean isReducingAction(Action action)