view src/main/java/de/intevation/lada/data/importer/Writer.java @ 409:183f8116d9a6

Added license header to source files.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 20 Jan 2014 12:27:00 +0100
parents 567ce7697fc7
children
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3) 
 * and comes with ABSOLUTELY NO WARRANTY! Check out 
 * the documentation coming with IMIS-Labordaten-Application for details. 
 */
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;
import de.intevation.lada.model.Ort;

/**
 * Defines the interface for database object writers.
 *
 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
 */
public interface Writer
{
    public boolean writeProbe(AuthenticationResponse auth, LProbe probe);
    public boolean writeMessungen(
        AuthenticationResponse auth,
        List<LMessung> messungen);
    public boolean writeLOrte(AuthenticationResponse auth, List<LOrt> orte);
    public boolean writeOrte(AuthenticationResponse auth, List<Ort> 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)