Constructor and Description |
---|
RoleDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
Modifier and Type | Method and Description |
---|---|
Role |
get(Role role) |
List<Role> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
Role |
getByRoleName(String roleName) |
List<Integer> |
getGatewayIds(Integer userId) |
HashMap<String,List<String>> |
getMqttTopics(Integer userId) |
List<Integer> |
getNodeIds(Integer userId) |
List<String> |
getPermissionsByUserId(Integer userId) |
List<Integer> |
getSensorIds(Integer userId) |
List<Integer> |
getSensorVariableIds(Integer userId) |
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 RoleDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public Role getByRoleName(String roleName)
getByRoleName
in interface RoleDao
public QueryResponse getAll(Query query)
public List<String> getPermissionsByUserId(Integer userId)
getPermissionsByUserId
in interface RoleDao
public List<Integer> getGatewayIds(Integer userId)
getGatewayIds
in interface RoleDao
public List<Integer> getNodeIds(Integer userId)
getNodeIds
in interface RoleDao
public List<Integer> getSensorIds(Integer userId)
getSensorIds
in interface RoleDao
public HashMap<String,List<String>> getMqttTopics(Integer userId)
getMqttTopics
in interface RoleDao
public List<Integer> getSensorVariableIds(Integer userId)
getSensorVariableIds
in interface RoleDao
Copyright © 2015–2019. All rights reserved.