public abstract class VoiceAccountTypeAbstractDao<T extends VoiceAccountTypeAbstract> extends ru.bitel.common.dao.AbstractIdDao<T> implements Directory<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isOperator |
| Constructor and Description |
|---|
VoiceAccountTypeAbstractDao(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createAccountTypeInstance() |
protected abstract java.lang.String |
fields() |
T |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected T |
getFromRS(java.sql.ResultSet rs) |
java.util.List<T> |
list()
Получение списка типов аккаунтов.
|
protected abstract int |
setParams(T type,
java.sql.PreparedStatement ps,
int idx) |
protected void |
updateImpl(T b) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic VoiceAccountTypeAbstractDao(java.sql.Connection con,
int mid)
protected T getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<T extends VoiceAccountTypeAbstract>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected abstract T createAccountTypeInstance()
protected void updateImpl(T b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<T extends VoiceAccountTypeAbstract>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionprotected abstract int setParams(T type, java.sql.PreparedStatement ps, int idx) throws java.sql.SQLException
java.sql.SQLExceptionprotected abstract java.lang.String fields()
public java.util.List<T> list() throws ru.bitel.bgbilling.common.BGException
list in interface Directory<T extends VoiceAccountTypeAbstract>ru.bitel.bgbilling.common.BGExceptionpublic T get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
DirectoryUnsupportedOperationExceptionget in interface Directory<T extends VoiceAccountTypeAbstract>ru.bitel.bgbilling.common.BGException