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

IPersistenceAdapter.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: fc69b5fa20d4ff0bebe7105bb786cbec327cf9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package it.niedermann.nextcloud.deck.persistence.sync.adapters;

import it.niedermann.nextcloud.deck.model.Board;
import it.niedermann.nextcloud.deck.model.Card;
import it.niedermann.nextcloud.deck.model.Stack;

public interface IPersistenceAdapter {

    //### STACKS
    void createStack(long accountId, Stack stack);

    void deleteStack(Stack stack);

    void updateStack(Stack stack);

    //### BOARDS
    void createBoard(long accountId, Board board);

    void deleteBoard(Board board);

    void updateBoard(Board board);

    //### CARDS
    void createCard(long accountId, Card card);

    void deleteCard(Card card);

    void updateCard(Card card);
}