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, updatePurgeCondition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countOf, countOf, countOf, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, updateBulk, updateBulk, updateId
public SensorVariableDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public 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 SensorVariableDao
public List<SensorVariable> getAllBySensorIds(List<Integer> sensorRefIds)
getAllBySensorIds
in interface SensorVariableDao
public List<SensorVariable> getByVariableType(McMessageUtils.MESSAGE_TYPE_SET_REQ variableType)
getByVariableType
in interface SensorVariableDao
public List<SensorVariable> getAllDoubleMetric(Integer sensorRefId)
getAllDoubleMetric
in interface SensorVariableDao
public SensorVariable get(Integer sensorRefId, McMessageUtils.MESSAGE_TYPE_SET_REQ messageVariableType)
get
in interface SensorVariableDao
public SensorVariable get(SensorVariable sensorVariable)
get
in interface BaseDao<SensorVariable,Integer>
public SensorVariable get(int id)
get
in interface SensorVariableDao
public List<Integer> getSensorVariableIds(Integer sId)
getSensorVariableIds
in interface SensorVariableDao
public 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 SensorVariableDao
public QueryResponse getAll(Query query)
getAll
in interface SensorVariableDao
Copyright © 2015–2019. All rights reserved.