ClaimCenter classes for removing contacts

ClaimCenter provides two classes you can use in configuring how ClaimCenter handles any data model extensions you have added that might affect the removal, or retiring, of contacts.:

IRetireContactPlugin
This plugin interface has a method to return a set of safe properties. These properties represent foreign key links to a contact that can be retired without any further checking when a contact is retired. You can add to the list any extension foreign keys that you deem safe. You can use the implementation of this interface, gw.plugin.contact.RetireContactPlugin, to add properties to the safe list.
ContactRetireBean
This interface can be implemented by entities that have an unsafe foreign key link to a contact. The implementation can determine if an entity instance will prevent a contact instance from being retired. If not, the contact can be retired, and then the implementation can also determine if any other contacts or entities can be retired along with the contact. See the class gw.api.contact.ContactContactRetireBeanImpl for an example of checking to see if a ContactContact, and the associated Contact, can be retired.