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, updatePurgeCondition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateId
public ForwardPayloadDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public List<ForwardPayload> getAllBySourceSensor(Integer sourceSensorId, Boolean enabled)
getAllBySourceSensor
in interface ForwardPayloadDao
public List<ForwardPayload> getAllBySourceSensor(Integer sourceSensorId)
getAllBySourceSensor
in interface ForwardPayloadDao
public List<ForwardPayload> getAllByDestinationSensor(Integer destinationSensorId)
getAllByDestinationSensor
in interface ForwardPayloadDao
public void deleteBySensorId(Integer sensorId)
deleteBySensorId
in interface ForwardPayloadDao
public void enable(List<Integer> ids)
enable
in interface ForwardPayloadDao
public void disable(List<Integer> ids)
disable
in interface ForwardPayloadDao
public List<ForwardPayload> getAll(Integer sensorVariableId)
getAll
in interface ForwardPayloadDao
public List<ForwardPayload> getAllEnabled(Integer sensorVariableId)
getAllEnabled
in interface ForwardPayloadDao
public QueryResponse getAll(Query query)
getAll
in interface ForwardPayloadDao
public 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.