ClaimCenter ContactAPI web service methods for removing contacts
The ClaimCenter implementation of ABClientAPI is the web service gw.webservice.cc.cc1000.contact.ContactAPI. This web service provides implementations of all the methods, two of which are used by ContactManager in requesting that ClaimCenter delete a contact:
isContactDeletable(addressBookUID : String)If there are fewer than ten local instances of the contact, this method finds all the contacts linked to the
addressBookUID. It then calls the ContactRetireHelper.retireContact(Contact) method on each one and returnstrueif they can all be successfully retired.If any contact cannot be successfully retired, the method returns
falseto indicate that the contact cannot be deleted. If there are more than ten contacts, the method returnsfalseand then generates work items to check all the local contacts as part of the work queue. The work queue calls ContactRetireHelper.retireContact to retire each contact instance.removeContact(addressBookUID : String)Calls ContactRetireHelper.retireContact for each ClaimCenter contact found with the
addressBookUID.
