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, getAndUpdate
public java.util.List<AttributeType> getAttributeTypeList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public AttributeType getAttributeTypeByName(java.lang.String name) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.Map<java.lang.String,AttributeType> getAttributeTypeMap() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected 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.BGException
java.sql.SQLException
public void deleteAttributeTypeByName(java.lang.String name) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected 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.SQLException
ru.bitel.bgbilling.common.BGException