public class DocTypeManager
extends java.lang.Object
Constructor and Description |
---|
DocTypeManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
deleteType(int id) |
DocType |
getType(int id) |
static DocType |
getTypeFromRs(java.sql.ResultSet rs) |
java.util.List<DocType> |
getTypeList(int type) |
java.util.Map<java.lang.Integer,DocType> |
getTypeMap() |
void |
updateType(DocType type) |
public DocType getType(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Map<java.lang.Integer,DocType> getTypeMap() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<DocType> getTypeList(int type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void updateType(DocType type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteType(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public static DocType getTypeFromRs(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException