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 aValidatorthat will be triggered on the given event.ValidatingRepositoryEventListener.setValidators(Map<String, Collection<Validator>> validators) Assign a Map ofValidators that are assigned to the variousRepositoryEvents. -
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) ApplicationListenerimplementation for invokingValidatorinstances assigned to specific domain types.Methods in org.springframework.data.rest.webmvc.config with parameters of type ValidatingRepositoryEventListenerModifier and TypeMethodDescriptiondefault voidRepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener) Override this method to add validators manually.