Search in sources :

Example 1 with UserInBoard

use of it.niedermann.nextcloud.deck.model.relations.UserInBoard in project nextcloud-deck by stefan-niedermann.

the class DataBaseAdapter method addUserToBoard.

public void addUserToBoard(Long localUserId, Long localBoardId) {
    final UserInBoard relation = new UserInBoard();
    relation.setBoardId(localBoardId);
    relation.setUserId(localUserId);
    db.getUserInBoardDao().insert(relation);
}
Also used : UserInBoard(it.niedermann.nextcloud.deck.model.relations.UserInBoard)

Aggregations

UserInBoard (it.niedermann.nextcloud.deck.model.relations.UserInBoard)1