|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdb.dbaccess.BeschaeftigteDB
public class BeschaeftigteDB
Field Summary | |
---|---|
static java.lang.String |
basicQuery
|
Constructor Summary | |
---|---|
BeschaeftigteDB()
|
Method Summary | |
---|---|
static boolean |
clear(java.sql.Connection cn)
Leert Tabelle Beschäftigte |
static java.util.Collection |
findAll(java.sql.Connection cn)
Findet alle Beschäftigtenzahlen |
static java.util.Collection |
findByBeschAnz(java.sql.Connection cn,
int min,
int max)
Findet Beschäftigten-Zahlen welche aktuelll zwischen min und max liegen |
static java.util.Collection |
findByFid(java.sql.Connection cn,
int fid)
FIndet Beschäftigten-Zahlen nach Firmen-ID |
static int |
getMaxBeschByFid(java.sql.Connection cn,
int fid)
Liefert die maximale Beschaeftigtenzahl zu einer Firma über die FID |
static int |
insert(java.sql.Connection cn,
BeschaeftigteDTO dto)
Fügt neue Beschäftigten-Zahl ein |
static int |
update(java.sql.Connection cn,
UmsatzDTO dto)
Ändert Datensatz in Tabelle Beschäftigte |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String basicQuery
Constructor Detail |
---|
public BeschaeftigteDB()
Method Detail |
---|
public static int insert(java.sql.Connection cn, BeschaeftigteDTO dto)
cn
- dto
-
public static java.util.Collection findByFid(java.sql.Connection cn, int fid)
cn
- fid
-
public static java.util.Collection findAll(java.sql.Connection cn)
cn
-
public static boolean clear(java.sql.Connection cn)
cn
-
public static java.util.Collection findByBeschAnz(java.sql.Connection cn, int min, int max)
cn
- min
- max
-
public static int update(java.sql.Connection cn, UmsatzDTO dto)
cn
- dto
-
public static int getMaxBeschByFid(java.sql.Connection cn, int fid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |