public class AttributeTypeDao extends ru.bitel.common.dao.AbstractIdDao<AttributeType>
| Constructor and Description |
|---|
AttributeTypeDao(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAttributeTypeByName(java.lang.String name) |
AttributeType |
getAttributeTypeByName(java.lang.String name) |
java.util.List<AttributeType> |
getAttributeTypeList() |
java.util.Map<java.lang.String,AttributeType> |
getAttributeTypeMap() |
protected AttributeType |
getFromRS(java.sql.ResultSet rs) |
protected void |
updateImpl(AttributeType attributeType) |
delete, get, getAndDelete, getAndUpdatepublic java.util.List<AttributeType> getAttributeTypeList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic AttributeType getAttributeTypeByName(java.lang.String name) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.Map<java.lang.String,AttributeType> getAttributeTypeMap() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(AttributeType attributeType) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<AttributeType>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic void deleteAttributeTypeByName(java.lang.String name)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected AttributeType getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<AttributeType>java.sql.SQLExceptionru.bitel.bgbilling.common.BGException