public class ServiceSpecDao extends AbstractEntityDao<ServiceSpec> implements ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListener
getImplPS, insertEntityPS, updateEntityPS
entitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userId
cacheFilter, 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, update
filterInit, filterJoin, filterToPS, getAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
delete, get, getAndDelete, getAndUpdate
close, delete, eq, get, getById, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, processException, setStatementParam
public 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.AbstractDao
updateImpl
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.BGException
public java.util.List<ServiceSpec> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>
ru.bitel.bgbilling.common.BGException
protected ServiceSpec getFromRSImpl(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRSImpl
in class AbstractEntityDao<ServiceSpec>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public ServiceSpec get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
UnsupportedOperationException
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<ServiceSpec>
ru.bitel.bgbilling.common.BGException
public void move(int newParentId, java.util.Set<java.lang.Integer> children) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException