public class ServiceSpecDao extends AbstractEntityDao<ServiceSpec> implements Directory<ServiceSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListener
getImplPS, insertEntityPS, updateEntityPS, updateEntityPS2
CONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userId
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
checkEntityAttribute, checkEntitySpecAttrDelete, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getEntityValueForIds, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
delete, get, getAndDelete, getAndUpdate
close, delete, eq, get, getById, getListFromRS, getPeriod, 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
updateImpl
in class ru.bitel.common.dao.AbstractDao<ServiceSpec>
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
Directory
list
in interface 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
Directory
UnsupportedOperationException
get
in interface 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