comparison src/main/java/de/intevation/lada/validation/Validator.java @ 260:0de24f5e7c01

Added boolean parameter to validate method to test if update or create was triggered.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 16 Jul 2013 08:24:34 +0200
parents 92b8b0e1e9fc
children 2098db2e8fbd
comparison
equal deleted inserted replaced
259:9da1ee33b1fa 260:0de24f5e7c01
7 * 7 *
8 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> 8 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
9 */ 9 */
10 public interface Validator 10 public interface Validator
11 { 11 {
12 public Map<String, Integer> validate(Object object) throws ValidationException; 12 public Map<String, Integer> validate(Object object, boolean update)
13 throws ValidationException;
13 } 14 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)