]> git.mxchange.org Git - jaddressbook-share-lib.git/blob - Addressbook/src/org/mxchange/addressbook/database/frontend/contact/ContactWrapper.java
86538a6fcbeb45fbbacc586512163910b524446b
[jaddressbook-share-lib.git] / Addressbook / src / org / mxchange / addressbook / database / frontend / contact / ContactWrapper.java
1 /*
2  * Copyright (C) 2015 Roland Häder
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 package org.mxchange.addressbook.database.frontend.contact;
18
19 import org.mxchange.addressbook.database.frontend.DatabaseWrapper;
20
21 /**
22  *
23  * @author Roland Häder
24  */
25 public interface ContactWrapper extends DatabaseWrapper {
26
27         /**
28          * Shuts down the database layer
29          */
30         public void doShutdown ();
31
32         /**
33          * Flushes all contact entries to database
34          */
35         public void flushAllContacts ();
36
37         /**
38          * Reads all contacts from database backend and handles them over to the
39          * contact manager
40          */
41         public void readAllContacts ();
42 }