public class SensorVariableDaoImpl extends BaseAbstractDaoImpl<SensorVariable,Integer> implements SensorVariableDao
| Constructor and Description |
|---|
SensorVariableDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(SensorVariable sensorVariable) |
void |
createOrUpdate(SensorVariable sensorVariable) |
SensorVariable |
get(int id) |
SensorVariable |
get(Integer sensorRefId,
McMessageUtils.MESSAGE_TYPE_SET_REQ messageVariableType) |
SensorVariable |
get(SensorVariable sensorVariable) |
List<SensorVariable> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
List<SensorVariable> |
getAll(Query query,
String filter,
AllowedResources allowedResources) |
List<SensorVariable> |
getAllBySensorId(Integer sensorRefId) |
List<SensorVariable> |
getAllBySensorIds(List<Integer> sensorRefIds) |
List<SensorVariable> |
getAllDoubleMetric(Integer sensorRefId) |
List<SensorVariable> |
getByVariableType(McMessageUtils.MESSAGE_TYPE_SET_REQ variableType) |
List<Integer> |
getSensorVariableIds(Integer sId) |
void |
update(SensorVariable sensorVariable) |
countOf, countOf, countOf, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAll, getAllData, getById, getDao, getQueryResponse, getTableInfo, hasTable, updateBulk, updateBulk, updateId, updatePurgeConditionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountOf, countOf, countOf, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, updateBulk, updateBulk, updateIdpublic SensorVariableDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic void create(SensorVariable sensorVariable)
create in interface BaseDao<SensorVariable,Integer>create in class BaseAbstractDaoImpl<SensorVariable,Integer>public void createOrUpdate(SensorVariable sensorVariable)
createOrUpdate in interface BaseDao<SensorVariable,Integer>createOrUpdate in class BaseAbstractDaoImpl<SensorVariable,Integer>public void update(SensorVariable sensorVariable)
update in interface BaseDao<SensorVariable,Integer>update in class BaseAbstractDaoImpl<SensorVariable,Integer>public List<SensorVariable> getAllBySensorId(Integer sensorRefId)
getAllBySensorId in interface SensorVariableDaopublic List<SensorVariable> getAllBySensorIds(List<Integer> sensorRefIds)
getAllBySensorIds in interface SensorVariableDaopublic List<SensorVariable> getByVariableType(McMessageUtils.MESSAGE_TYPE_SET_REQ variableType)
getByVariableType in interface SensorVariableDaopublic List<SensorVariable> getAllDoubleMetric(Integer sensorRefId)
getAllDoubleMetric in interface SensorVariableDaopublic SensorVariable get(Integer sensorRefId, McMessageUtils.MESSAGE_TYPE_SET_REQ messageVariableType)
get in interface SensorVariableDaopublic SensorVariable get(SensorVariable sensorVariable)
get in interface BaseDao<SensorVariable,Integer>public SensorVariable get(int id)
get in interface SensorVariableDaopublic List<Integer> getSensorVariableIds(Integer sId)
getSensorVariableIds in interface SensorVariableDaopublic List<SensorVariable> getAll(List<Integer> ids)
getAll in interface BaseDao<SensorVariable,Integer>public List<SensorVariable> getAll(Query query, String filter, AllowedResources allowedResources)
getAll in interface SensorVariableDaopublic QueryResponse getAll(Query query)
getAll in interface SensorVariableDaoCopyright © 2015–2019. All rights reserved.