public class RoleUserMapDaoImpl extends BaseAbstractDaoImpl<RoleUserMap,Object> implements RoleUserMapDao
| Constructor and Description |
|---|
RoleUserMapDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByRoleId(Integer roleId) |
void |
deleteByUserId(Integer userId) |
RoleUserMap |
get(RoleUserMap tdao) |
List<RoleUserMap> |
getAll(List<Object> ids) |
List<RoleUserMap> |
getByRoleId(Integer roleId) |
List<RoleUserMap> |
getByUserId(Integer userId) |
List<Integer> |
getRolesByUserId(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 RoleUserMapDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic RoleUserMap get(RoleUserMap tdao)
get in interface BaseDao<RoleUserMap,Object>public List<RoleUserMap> getAll(List<Object> ids)
getAll in interface BaseDao<RoleUserMap,Object>public List<RoleUserMap> getByUserId(Integer userId)
getByUserId in interface RoleUserMapDaopublic List<RoleUserMap> getByRoleId(Integer roleId)
getByRoleId in interface RoleUserMapDaopublic void deleteByRoleId(Integer roleId)
deleteByRoleId in interface RoleUserMapDaopublic void deleteByUserId(Integer userId)
deleteByUserId in interface RoleUserMapDaopublic List<Integer> getRolesByUserId(Integer userId)
getRolesByUserId in interface RoleUserMapDaoCopyright © 2015–2019. All rights reserved.