public void addEntry(String entryId, ValuesManager vm, final String successMessage) {
   Map<Integer, String> errorStatuses = new HashMap<Integer, String>();
   errorStatuses.put(PHONEBOOK_DUPLICATE_ENTRY_ERROR, s_searchConstants.duplicatePhonebookEntry());
   HttpRequestBuilder.doPost(
       getPhoneBookEntryUrl(entryId),
       buildJsonRequest(vm).toString(),
       CONTENT_TYPE,
       VARIANT,
       successMessage,
       errorStatuses);
 }
 public void deleteEntry(String entryId, String successMessage) {
   HttpRequestBuilder.doDelete(
       getPhoneBookEntryUrl(entryId), CONTENT_TYPE, VARIANT, successMessage);
 }