Interface ServiceValidator<T>
-
public interface ServiceValidator<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setService(CRUDService<T> service)
void
validateCreate(java.util.List<T> objects)
void
validateDelete(java.util.List<com.flower.docs.domain.common.Id> ids)
void
validateUpdate(java.util.List<T> objects)
-
-
-
Method Detail
-
validateCreate
void validateCreate(java.util.List<T> objects) throws com.flower.docs.domain.exception.FunctionalException, com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.FunctionalException
com.flower.docs.domain.exception.TechnicalException
-
validateUpdate
void validateUpdate(java.util.List<T> objects) throws com.flower.docs.domain.exception.FunctionalException, com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.FunctionalException
com.flower.docs.domain.exception.TechnicalException
-
validateDelete
void validateDelete(java.util.List<com.flower.docs.domain.common.Id> ids) throws com.flower.docs.domain.exception.FunctionalException, com.flower.docs.domain.exception.TechnicalException
- Throws:
com.flower.docs.domain.exception.FunctionalException
com.flower.docs.domain.exception.TechnicalException
-
setService
void setService(CRUDService<T> service)
-
-