ContactManager

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

Constructors

Link copied to clipboard
constructor(sessions: Sessions, users: Users, localDataSource: LocalDataSource, remoteDataSource: RemoteDataSource)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun clear()
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 deleteContactOnLocal(contact: Contact)
Link copied to clipboard
open override fun getContactByAddress(address: String): Single<Contact>
Link copied to clipboard
open override fun getContactById(contactId: String): Maybe<Contact>
Link copied to clipboard
open override fun getContactByUserName(userName: String): Contact?
Link copied to clipboard
open override fun getContactByUserNameAndDomain(userName: String, domain: String): Single<Contact>
Link copied to clipboard
open override fun getContactsBy(query: SourceQuery): Single<List<Contact>>
Link copied to clipboard
open override fun getContactsByAddress(address: String): Single<List<Contact>>
Link copied to clipboard
open override fun getContactsByEmail(email: String): 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 resolveIdentifier(identifier: String): Single<List<Contact>>
Link copied to clipboard
open override fun saveContact(contact: Contact)
Link copied to clipboard
open override fun updateContact(contact: Contact): Completable
Link copied to clipboard
open override fun updateLocalContact(contact: Contact)