Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/data/importer/Importer.java @ 321:5844d7457dde
Completed importer for LAF format. Ort objects still need some attention.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 23 Aug 2013 11:35:24 +0200 |
parents | ae4bf396bd3b |
children | 5d11428e6a09 |
comparison
equal
deleted
inserted
replaced
320:6621f7345c06 | 321:5844d7457dde |
---|---|
1 package de.intevation.lada.data.importer; | 1 package de.intevation.lada.data.importer; |
2 | |
3 import java.util.Map; | |
2 | 4 |
3 import de.intevation.lada.auth.AuthenticationResponse; | 5 import de.intevation.lada.auth.AuthenticationResponse; |
4 import de.intevation.lada.rest.Response; | 6 import de.intevation.lada.rest.Response; |
5 | 7 |
6 | 8 |
7 public interface Importer | 9 public interface Importer |
8 { | 10 { |
9 public Response importData(String content, AuthenticationResponse auth); | 11 public boolean importData(String content, AuthenticationResponse auth); |
12 public Map<String, Map<String, Integer>> getErrors(); | |
13 public Map<String, Map<String, Integer>> getWarnings(); | |
10 } | 14 } |