SecurityModelDataService

interface SecurityModelDataService : IAppDatabase

Service part for work with model SecurityModel

Functions

clearCacheAfterLogout
Link copied to clipboard
open suspend override fun clearCacheAfterLogout()

Performed when the user logs out

clearSecurityModel
Link copied to clipboard
open suspend fun clearSecurityModel()

Remove all models

getSecurityModel
Link copied to clipboard
open fun getSecurityModel(): SecurityModel?

Get Flow model

insertSecurityModel
Link copied to clipboard
open suspend fun insertSecurityModel(vararg models: SecurityModel)

Fun for insert models

isLogin
Link copied to clipboard
open fun isLogin(): Boolean

Check user is login

updateSecurityModel
Link copied to clipboard
open suspend fun updateSecurityModel(model: SecurityModel)

Fun for insert models

Properties

dao
Link copied to clipboard
private val dao: SecurityModelDao

Doa model SecurityModel

dbSecurity
Link copied to clipboard
abstract val dbSecurity: AppSecurityDatabase

Base room db

Inheritors

AppDataService
Link copied to clipboard