public static SyncAccount synchronizeSyncAccount(long syncAccountId) { GetSyncContextEvent getSyncContextEvent = new GetSyncContextEvent(syncAccountId, Collections.<String, Object>emptyMap()); getSyncContextEvent.run(); return SyncAccountService.fetchSyncAccount(syncAccountId); }
public static SyncAccount synchronizeSyncAccount(long syncAccountId) { Map<String, Object> parameters = new HashMap<String, Object>(); parameters.put("uuid", null); GetSyncContextEvent getSyncContextEvent = new GetSyncContextEvent(syncAccountId, parameters); getSyncContextEvent.run(); return SyncAccountService.fetchSyncAccount(syncAccountId); }