Welcome to mirror list, hosted at ThFree Co, Russian Federation.

IDataBasePersistenceAdapter.java « adapters « sync « persistence « deck « nextcloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c6b138b8c380886791aa40744524085b9ecdf848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package it.niedermann.nextcloud.deck.persistence.sync.adapters;

import java.util.List;

import it.niedermann.nextcloud.deck.model.Account;

public interface IDataBasePersistenceAdapter extends IPersistenceAdapter {
    boolean hasAccounts();

    Account createAccount(String accoutName);

    void deleteAccount(long id);

    void updateAccount(Account account);

    Account readAccount(long id);

    List<Account> readAccounts();

}