SyncService

public interface SyncService

Used to synchronize this module with the DHIS2 server schema

Methods

sync

boolean sync()

Queries the DHIS2 server to get the current schema and then persists that information in MDS. If the process fails, all of the records pertaining to the DHIS2 schema are deleted.

Returns:true if successful; false otherwise