/** * Calls {@link #validateForSave(ValidationResult)}. CayenneDataObject * subclasses may override it providing validation logic that should be * executed for the modified objects before saving them. * * @since 1.1 */ public void validateForUpdate(ValidationResult validationResult) { validateForSave(validationResult); }
/** * Calls {@link #validateForSave(ValidationResult)}. CayenneDataObject subclasses may * override it providing validation logic that should be executed for the modified * objects before saving them. * * @since 1.1 */ public void validateForUpdate(ValidationResult validationResult) { validateForSave(validationResult); }
/** * Calls {@link #validateForSave(ValidationResult)}. CayenneDataObject * subclasses may override it providing validation logic that should be * executed for the newly created objects before saving them. * * @since 1.1 */ public void validateForInsert(ValidationResult validationResult) { validateForSave(validationResult); }
/** * Calls {@link #validateForSave(ValidationResult)}. CayenneDataObject subclasses may * override it providing validation logic that should be executed for the newly * created objects before saving them. * * @since 1.1 */ public void validateForInsert(ValidationResult validationResult) { validateForSave(validationResult); }