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

@@ -70,6 +70,9 @@ public interface DaoIdentity {
@Update
void updateIdentity(EntityIdentity identity);
@Query("UPDATE identity SET synchronize = :synchronize WHERE id = :id")
int setIdentitySynchronize(long id, boolean synchronize);
@Query("UPDATE identity SET state = :state WHERE id = :id")
int setIdentityState(long id, String state);