Class AbstractEntityValidationResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
AbstractEntitiesResource
,AbstractEntityResource
Abstract base class which provides common functionality for entity resources.
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractEntityValidationResource
(ValidationResultConverter validationResultConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
validateEntities
(List<EntityBeanRebinder.RebindCollector> rebindCollectors) protected jakarta.ws.rs.core.Response
validateEntity
(Entity entity) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Field Details
-
validationResultConverter
-
-
Constructor Details
-
AbstractEntityValidationResource
-
-
Method Details
-
validateEntity
-
validateEntities
protected jakarta.ws.rs.core.Response validateEntities(List<EntityBeanRebinder.RebindCollector> rebindCollectors)
-