IContact Methods |
The IContact type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CancelChanges | Undo any changes made since the object was loaded.
If you made changes to the model that you don’t want to be saved to the database, call the CancelChanges method |
![]() ![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first.
Saves the changes made to the contact model to the database. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first |
![]() | Copy | Creates a new copy of this contact, optionally with a copy of the persons belonging to it as well.
New in Seven. |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object.
Deletes the specified contact model from the database. This may take some time, since this will call a cascade delete on contact persons, phones, addresses, emails, URLs and so on |
![]() | 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.
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.
New in Seven. |
![]() ![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Saves the changes you made to the contact model to the database, does not return the new data from the database |
![]() ![]() | SetDefaults | Populate the object with default values, such as setting the owner to the current user.
Uses the UserPreferences table to set the predefined default settings for a contact (company). The SetDefaults method is only available for current objects in this version of SuperOfficeDB Type Library |