view src/main/java/de/intevation/lada/data/importer/Writer.java @ 355:490dc50365e7

Added reset for errors and warnings and add error if probeid is NULL.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 05 Sep 2013 13:13:43 +0200
parents b6f770956cae
children d39d3886b97d
line wrap: on
line source
package de.intevation.lada.data.importer;

import java.util.List;

import de.intevation.lada.auth.AuthenticationResponse;
import de.intevation.lada.model.LKommentarM;
import de.intevation.lada.model.LKommentarP;
import de.intevation.lada.model.LMessung;
import de.intevation.lada.model.LMesswert;
import de.intevation.lada.model.LOrt;
import de.intevation.lada.model.LProbe;


public interface Writer
{
    public boolean writeProbe(AuthenticationResponse auth, LProbe probe);
    public boolean writeMessungen(
        AuthenticationResponse auth,
        List<LMessung> messungen);
    public boolean writeOrte(AuthenticationResponse auth, List<LOrt> orte);
    public boolean writeProbenKommentare(
        AuthenticationResponse auth,
        List<LKommentarP> kommentare);
    public boolean writeMessungKommentare(
        AuthenticationResponse auth,
        List<LKommentarM> kommentare);
    public boolean writeMesswerte(
        AuthenticationResponse auth,
        List<LMesswert> werte);
    public List<ReportData> getErrors();
    public List<ReportData> getWarnings();
    public void reset();
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)