Added on demand process

This commit is contained in:
M66B
2019-02-28 18:13:28 +00:00
parent 9d15ccc695
commit c39b85c139
11 changed files with 115 additions and 52 deletions

View File

@@ -39,13 +39,6 @@ public interface DaoFolder {
" AND (account.synchronize AND NOT account.ondemand)")
List<EntityFolder> getFoldersAutoSync();
@Query("SELECT folder.* FROM folder" +
" JOIN account ON account.id = folder.account" +
" WHERE folder.synchronize" +
" AND account.id = :account" +
" AND (account.synchronize AND account.ondemand)")
List<EntityFolder> getFoldersOnDemandSync(long account);
@Query("SELECT folder.* FROM folder" +
" JOIN account ON account.id = folder.account" +
" WHERE account.synchronize" +