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 |
createContact(contact: *): * Creates a new contact |
|
public |
deleteContact(contact: *): * Deletes a contact |
|
public |
getActions(): * |
|
public |
saveContact(contact: *): * Saves a contact |
Public Constructors
Public Members
public contactService: * source
public contacts$: * source
public userRepository: * source
Public Methods
public createContact(contact: *): * source
Creates a new contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |
public deleteContact(contact: *): * source
Deletes a contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |
public saveContact(contact: *): * source
Saves a contact
Params:
Name | Type | Attribute | Description |
contact | * |
Return:
* |