public synchronized boolean isAccountExists(Account account) { return isAccountExists(account.getUrl(), account.getToken(), account.getUserId()); }
public synchronized void addAccount(Account account) { getWritableDatabase().insert(Account.TABLE_NAME, null, account.toContentValues()); }