ContactRepository

Functions

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