public class VoiceDeviceDao extends DeviceDao<VoiceDevice,VoiceDeviceType>
AbstractEntityAttrDao.AddressItemModifiedEventListener
getImplPS, insertEntityPS, updateEntityPS, updateEntityPS2
CONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userId
Constructor and Description |
---|
VoiceDeviceDao(java.sql.Connection con,
int moduleId) |
VoiceDeviceDao(java.sql.Connection con,
int moduleId,
int userId) |
Modifier and Type | Method and Description |
---|---|
protected VoiceDevice |
getFromRSImpl(java.sql.ResultSet rs) |
protected Directory<VoiceDeviceType> |
getTypeDir() |
protected java.util.List<java.lang.String> |
getValues() |
java.util.List<VoiceDevice> |
list() |
java.util.List<VoiceDevice> |
listNas() |
java.util.List<VoiceDevice> |
listSource() |
protected VoiceDevice |
newDevice() |
protected VoiceDeviceType |
newDeviceType(int id,
java.lang.String title) |
protected int |
setExtraParams(VoiceDevice device,
java.sql.PreparedStatement ps,
int idx) |
protected void |
updateImpl(VoiceDevice b) |
deleteImpl, getFromRS, getTreeFromList, list, list, listByType, listByUptimeTime, move, node, node, root, root, update, updateUptime
getFromRS, getImpl, linkEntity, list, list, listImpl, recycle, unlinkEntity
checkEntityAttribute, checkEntitySpecAttrDelete, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getEntityValueForIds, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
delete, get, getAndDelete, getAndUpdate
public VoiceDeviceDao(java.sql.Connection con, int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public VoiceDeviceDao(java.sql.Connection con, int moduleId, int userId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected VoiceDevice newDevice()
newDevice
in class DeviceDao<VoiceDevice,VoiceDeviceType>
protected VoiceDeviceType newDeviceType(int id, java.lang.String title)
newDeviceType
in class DeviceDao<VoiceDevice,VoiceDeviceType>
protected Directory<VoiceDeviceType> getTypeDir() throws ru.bitel.bgbilling.common.BGException
getTypeDir
in class DeviceDao<VoiceDevice,VoiceDeviceType>
ru.bitel.bgbilling.common.BGException
public java.util.List<VoiceDevice> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected VoiceDevice getFromRSImpl(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRSImpl
in class DeviceDao<VoiceDevice,VoiceDeviceType>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected java.util.List<java.lang.String> getValues()
getValues
in class DeviceDao<VoiceDevice,VoiceDeviceType>
protected int setExtraParams(VoiceDevice device, java.sql.PreparedStatement ps, int idx) throws java.sql.SQLException
setExtraParams
in class DeviceDao<VoiceDevice,VoiceDeviceType>
java.sql.SQLException
protected void updateImpl(VoiceDevice b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class DeviceDao<VoiceDevice,VoiceDeviceType>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<VoiceDevice> listSource() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<VoiceDevice> listNas() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException