# ContactManager

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

## Constructors

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

## Types

Companion
Link copied to clipboard
object Companion

## Functions

clear
Link copied to clipboard
open override fun clear()
createContact
Link copied to clipboard
open override fun createContact(contact: Contact): Completable
deleteContact
Link copied to clipboard
open override fun deleteContact(contactId: String): Completable
deleteContactOnLocal
Link copied to clipboard
open override fun deleteContactOnLocal(contact: Contact)
getContactByAddress
Link copied to clipboard
open override fun getContactByAddress(address: String): Single<Contact>
getContactById
Link copied to clipboard
open override fun getContactById(contactId: String): Maybe<Contact>
getContactByUserName
Link copied to clipboard
open override fun getContactByUserName(userName: String): Contact?
getContactByUserNameAndDomain
Link copied to clipboard
open override fun getContactByUserNameAndDomain(userName: String, domain: String): Single<Contact>
getContactsBy
Link copied to clipboard
open override fun getContactsBy(query: SourceQuery): Single<List<Contact>>
getContactsByAddress
Link copied to clipboard
open override fun getContactsByAddress(address: String): Single<List<Contact>>
getContactsByEmail
Link copied to clipboard
open override fun getContactsByEmail(email: String): List<Contact>
getContactsByUserId
Link copied to clipboard
open override fun getContactsByUserId(userId: String): List<Contact>
getLocalContact
Link copied to clipboard
open override fun getLocalContact(): Single<Contact>
resolveIdentifier
Link copied to clipboard
open override fun resolveIdentifier(identifier: String): Single<List<Contact>>
saveContact
Link copied to clipboard
open override fun saveContact(contact: Contact)
updateContact
Link copied to clipboard
open override fun updateContact(contact: Contact): Completable
updateLocalContact
Link copied to clipboard
open override fun updateLocalContact(contact: Contact)