interface LendObjectDatabaseDao
Part of database.dao.
Defines the actions, concerning the local storage of objects of type LendingObject in the DB
deleteFromObjects |
abstract fun deleteFromObjects(): Unit |
deleteObjectById |
abstract fun deleteObjectById(: String): Unit |
getLendingObjectsFromUserById |
abstract fun getLendingObjectsFromUserById(: String): LiveData<List<LendObjectWithObjectUsers>> |
getObjectsCurrentlyUsedByUser |
abstract fun getObjectsCurrentlyUsedByUser(: String): LiveData<List<LendObjectWithObjectUsers>> |
insertAllLendObjects |
abstract fun insertAllLendObjects(vararg : DatabaseLendObject): Unit |
lendingObjectsForUserById |
abstract fun lendingObjectsForUserById(: String): List<LendObjectWithObjectUsers> |
usingObjectsForUserById |
abstract fun usingObjectsForUserById(: String): List<LendObjectWithObjectUsers> |