public class SmartHousePackageBaseDao extends ru.bitel.common.dao.AbstractIdDao<SmartHousePackageBase> implements Directory<SmartHousePackageBase>
Constructor and Description |
---|
SmartHousePackageBaseDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
SmartHousePackageBase |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected SmartHousePackageBase |
getFromRS(java.sql.ResultSet rs) |
java.util.List<SmartHousePackageBase> |
list()
Получение всего списка элементов из справочника
|
void |
searchPackageBases(SearchResult<SmartHousePackageBase> searchResult,
java.lang.String title,
boolean showOld) |
void |
update(SmartHousePackageBase packageBase)
Изменение/добавление элемента справочника
|
protected void |
updateImpl(SmartHousePackageBase packageBase) |
void |
updateOptions(int packageBaseId,
java.lang.String optionNames) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam
public SmartHousePackageBaseDao(java.sql.Connection con, int moduleId)
public void searchPackageBases(SearchResult<SmartHousePackageBase> searchResult, java.lang.String title, boolean showOld) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected SmartHousePackageBase getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<SmartHousePackageBase>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public void update(SmartHousePackageBase packageBase) throws ru.bitel.bgbilling.common.BGException
Directory
update
in interface Directory<SmartHousePackageBase>
update
in class ru.bitel.common.dao.AbstractDao<SmartHousePackageBase>
ru.bitel.bgbilling.common.BGException
protected void updateImpl(SmartHousePackageBase packageBase) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<SmartHousePackageBase>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void updateOptions(int packageBaseId, java.lang.String optionNames) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public SmartHousePackageBase get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
Directory
UnsupportedOperationException
get
in interface Directory<SmartHousePackageBase>
ru.bitel.bgbilling.common.BGException
public java.util.List<SmartHousePackageBase> list() throws ru.bitel.bgbilling.common.BGException
Directory
list
in interface Directory<SmartHousePackageBase>
ru.bitel.bgbilling.common.BGException