public class ForwardPayloadDaoImpl extends BaseAbstractDaoImpl<ForwardPayload,Integer> implements ForwardPayloadDao
| Constructor and Description |
|---|
ForwardPayloadDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBySensorId(Integer sensorId) |
void |
disable(List<Integer> ids) |
void |
enable(List<Integer> ids) |
ForwardPayload |
get(ForwardPayload tdao) |
List<ForwardPayload> |
getAll(Integer sensorVariableId) |
List<ForwardPayload> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
List<ForwardPayload> |
getAllByDestinationSensor(Integer destinationSensorId) |
List<ForwardPayload> |
getAllBySourceSensor(Integer sourceSensorId) |
List<ForwardPayload> |
getAllBySourceSensor(Integer sourceSensorId,
Boolean enabled) |
List<ForwardPayload> |
getAllEnabled(Integer sensorVariableId) |
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAll, getAllData, getById, getDao, getQueryResponse, getTableInfo, hasTable, update, updateBulk, updateBulk, updateId, updatePurgeConditionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateIdpublic ForwardPayloadDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic List<ForwardPayload> getAllBySourceSensor(Integer sourceSensorId, Boolean enabled)
getAllBySourceSensor in interface ForwardPayloadDaopublic List<ForwardPayload> getAllBySourceSensor(Integer sourceSensorId)
getAllBySourceSensor in interface ForwardPayloadDaopublic List<ForwardPayload> getAllByDestinationSensor(Integer destinationSensorId)
getAllByDestinationSensor in interface ForwardPayloadDaopublic void deleteBySensorId(Integer sensorId)
deleteBySensorId in interface ForwardPayloadDaopublic void enable(List<Integer> ids)
enable in interface ForwardPayloadDaopublic void disable(List<Integer> ids)
disable in interface ForwardPayloadDaopublic List<ForwardPayload> getAll(Integer sensorVariableId)
getAll in interface ForwardPayloadDaopublic List<ForwardPayload> getAllEnabled(Integer sensorVariableId)
getAllEnabled in interface ForwardPayloadDaopublic QueryResponse getAll(Query query)
getAll in interface ForwardPayloadDaopublic ForwardPayload get(ForwardPayload tdao)
get in interface BaseDao<ForwardPayload,Integer>public List<ForwardPayload> getAll(List<Integer> ids)
getAll in interface BaseDao<ForwardPayload,Integer>Copyright © 2015–2019. All rights reserved.