Package | Description |
---|---|
org.springframework.data.rest.core.event | |
org.springframework.data.rest.webmvc.config |
Modifier and Type | Method and Description |
---|---|
ValidatingRepositoryEventListener |
ValidatingRepositoryEventListener.addValidator(String event,
org.springframework.validation.Validator validator)
Add a
Validator that will be triggered on the given event. |
ValidatingRepositoryEventListener |
ValidatingRepositoryEventListener.setValidators(Map<String,Collection<org.springframework.validation.Validator>> validators)
Assign a Map of
Validator s that are assigned to the various RepositoryEvent s. |
Modifier and Type | Method and Description |
---|---|
ValidatingRepositoryEventListener |
RepositoryRestMvcConfiguration.validatingRepositoryEventListener(org.springframework.beans.factory.ObjectFactory<org.springframework.data.mapping.context.PersistentEntities> entities)
ApplicationListener implementation for invoking
Validator instances assigned to specific domain types. |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryRestConfigurerAdapter.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener) |
void |
RepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Override this method to add validators manually.
|
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.