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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhasListModificationActions(ListComponent<?> listComponent, List<?> content) protected booleanisExtendingAction(Action action) protected booleanisReducingAction(Action action) voidvalidateListComponent(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
-