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, 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 RoleUserMapDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public 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 RoleUserMapDao
public List<RoleUserMap> getByRoleId(Integer roleId)
getByRoleId
in interface RoleUserMapDao
public void deleteByRoleId(Integer roleId)
deleteByRoleId
in interface RoleUserMapDao
public void deleteByUserId(Integer userId)
deleteByUserId
in interface RoleUserMapDao
public List<Integer> getRolesByUserId(Integer userId)
getRolesByUserId
in interface RoleUserMapDao
Copyright © 2015–2019. All rights reserved.