| 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, 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 RoleDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic Role getByRoleName(String roleName)
getByRoleName in interface RoleDaopublic QueryResponse getAll(Query query)
public List<String> getPermissionsByUserId(Integer userId)
getPermissionsByUserId in interface RoleDaopublic List<Integer> getGatewayIds(Integer userId)
getGatewayIds in interface RoleDaopublic List<Integer> getNodeIds(Integer userId)
getNodeIds in interface RoleDaopublic List<Integer> getSensorIds(Integer userId)
getSensorIds in interface RoleDaopublic HashMap<String,List<String>> getMqttTopics(Integer userId)
getMqttTopics in interface RoleDaopublic List<Integer> getSensorVariableIds(Integer userId)
getSensorVariableIds in interface RoleDaoCopyright © 2015–2019. All rights reserved.