dao
Interface SzenarienDao

All Known Implementing Classes:
SzenarienDaoMysql

public interface SzenarienDao

Interface f�r lesen und schreiben Szenarien

Author:
Konstantin Karzanov 28.08.2008

Method Summary
 int create(java.lang.String name, java.lang.String shortname, double tempMin, double tempMax, double phMin, double phMax, java.util.Date lichtEin, java.util.Date lichtAus, int dim_ID)
          Speichert neu Szenario
 void delete(int id)
          L�scht bestimte Szenario
 java.util.Vector<Szenario> read()
          Liest Szenarien.
 void update(int id, java.lang.String name, java.lang.String shortname, double tempMin, double tempMax, double phMin, double phMax, java.util.Date lichtEin, java.util.Date lichtAus, int dim_ID)
          Speichert neu Werte f�r bestimte Szenario
 

Method Detail

create

int create(java.lang.String name,
           java.lang.String shortname,
           double tempMin,
           double tempMax,
           double phMin,
           double phMax,
           java.util.Date lichtEin,
           java.util.Date lichtAus,
           int dim_ID)
           throws AquaDaoException
Speichert neu Szenario

Parameters:
name -
shortname -
tempMin -
tempMax -
phMin -
phMax -
lichtEin -
lichtAus -
dim_ID -
Returns:
id
Throws:
AquaDaoException

read

java.util.Vector<Szenario> read()
                                throws AquaDaoException
Liest Szenarien.

Returns:
Vector
Throws:
AquaDaoException

update

void update(int id,
            java.lang.String name,
            java.lang.String shortname,
            double tempMin,
            double tempMax,
            double phMin,
            double phMax,
            java.util.Date lichtEin,
            java.util.Date lichtAus,
            int dim_ID)
            throws AquaDaoException
Speichert neu Werte f�r bestimte Szenario

Parameters:
id -
name -
shortname -
tempMin -
tempMax -
phMin -
phMax -
lichtEin -
lichtAus -
dim_ID -
Throws:
AquaDaoException

delete

void delete(int id)
            throws AquaDaoException
L�scht bestimte Szenario

Parameters:
id -
Throws:
AquaDaoException