vncore / com.venuenext.vncore.data / UserRepository

UserRepository

class UserRepository

UserRepository VenueNext

Created on 3/7/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

UserRepository VenueNext

UserRepository(context: Context)

Properties

context

val context: Context

Functions

count

fun count(): Int

deleteUser

fun deleteUser(userUUID: String): Deferred<Unit>

fetchProfile

fun fetchProfile(userId: String): Profile?

getUser

fun getUser(userUUID: String): Deferred<User>

insertUser

fun insertUser(user: User): Deferred<Unit>

insertUsers

fun insertUsers(users: List<User>): Deferred<Unit>