public class GateTypeManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.Connection |
con |
protected int |
mid |
| Constructor and Description |
|---|
GateTypeManager(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int id) |
java.lang.String |
getTable() |
GateType |
getTypeById(int id) |
java.util.List<GateType> |
list() |
void |
update(GateType type) |
public java.util.List<GateType> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void update(GateType type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic GateType getTypeById(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void delete(int id)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.lang.String getTable()