ContactRepository
Allows retrieving, updating and creating contacts. An instance of this class must be obtained using Session.getContactRepository
Constructor Summary
Public Constructor | ||
public |
Allows access to the list with every contact |
Member Summary
Public Members | ||
public |
|
|
public |
contacts$: * |
|
public |
|
Method Summary
Public Methods | ||
public |
async createContact(contact: *): * Creates a new contact |
|
public |
async deleteContact(contact: *): * Deletes a contact |
|
public |
getActions(): * |
|
public |
async saveContact(contact: *): * Saves a contact |
Public Constructors
Public Members
public contactService: * source
public contacts$: * source
public userRepository: * source
Public Methods
public async createContact(contact: *): * source
Creates a new contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |
public async deleteContact(contact: *): * source
Deletes a contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |
public async saveContact(contact: *): * source
Saves a contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |