From c0d17c7cbc8bca521b86be06c3b91d3ac8080c76 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 13 Feb 2021 10:06:07 +0200 Subject: [PATCH] make methods in AccountDAO public --- .../java/net/ktnx/mobileledger/dao/AccountDAO.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/dao/AccountDAO.java b/app/src/main/java/net/ktnx/mobileledger/dao/AccountDAO.java index a4ed06e4..80bab0cc 100644 --- a/app/src/main/java/net/ktnx/mobileledger/dao/AccountDAO.java +++ b/app/src/main/java/net/ktnx/mobileledger/dao/AccountDAO.java @@ -32,19 +32,20 @@ import java.util.List; @Dao public abstract class AccountDAO extends BaseDAO { @Insert - abstract void insertSync(Account item); + public abstract void insertSync(Account item); @Update - abstract void updateSync(Account item); + public abstract void updateSync(Account item); @Delete - abstract void deleteSync(Account item); + public abstract void deleteSync(Account item); @Query("SELECT * FROM accounts") - abstract LiveData> getAll(); + public abstract LiveData> getAll(); @Query("SELECT * FROM accounts WHERE profile = :profileUUID AND name = :accountName") - abstract LiveData getByName(@NonNull String profileUUID, @NonNull String accountName); + public abstract LiveData getByName(@NonNull String profileUUID, + @NonNull String accountName); // not useful for now // @Transaction -- 2.39.5