ContactManager

class ContactManager(sessions: Sessions, users: Users, localDataSource: LocalDataSource, remoteDataSource: RemoteDataSource) : ContactRepository

Functions

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