public class ComponentExistsInSlotValidator
extends java.lang.Object
Rules:
ComponentAlreadyInContentSlotPredicate| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_ID |
| Constructor and Description |
|---|
ComponentExistsInSlotValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.function.Predicate<ComponentAndContentSlotValidationDto> |
getComponentAlreadyInContentSlotPredicate() |
protected java.util.function.Predicate<java.lang.String> |
getComponentExistsPredicate() |
protected ValidationDtoFactory |
getValidationDtoFactory() |
void |
setComponentAlreadyInContentSlotPredicate(java.util.function.Predicate<ComponentAndContentSlotValidationDto> componentAlreadyInContentSlotPredicate) |
void |
setComponentExistsPredicate(java.util.function.Predicate<java.lang.String> componentExistsPredicate) |
void |
setValidationDtoFactory(ValidationDtoFactory validationDtoFactory) |
boolean |
supports(java.lang.Class<?> clazz) |
void |
validate(java.lang.Object obj,
Errors errors) |
public static final java.lang.String COMPONENT_ID
public boolean supports(java.lang.Class<?> clazz)
public void validate(java.lang.Object obj,
Errors errors)
protected java.util.function.Predicate<ComponentAndContentSlotValidationDto> getComponentAlreadyInContentSlotPredicate()
public void setComponentAlreadyInContentSlotPredicate(java.util.function.Predicate<ComponentAndContentSlotValidationDto> componentAlreadyInContentSlotPredicate)
protected java.util.function.Predicate<java.lang.String> getComponentExistsPredicate()
public void setComponentExistsPredicate(java.util.function.Predicate<java.lang.String> componentExistsPredicate)
protected ValidationDtoFactory getValidationDtoFactory()
public void setValidationDtoFactory(ValidationDtoFactory validationDtoFactory)
Copyright © 2018 SAP SE. All Rights Reserved.