public class ServiceSpecDao extends AbstractEntityDao<ServiceSpec> implements ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListenergetImplPS, insertEntityPS, updateEntityPSentitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userIdcacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName| Constructor and Description |
|---|
ServiceSpecDao(java.sql.Connection con) |
ServiceSpecDao(java.sql.Connection con,
int moduleId) |
ServiceSpecDao(java.sql.Connection con,
int moduleId,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
ServiceSpec |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected ServiceSpec |
getFromRSImpl(java.sql.ResultSet rs) |
java.util.List<ServiceSpec> |
list()
Получение всего списка элементов из справочника
|
java.util.List<ServiceSpec> |
list(int moduleId,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String title,
java.util.List<FilterEntityAttr> entityFilter) |
void |
move(int newParentId,
java.util.Set<java.lang.Integer> children) |
protected void |
updateImpl(ServiceSpec b)
Этот метод каждый реализует сам со своей логикой.
|
deleteImpl, getFromRS, getImpl, linkEntity, list, list, listImpl, recycle, unlinkEntity, updatefilterInit, filterJoin, filterToPS, getAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributesdelete, get, getAndDelete, getAndUpdateclose, delete, eq, get, getById, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, processException, setStatementParampublic ServiceSpecDao(java.sql.Connection con)
public ServiceSpecDao(java.sql.Connection con,
int moduleId)
public ServiceSpecDao(java.sql.Connection con,
int moduleId,
int userId)
protected void updateImpl(ServiceSpec b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<ServiceSpec>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиpublic java.util.List<ServiceSpec> list(int moduleId, java.util.Date dateFrom, java.util.Date dateTo, java.lang.String title, java.util.List<FilterEntityAttr> entityFilter) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ServiceSpec> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directorylist in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>ru.bitel.bgbilling.common.BGExceptionprotected ServiceSpec getFromRSImpl(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRSImpl in class AbstractEntityDao<ServiceSpec>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionpublic ServiceSpec get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.DirectoryUnsupportedOperationExceptionget in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>ru.bitel.bgbilling.common.BGExceptionpublic void move(int newParentId,
java.util.Set<java.lang.Integer> children)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException