public class ProductSpecDao extends AbstractEntityDao<ProductSpec> implements Directory<ProductSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListenergetImplPS, insertEntityPS, updateEntityPS, updateEntityPS2CONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userId| Constructor and Description |
|---|
ProductSpecDao(java.sql.Connection con) |
ProductSpecDao(java.sql.Connection con,
int moduleId) |
ProductSpecDao(java.sql.Connection con,
int moduleId,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(int id)
Удаление элемента по id
|
ProductSpec |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
ProductSpec |
getByIdentifier(java.lang.String identifier) |
protected ProductSpec |
getFromRSImpl(java.sql.ResultSet rs) |
java.util.List<ProductSpec> |
list()
Получение всего списка элементов из справочника
|
java.util.List<ProductSpec> |
list(int moduleId) |
java.util.List<ProductSpec> |
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(ProductSpec productSpec) |
deleteImpl, getFromRS, getImpl, linkEntity, list, list, listImpl, recycle, unlinkEntity, updatecheckEntityAttribute, checkEntitySpecAttrDelete, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getEntityValueForIds, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributesclose, delete, eq, get, getById, getListFromRS, getPeriod, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, setStatementParampublic ProductSpecDao(java.sql.Connection con,
int moduleId)
public ProductSpecDao(java.sql.Connection con)
public ProductSpecDao(java.sql.Connection con,
int moduleId,
int userId)
protected ProductSpec getFromRSImpl(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRSImpl in class AbstractEntityDao<ProductSpec>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ProductSpec productSpec) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<ProductSpec>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic ProductSpec get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
DirectoryUnsupportedOperationExceptionget in interface Directory<ProductSpec>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ProductSpec> 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<ProductSpec> list(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ProductSpec> list() throws ru.bitel.bgbilling.common.BGException
Directorylist in interface Directory<ProductSpec>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.BGExceptionpublic ProductSpec getByIdentifier(java.lang.String identifier) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic int delete(int id)
throws ru.bitel.bgbilling.common.BGException
Directorydelete in interface Directory<ProductSpec>delete in class ru.bitel.common.dao.AbstractIdDao<ProductSpec>ru.bitel.bgbilling.common.BGException