]> git.mxchange.org Git - addressbook-swing.git/blob - Addressbook/src/org/mxchange/addressbook/manager/contact/ManageableContact.java
Initial commit
[addressbook-swing.git] / Addressbook / src / org / mxchange / addressbook / manager / contact / ManageableContact.java
1 /*\r
2  * Copyright (C) 2015 Roland Haeder\r
3  *\r
4  * This program is free software: you can redistribute it and/or modify\r
5  * it under the terms of the GNU General Public License as published by\r
6  * the Free Software Foundation, either version 3 of the License, or\r
7  * (at your option) any later version.\r
8  *\r
9  * This program is distributed in the hope that it will be useful,\r
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12  * GNU General Public License for more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License\r
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
16  */\r
17 package org.mxchange.addressbook.manager.contact;\r
18 \r
19 import org.mxchange.addressbook.contact.Contact;\r
20 import org.mxchange.addressbook.manager.Manageable;\r
21 \r
22 /**\r
23  *\r
24  * @author Roland Haeder\r
25  */\r
26 public interface ManageableContact extends Manageable {\r
27     /**\r
28      * Adds given contact to address book\r
29      *\r
30      * @param contact Contact being added\r
31      * @todo Add check for book size\r
32      */\r
33     public void addContact (final Contact contact);\r
34 \r
35     /**\r
36      * Let the user add a new other address\r
37      */\r
38     public void addOtherAddress ();\r
39 \r
40     /**\r
41      * Let the user change other address\r
42      */\r
43     public void changeOtherAddress ();\r
44 \r
45     /**\r
46      * Let the user change own data\r
47      */\r
48     public void changeOwnData ();\r
49 \r
50     /**\r
51      * Let the user delete other address\r
52      */\r
53     public void deleteOtherAddress ();\r
54 \r
55     /**\r
56      * Asks user for own data\r
57      */\r
58     public void enterOwnData ();\r
59 \r
60     /**\r
61      * Getter for size\r
62      *\r
63      * @return size of contact "book"\r
64      */\r
65     public int size ();\r
66 }\r