public class ItemListLineDao_Impl extends java.lang.Object implements ItemListLineDao
Constructor and Description |
---|
ItemListLineDao_Impl(android.arch.persistence.room.RoomDatabase __db) |
Modifier and Type | Method and Description |
---|---|
int |
countItemListLinesInList(int itemListId) |
void |
delete(ItemListLine itemListLine)
Delete an item list line in the database
|
ItemListLine |
findById(int id)
Retrieves an item list line from the database
|
java.util.List<ItemListLine> |
getAll()
Retrieves a list of item list lines in the database
|
java.util.List<ItemListLine> |
getByItemListId(int itemListId)
Retrieves an item list line from the database
|
void |
insertAll(ItemListLine... itemListLines)
Insert one or more item list lines in the database
|
void |
update(ItemListLine itemListLine)
Update an item list line in the database
|
public ItemListLineDao_Impl(android.arch.persistence.room.RoomDatabase __db)
public void insertAll(ItemListLine... itemListLines)
ItemListLineDao
insertAll
in interface ItemListLineDao
public void delete(ItemListLine itemListLine)
ItemListLineDao
delete
in interface ItemListLineDao
public void update(ItemListLine itemListLine)
ItemListLineDao
update
in interface ItemListLineDao
public java.util.List<ItemListLine> getAll()
ItemListLineDao
getAll
in interface ItemListLineDao
public java.util.List<ItemListLine> getByItemListId(int itemListId)
ItemListLineDao
getByItemListId
in interface ItemListLineDao
itemListId
- the item list idpublic ItemListLine findById(int id)
ItemListLineDao
findById
in interface ItemListLineDao
id
- the item list line idpublic int countItemListLinesInList(int itemListId)
countItemListLinesInList
in interface ItemListLineDao