Uses of Class
org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Package
Description
-
Uses of ValidatingRepositoryEventListener in org.springframework.data.rest.core.event
Modifier and TypeMethodDescriptionValidatingRepositoryEventListener.addValidator
(String event, Validator validator) Add aValidator
that will be triggered on the given event.ValidatingRepositoryEventListener.setValidators
(Map<String, Collection<Validator>> validators) Assign a Map ofValidator
s that are assigned to the variousRepositoryEvent
s. -
Uses of ValidatingRepositoryEventListener in org.springframework.data.rest.webmvc.config
Modifier and TypeMethodDescriptionRepositoryRestMvcConfiguration.validatingRepositoryEventListener
(ObjectFactory<PersistentEntities> entities) ApplicationListener
implementation for invokingValidator
instances assigned to specific domain types.Modifier and TypeMethodDescriptiondefault void
RepositoryRestConfigurer.configureValidatingRepositoryEventListener
(ValidatingRepositoryEventListener validatingListener) Override this method to add validators manually.