PersonalDataDestructionController class

This class handles the complete lifecycle of the asynchronous destruction process after a destruction request has been made through the PersonalDataDestructionAPI web service. This class attempts to destroy the contact and notify the requesters that the contact has been destroyed.

The class provides the following methods relating to the lifecyle:

notifyRequesterDestructionRequestHasFinished(destructionRequester: PersonalDataDestructionRequester)
Takes a requester and notifies the external system that the request with related AddressBookUID and PublicID values was processed and finished.
destroyContact(contactDestructionRequest: PersonalDataContactDestructionRequest)
Called by PersonalDataContactDestructionWorkQueue, the class that implements the DestroyContactForPersonalData work queue, when attempting destruction. Uses the class that implements the PersonalDataDestroyer interface, called the Destroyer, to destroy the contact, and returns a ContactDestructionStatus. Verifies status and sets appropriate PersonalDataContactDestructionRequest and PersonalDataDestructionRequest attributes.
requeueContactRemovalRequestWithPublicID(publicID : String, bundle : Bundle)
Sets purge request status to ReRun after manual intervention, allowing the purge request to be reattempted for destruction.

See also