public class ProductSpecDao extends AbstractEntityDao<ProductSpec> implements ru.bitel.bgbilling.kernel.directory.api.common.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) |
ProductSpec |
get(java.lang.String title) |
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 b) |
deleteImpl, getFromRS, getImpl, linkEntity, list, list, listImpl, recycle, unlinkEntity, update
checkEntityAttribute, checkEntitySpecAttrDelete, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
close, delete, eq, get, getById, getListFromRS, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, 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 b) 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
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.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
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.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
delete
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<ProductSpec>
delete
in class ru.bitel.common.dao.AbstractIdDao<ProductSpec>
ru.bitel.bgbilling.common.BGException