| 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,
Validator validator)
Add a
Validator that will be triggered on the given event. |
ValidatingRepositoryEventListener |
ValidatingRepositoryEventListener.setValidators(Map<String,Collection<Validator>> validators)
Assign a Map of
Validators that are assigned to the various RepositoryEvents. |
| Modifier and Type | Method and Description |
|---|---|
ValidatingRepositoryEventListener |
RepositoryRestMvcConfiguration.validatingRepositoryEventListener(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 |
|---|---|
default void |
RepositoryRestConfigurer.configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener)
Override this method to add validators manually.
|
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.