ManufacturerDAO
interface ManufacturerDAO
Database access object responsible for interaction with manufacturers of the vehicle manager database. Actual DAO instance is generated by Room library.
Functions
Link copied to clipboard
Removes all the data for selected manufacturers from the database
Link copied to clipboard
Queries for all manufacturers saved in the database
Link copied to clipboard
Queries for all manufacturers saved in the database
Link copied to clipboard
Queries for a manufacturer with given ID
Link copied to clipboard
Queries for a manufacturer with given ID
Link copied to clipboard
Inserts new manufacturers to the database. If manufacturer with given ID already exists, the item will not be updated. See insertOrUpdate.
Link copied to clipboard
Inserts or updates manufacturers in the database. In case the manufacturer with given ID is already present in the database, it's data will be updated.
Link copied to clipboard
Updates existing manufacturers (with same ID parameter).