public class RegisterManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.sql.Connection |
con |
protected int |
mid |
Constructor and Description |
---|
RegisterManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
addRegister(Register register) |
void |
deleteRegister(int id) |
Register |
getRegister(int type,
java.util.Calendar date,
int tagID) |
Register |
getRegisterById(int id) |
Register |
getRegisterByID(int id)
Deprecated.
|
java.util.List<Register> |
getRegisterList(java.util.Calendar date1,
java.util.Calendar date2) |
public Register getRegisterById(int id)
@Deprecated public Register getRegisterByID(int id)
getRegisterById(int)
.id
- public void addRegister(Register register)
public java.util.List<Register> getRegisterList(java.util.Calendar date1, java.util.Calendar date2)
public Register getRegister(int type, java.util.Calendar date, int tagID)
public void deleteRegister(int id)