Uses of Class
org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Packages that use ValidatingRepositoryEventListener
Package
Description
-
Uses of ValidatingRepositoryEventListener in org.springframework.data.rest.core.event
Methods in org.springframework.data.rest.core.event that return ValidatingRepositoryEventListenerModifier 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
Methods in org.springframework.data.rest.webmvc.config that return ValidatingRepositoryEventListenerModifier and TypeMethodDescriptionRepositoryRestMvcConfiguration.validatingRepositoryEventListener
(ObjectFactory<PersistentEntities> entities) ApplicationListener
implementation for invokingValidator
instances assigned to specific domain types.Methods in org.springframework.data.rest.webmvc.config with parameters of type ValidatingRepositoryEventListenerModifier and TypeMethodDescriptiondefault void
RepositoryRestConfigurer.configureValidatingRepositoryEventListener
(ValidatingRepositoryEventListener validatingListener) Override this method to add validators manually.