Class VoiceAccountTypeAbstractDao<T extends VoiceAccountTypeAbstract>
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<T>
ru.bitel.common.dao.AbstractIdDao<T>
ru.bitel.common.dao.AbstractDirectoryIdDao<T>
ru.bitel.bgbilling.modules.voice.server.bean.VoiceAccountTypeAbstractDao<T>
- All Implemented Interfaces:
AutoCloseable,Directory<T>
- Direct Known Subclasses:
VoiceAccountTypeDao,VoiceOperAccountTypeDao
public abstract class VoiceAccountTypeAbstractDao<T extends VoiceAccountTypeAbstract>
extends ru.bitel.common.dao.AbstractDirectoryIdDao<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDao
ru.bitel.common.dao.AbstractDao.ResultSetIterator -
Field Summary
FieldsFields inherited from class ru.bitel.common.dao.AbstractDao
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, moduleId, orderByPattern, tableNameFields inherited from class ru.bitel.common.dao.AbstarctDaoConstant
ERROR, fields, SQL_ALL, SQL_AND, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TПолучение списка типов аккаунтов.protected abstract Stringfields()getDirectoryItem(int id) Получение элемента по idprotected Tprotected abstract intsetParams(T type, PreparedStatement ps, int idx) protected voidupdateImpl(T b) Methods inherited from class ru.bitel.common.dao.AbstractDirectoryIdDao
deleteDirectoryItem, getDirectoryItem, updateDirectoryItemMethods inherited from class ru.bitel.common.dao.AbstractIdDao
delete, executeUpdate, get, getAndDelete, getAndUpdate, optMethods inherited from class ru.bitel.common.dao.AbstractDao
close, delete, deleteImpl, dropTemporaryTable, eq, get, getById, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, loadData, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, setPageRecordCount, setStatementParam, updateMethods inherited from class ru.bitel.common.dao.AbstarctDaoConstant
getSQLOrder, psSetDate, psSetInt, psSetString, queryAndInMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.bitel.bgbilling.kernel.directory.api.common.bean.Directory
optDirectoryItem
-
Field Details
-
isOperator
protected boolean isOperator
-
-
Constructor Details
-
VoiceAccountTypeAbstractDao
-
-
Method Details
-
getFromRS
- Specified by:
getFromRSin classru.bitel.common.dao.AbstractDao<T extends VoiceAccountTypeAbstract>- Throws:
SQLExceptionru.bitel.bgbilling.common.BGException
-
createAccountTypeInstance
-
updateImpl
- Specified by:
updateImplin classru.bitel.common.dao.AbstractDao<T extends VoiceAccountTypeAbstract>- Throws:
ru.bitel.bgbilling.common.BGExceptionSQLException
-
setParams
- Throws:
SQLException
-
fields
-
directoryItems
Получение списка типов аккаунтов.- Specified by:
directoryItemsin interfaceDirectory<T extends VoiceAccountTypeAbstract>- Overrides:
directoryItemsin classru.bitel.common.dao.AbstractDirectoryIdDao<T extends VoiceAccountTypeAbstract>- Returns:
- Throws:
Exception
-
getDirectoryItem
Description copied from interface:DirectoryПолучение элемента по id- Specified by:
getDirectoryItemin interfaceDirectory<T extends VoiceAccountTypeAbstract>- Overrides:
getDirectoryItemin classru.bitel.common.dao.AbstractDirectoryIdDao<T extends VoiceAccountTypeAbstract>- Parameters:
id-- Returns:
- Throws:
Exception
-