コード例 #1
0
  public static SyncAccount synchronizeSyncAccount(long syncAccountId) {
    GetSyncContextEvent getSyncContextEvent =
        new GetSyncContextEvent(syncAccountId, Collections.<String, Object>emptyMap());

    getSyncContextEvent.run();

    return SyncAccountService.fetchSyncAccount(syncAccountId);
  }
コード例 #2
0
  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);
  }