IPerson Methods |
The IPerson type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddConsentByIds | Add ConsentPerson by ConsentPurpose Id, LegalBase Id, ConsentSource Id, Comment. All parameters will be verified! |
![]() | AddConsentByNames | Add ConsentPerson by ConsentPurpose Name, LegalBase Name, ConsentSource Name, Comment. All parameters will be verified! |
![]() | AddConsentByRecord | Add ConsentPerson by ConsentPerson. All identy parameters will be verified! |
![]() ![]() | 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 person model to the database, and retrieves the new data from the database again. 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 |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. |
![]() | GetConsentById | Get ConsentPerson for given ConsentPurpose Id |
![]() | GetConsentByName | Get ConsentPerson for given ConsentPurpose unique key name |
![]() | GetRelations | Get all relations with connection to this person |
![]() | IsShipmentTypeReserved | Is ShipmentType reserved? |
![]() | MergeTo | Merges this person into the other person, optionally together with his appointments |
![]() | MoveTo | Moves a person to a new contact, optionally together with his appointments |
![]() | RemoveConsentById | Remove ConsentPerson by ConsentPurpose Id |
![]() | RemoveConsentByName | Remove ConsentPerson by ConsentPurpose Name |
![]() ![]() | 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.
Uses the UserPreferences table to set the predefined default settings for a person. The SetDefaults method is only available for current in this version of SuperOfficeDB Type Library |
![]() | SetShipmentTypeReserved | Set ShipmentType reserved |