X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Faddressbook%2Ffacade%2Fcontact%2FContactFacade.java;h=5879608b100ee54172a9cfacfdd8ea0f985fbace;hb=81436f1b3a103356d1580ef7be1b7306d36b2b7c;hp=1e93bf4d5997e70f893fec31fcf1d6c1c8948e10;hpb=c91c1d0e34060b6601dd680e3fdf8d688800bd6f;p=jfinancials-swing.git diff --git a/src/org/mxchange/addressbook/facade/contact/ContactFacade.java b/src/org/mxchange/addressbook/facade/contact/ContactFacade.java index 1e93bf4..5879608 100644 --- a/src/org/mxchange/addressbook/facade/contact/ContactFacade.java +++ b/src/org/mxchange/addressbook/facade/contact/ContactFacade.java @@ -41,12 +41,12 @@ public interface ContactFacade extends Facade { * @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If * the contact is already added */ - public void addContact (final Contact contact) throws ContactAlreadyAddedException; + void addContact (final Contact contact) throws ContactAlreadyAddedException; /** * Let the user add a new other address */ - public void doAddOtherAddress (); + void doAddOtherAddress (); /** * The user can change address data, like street, ZIP code, city and country @@ -54,7 +54,7 @@ public interface ContactFacade extends Facade { *

* @param contact Instance to change data */ - public void doChangeAddressData (final Contact contact); + void doChangeAddressData (final Contact contact); /** * The user can change name data, like gender, surname, family name and @@ -62,147 +62,146 @@ public interface ContactFacade extends Facade { *

* @param contact Instance to change data */ - public void doChangeNameData (final Contact contact); + void doChangeNameData (final Contact contact); /** * Let the user change other address */ - public void doChangeOtherAddress (); + void doChangeOtherAddress (); /** * The user can change other data, like phone numbers or comments. *

* @param contact Instance to change data */ - public void doChangeOtherData (final Contact contact); + void doChangeOtherData (final Contact contact); /** * Let the user change own data *

*/ - public void doChangeOwnData (); + void doChangeOwnData (); /** * Let the user delete other address */ - public void doDeleteOtherAddress (); + void doDeleteOtherAddress (); /** * Asks user for own data *

* @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If * own contact is already added - * @throws java.io.IOException If an IO error was found */ - public void doEnterOwnData () throws ContactAlreadyAddedException; + void doEnterOwnData () throws ContactAlreadyAddedException; /** * List all contacts */ - public void doListContacts (); + void doListContacts (); /** * Searches address book for a contact */ - public void doSearchContacts (); + void doSearchContacts (); /** * Allows the user to enter own cellphone number. *

* @return Cellphone number */ - public DialableCellphoneNumber enterOwnCellNumber (); + DialableCellphoneNumber enterOwnCellNumber (); /** * Allows the user to enter own city name. *

* @return City name */ - public String enterOwnCity (); + String enterOwnCity (); /** * Allows the user to enter comment for own entry. *

* @return Comment */ - public String enterOwnComment (); + String enterOwnComment (); /** * Allows the user to enter own company name. *

* @return Company name */ - public String enterOwnCompanyName (); + String enterOwnCompanyName (); /** * Allows the user to enter own country code. *

* @return Country code */ - public Country enterOwnCountryCode (); + Country enterOwnCountryCode (); /** * Allows the user to enter own email address. *

* @return Email address */ - public String enterOwnEmailAddress (); + String enterOwnEmailAddress (); /** * Allows the user to enter own family name. *

* @return Family name */ - public String enterOwnFamilyName (); + String enterOwnFamilyName (); /** * Allows the user to enter own fax number. *

* @return Fax number */ - public DialableFaxNumber enterOwnFaxNumber (); + DialableFaxNumber enterOwnFaxNumber (); /** * Allows the user to enter own surname. *

* @return Surname */ - public String enterOwnFirstName (); + String enterOwnFirstName (); /** * Allows the user to enter own gender. *

* @return Gender */ - public Gender enterOwnGender (); + Gender enterOwnGender (); /** * Allows the user to enter own phone number. *

* @return Phone number */ - public DialableLandLineNumber enterOwnPhoneNumber (); + DialableLandLineNumber enterOwnPhoneNumber (); /** * Allows the user to enter own street and house number. *

* @return Street and house number */ - public String enterOwnStreet (); + String enterOwnStreet (); /** * Allows the user to enter own ZIP code. *

* @return ZIP code */ - public int enterOwnZipCode (); + int enterOwnZipCode (); /** * Getter for column count *

* @return Column count TODO: This is needed for TableModel in Swing */ - public int getColumnCount (); + int getColumnCount (); /** * Getter for column name at given index. @@ -211,7 +210,7 @@ public interface ContactFacade extends Facade { *

* @return Database column name TODO: This is needed for TableModel in Swing */ - public String getColumnName (final int columnIndex); + String getColumnName (final int columnIndex); /** * Getter for translated column name at given index. @@ -221,7 +220,7 @@ public interface ContactFacade extends Facade { * @return Human-readable column name TODO: This is needed for TableModel in * Swing */ - public String getTranslatedColumnName (final int columnIndex); + String getTranslatedColumnName (final int columnIndex); /** * Somewhat "getter" for value from given row and column index @@ -231,7 +230,7 @@ public interface ContactFacade extends Facade { *

* @return Value from given row/column */ - public Object getValueFromRowColumn (final int rowIndex, final int columnIndex); + Object getValueFromRowColumn (final int rowIndex, final int columnIndex); /** * Checks whether own contact is already added by checking all entries for @@ -241,12 +240,12 @@ public interface ContactFacade extends Facade { *

* @throws java.io.IOException If an IO error occurs */ - public boolean isOwnContactAdded () throws IOException; + boolean isOwnContactAdded () throws IOException; /** * Adds given contact to address book *

* @param contact Contact being added TODO Add check for book size */ - public void registerContact (final Contact contact); + void registerContact (final Contact contact); }