Mercurial > lada > lada-server
annotate src/main/java/de/intevation/lada/data/importer/Importer.java @ 366:567ce7697fc7 0.5
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 10 Sep 2013 15:55:54 +0200 |
parents | e0bbb54f2f7c |
children | 183f8116d9a6 |
rev | line source |
---|---|
309
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.lada.data.importer; |
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 |
331
5d11428e6a09
Made the importer a little more robust and introduced a better warning/error reporting.
Raimund Renkert <rrenkert@intevation.de>
parents:
321
diff
changeset
|
3 import java.util.List; |
321
5844d7457dde
Completed importer for LAF format. Ort objects still need some attention.
Raimund Renkert <rrenkert@intevation.de>
parents:
309
diff
changeset
|
4 import java.util.Map; |
5844d7457dde
Completed importer for LAF format. Ort objects still need some attention.
Raimund Renkert <rrenkert@intevation.de>
parents:
309
diff
changeset
|
5 |
309
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 import de.intevation.lada.auth.AuthenticationResponse; |
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 |
366
567ce7697fc7
Code documentation.
Raimund Renkert <rrenkert@intevation.de>
parents:
357
diff
changeset
|
8 /** |
567ce7697fc7
Code documentation.
Raimund Renkert <rrenkert@intevation.de>
parents:
357
diff
changeset
|
9 * Defines the interface for data importer using authentication information. |
567ce7697fc7
Code documentation.
Raimund Renkert <rrenkert@intevation.de>
parents:
357
diff
changeset
|
10 * |
567ce7697fc7
Code documentation.
Raimund Renkert <rrenkert@intevation.de>
parents:
357
diff
changeset
|
11 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> |
567ce7697fc7
Code documentation.
Raimund Renkert <rrenkert@intevation.de>
parents:
357
diff
changeset
|
12 */ |
309
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 public interface Importer |
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 { |
321
5844d7457dde
Completed importer for LAF format. Ort objects still need some attention.
Raimund Renkert <rrenkert@intevation.de>
parents:
309
diff
changeset
|
15 public boolean importData(String content, AuthenticationResponse auth); |
331
5d11428e6a09
Made the importer a little more robust and introduced a better warning/error reporting.
Raimund Renkert <rrenkert@intevation.de>
parents:
321
diff
changeset
|
16 public Map<String, List<ReportData>> getErrors(); |
5d11428e6a09
Made the importer a little more robust and introduced a better warning/error reporting.
Raimund Renkert <rrenkert@intevation.de>
parents:
321
diff
changeset
|
17 public Map<String, List<ReportData>> getWarnings(); |
357
e0bbb54f2f7c
Added reset for errors and warnings in importer.
Raimund Renkert <rrenkert@intevation.de>
parents:
331
diff
changeset
|
18 public void reset(); |
309
ae4bf396bd3b
New interfaces for importer and object producer.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 } |