IContact Methods |
The IContact type exposes the following members.
Name | Description | |
---|---|---|
![]() | CancelChanges | Undo any changes made since the object was loaded. |
![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first. |
![]() | Copy | Creates a new copy of this contact, optionally with a copy of the persons belonging to it as well. |
![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. |
![]() | GetActivityList | |
![]() | GetPersons | Get the persons attached to this contact. Hidden persons are filtered out. |
![]() | GetProjects | Get the projects that this contact's persons are members of. Duplicate projects are eliminated. |
![]() | GetRelations | Get all relations with connection to this contact |
![]() | MergeTo | Merge this contact into the passed contact, together with the persons and appointments that belongs to this contact. |
![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object. |
![]() | SetDefaults | Populate the object with default values, such as setting the owner to the current user. |