throw new UnsupportedOperationException("Not supported yet.");\r
}\r
\r
+ /**\r
+ * Let the user change address data\r
+ * \r
+ * @param contact Instance to change data\r
+ */\r
+ @Override\r
+ public void changeAddressData (final Contact contact) {\r
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.\r
+ }\r
+\r
+ /**\r
+ * Let the user change "name data"\r
+ * \r
+ * @param contact Instance to change data\r
+ */\r
+ @Override\r
+ public void changeNameData (final Contact contact) {\r
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.\r
+ }\r
+\r
/**\r
* Let the user change other address\r
*/\r
throw new UnsupportedOperationException("Not supported yet.");\r
}\r
\r
+ /**\r
+ * Let the user change other data\r
+ *\r
+ * @param contact Instance to change data\r
+ */\r
+ @Override\r
+ public void changeOtherData (final Contact contact) {\r
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.\r
+ }\r
+\r
/**\r
* Allows the user to change his/her own data\r
*/\r
// It must be found\r
assert(contact instanceof Contact);\r
\r
- // @TODO Unfinished\r
- throw new UnsupportedOperationException("Method is not finished.");\r
+ // Display contact\r
+ contact.show(this.getClient());\r
+\r
+ try {\r
+ // Ask user what to change\r
+ this.getClient().doUserChangeAdressChoice(contact);\r
+ } catch (final Exception ex) {\r
+ this.getLogger().catching(ex);\r
+ }\r
}\r
\r
/**\r