Constructor and Description |
---|
RoomDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
Modifier and Type | Method and Description |
---|---|
void |
deleteIds(List<Integer> ids) |
Room |
get(Room node) |
List<Room> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
Room |
getByName(String name) |
Room |
getByNameAndParentId(String name,
Integer parentId) |
List<Room> |
getByParentId(Integer parentId) |
List<Integer> |
getChildrenIds(Integer id) |
List<Integer> |
getParentIds(Integer id) |
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 RoomDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public QueryResponse getAll(Query query)
public List<Room> getByParentId(Integer parentId)
getByParentId
in interface RoomDao
public Room getByNameAndParentId(String name, Integer parentId)
getByNameAndParentId
in interface RoomDao
public List<Integer> getParentIds(Integer id)
getParentIds
in interface RoomDao
public List<Integer> getChildrenIds(Integer id)
getChildrenIds
in interface RoomDao
Copyright © 2015–2019. All rights reserved.