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.BGExceptionpublic java.util.Map<java.lang.Integer,DocType> getTypeMap() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<DocType> getTypeList(int type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void updateType(DocType type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteType(int id)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic static DocType getTypeFromRs(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException