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

UpcomingCardsAdapterItem.java « upcomingcards « ui « 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: 2bffb752bc9c823728dff70c6ffe65efe0a55608 (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
30
31
32
33
34
35
36
37
38
39
40
package it.niedermann.nextcloud.deck.ui.upcomingcards;

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

public class UpcomingCardsAdapterItem {
    private final FullCard fullCard;
    private final Account account;
    private final long currentBoardLocalId;
    private final Long currentBoardRemoteId;
    private final boolean currentBoardHasEditPermission;

    public UpcomingCardsAdapterItem(FullCard fullCard, Account account, long currentBoardLocalId, Long currentBoardRemoteId, boolean currentBoardHasEditPermission) {
        this.fullCard = fullCard;
        this.account = account;
        this.currentBoardLocalId = currentBoardLocalId;
        this.currentBoardRemoteId = currentBoardRemoteId;
        this.currentBoardHasEditPermission = currentBoardHasEditPermission;
    }

    public FullCard getFullCard() {
        return fullCard;
    }

    public Account getAccount() {
        return account;
    }

    public Long getCurrentBoardLocalId() {
        return currentBoardLocalId;
    }

    public Long getCurrentBoardRemoteId() {
        return currentBoardRemoteId;
    }

    public boolean currentBoardHasEditPermission() {
        return currentBoardHasEditPermission;
    }
}