]> git.mxchange.org Git - jfinancials-swing.git/blobdiff - src/org/mxchange/addressbook/facade/contact/ContactFacade.java
Cleanup through inspection + updated jar(s)
[jfinancials-swing.git] / src / org / mxchange / addressbook / facade / contact / ContactFacade.java
index 1e93bf4d5997e70f893fec31fcf1d6c1c8948e10..5879608b100ee54172a9cfacfdd8ea0f985fbace 100644 (file)
@@ -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 {
         * <p>
         * @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 {
         * <p>
         * @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.
         * <p>
         * @param contact Instance to change data
         */
-       public void doChangeOtherData (final Contact contact);
+       void doChangeOtherData (final Contact contact);
 
        /**
         * Let the user change own data
         * <p>
         */
-       public void doChangeOwnData ();
+       void doChangeOwnData ();
 
        /**
         * Let the user delete other address
         */
-       public void doDeleteOtherAddress ();
+       void doDeleteOtherAddress ();
 
        /**
         * Asks user for own data
         * <p>
         * @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.
         * <p>
         * @return Cellphone number
         */
-       public DialableCellphoneNumber enterOwnCellNumber ();
+       DialableCellphoneNumber enterOwnCellNumber ();
 
        /**
         * Allows the user to enter own city name.
         * <p>
         * @return City name
         */
-       public String enterOwnCity ();
+       String enterOwnCity ();
 
        /**
         * Allows the user to enter comment for own entry.
         * <p>
         * @return Comment
         */
-       public String enterOwnComment ();
+       String enterOwnComment ();
 
        /**
         * Allows the user to enter own company name.
         * <p>
         * @return Company name
         */
-       public String enterOwnCompanyName ();
+       String enterOwnCompanyName ();
 
        /**
         * Allows the user to enter own country code.
         * <p>
         * @return Country code
         */
-       public Country enterOwnCountryCode ();
+       Country enterOwnCountryCode ();
 
        /**
         * Allows the user to enter own email address.
         * <p>
         * @return Email address
         */
-       public String enterOwnEmailAddress ();
+       String enterOwnEmailAddress ();
 
        /**
         * Allows the user to enter own family name.
         * <p>
         * @return Family name
         */
-       public String enterOwnFamilyName ();
+       String enterOwnFamilyName ();
 
        /**
         * Allows the user to enter own fax number.
         * <p>
         * @return Fax number
         */
-       public DialableFaxNumber enterOwnFaxNumber ();
+       DialableFaxNumber enterOwnFaxNumber ();
 
        /**
         * Allows the user to enter own surname.
         * <p>
         * @return Surname
         */
-       public String enterOwnFirstName ();
+       String enterOwnFirstName ();
 
        /**
         * Allows the user to enter own gender.
         * <p>
         * @return Gender
         */
-       public Gender enterOwnGender ();
+       Gender enterOwnGender ();
 
        /**
         * Allows the user to enter own phone number.
         * <p>
         * @return Phone number
         */
-       public DialableLandLineNumber enterOwnPhoneNumber ();
+       DialableLandLineNumber enterOwnPhoneNumber ();
 
        /**
         * Allows the user to enter own street and house number.
         * <p>
         * @return Street and house number
         */
-       public String enterOwnStreet ();
+       String enterOwnStreet ();
 
        /**
         * Allows the user to enter own ZIP code.
         * <p>
         * @return ZIP code
         */
-       public int enterOwnZipCode ();
+       int enterOwnZipCode ();
 
        /**
         * Getter for column count
         * <p>
         * @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 {
         * <p>
         * @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 {
         * <p>
         * @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 {
         * <p>
         * @throws java.io.IOException If an IO error occurs
         */
-       public boolean isOwnContactAdded () throws IOException;
+       boolean isOwnContactAdded () throws IOException;
 
        /**
         * Adds given contact to address book
         * <p>
         * @param contact Contact being added TODO Add check for book size
         */
-       public void registerContact (final Contact contact);
+       void registerContact (final Contact contact);
 }