Allow enable/disable account/identity/folder from list

This commit is contained in:
M66B
2019-05-03 15:18:32 +02:00
parent 68ae1dbafc
commit a62bc91ce6
7 changed files with 195 additions and 16 deletions

View File

@@ -102,6 +102,9 @@ public interface DaoAccount {
@Update
void updateAccount(EntityAccount account);
@Query("UPDATE account SET synchronize = :synchronize WHERE id = :id")
int setAccountSynchronize(long id, boolean synchronize);
@Query("UPDATE account SET state = :state WHERE id = :id")
int setAccountState(long id, String state);