diff options
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsAdapterItem.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsAdapterItem.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsAdapterItem.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsAdapterItem.java new file mode 100644 index 000000000..2bffb752b --- /dev/null +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsAdapterItem.java @@ -0,0 +1,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; + } +}
\ No newline at end of file |