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.BGException
public void update(GateType type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public GateType getTypeById(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void delete(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.lang.String getTable()