Package io.jmix.ui.screen
Class ScreenListComponentValidation
java.lang.Object
io.jmix.ui.screen.ScreenListComponentValidation
@Component("ui_ScreenListComponentValidation")
public class ScreenListComponentValidation
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
hasListModificationActions
(ListComponent<?> listComponent, List<?> content) protected boolean
isExtendingAction
(Action action) protected boolean
isReducingAction
(Action action) 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).
-
Field Details
-
validator
@Autowired protected javax.validation.Validator validator
-
-
Constructor Details
-
ScreenListComponentValidation
public ScreenListComponentValidation()
-
-
Method Details
-
validateListComponent
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 validateerrors
- Validation errors container to fill
-
hasListModificationActions
-
isExtendingAction
-
isReducingAction
-