public class ProductSpecDao extends AbstractEntityDao<ProductSpec> implements Directory<ProductSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListener
getImplPS, insertEntityPS, updateEntityPS, updateEntityPS2
CONTRACT_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, update
checkEntityAttribute, checkEntitySpecAttrDelete, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getEntityValueForIds, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
close, delete, eq, get, getById, getListFromRS, getPeriod, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, setStatementParam
public 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.SQLException
ru.bitel.bgbilling.common.BGException
protected 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.BGException
java.sql.SQLException
public ProductSpec get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
Directory
UnsupportedOperationException
get
in interface Directory<ProductSpec>
ru.bitel.bgbilling.common.BGException
public 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.BGException
public java.util.List<ProductSpec> list(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ProductSpec> list() throws ru.bitel.bgbilling.common.BGException
Directory
list
in interface Directory<ProductSpec>
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
public ProductSpec getByIdentifier(java.lang.String identifier) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int delete(int id) throws ru.bitel.bgbilling.common.BGException
Directory
delete
in interface Directory<ProductSpec>
delete
in class ru.bitel.common.dao.AbstractIdDao<ProductSpec>
ru.bitel.bgbilling.common.BGException