EnergeticProfileDAO
Database access object responsible for interaction with energetic profiles of the vehicle manager database. Actual DAO instance is generated by Room library.
Functions
Removes the data of all energetic profiles
Removes all the data for selected energetic profiles from the database
Removes the data of all energetic profiles that corresponds to passed vehicleModelId
Queries for all energetic profiles saved in the database
Queries for an energetic profile with given ID
Inserts new energetic profiles to the database. If profile with given ID already exists, the item will not be updated. See insertOrUpdate.
Inserts or updates energetic profiles in the database. In case the profile with given ID is already present in the database, it's data will be updated.
Updates existing profiles (with same ID parameter).