ContactRepository

interface ContactRepository

Functions

Link copied to clipboard
abstract fun createContact(contact: Contact): Completable
Link copied to clipboard
abstract fun deleteContact(contactId: String): Completable
Link copied to clipboard
abstract fun getContactBy(contactId: String): Contact?
Link copied to clipboard
abstract fun getContactByUserName(userName: String): Contact?
Link copied to clipboard
abstract fun getContactsBy(query: SourceQuery): Single<List<Contact>>
Link copied to clipboard
abstract fun getContactsByUserId(userId: String): List<Contact>
Link copied to clipboard
abstract fun getLocalContact(): Single<Contact>
Link copied to clipboard
abstract fun saveContact(contact: Contact)
Link copied to clipboard
abstract fun updateContact(contact: Contact): Completable

Inheritors

Link copied to clipboard