use of org.hisp.dhis.android.core.trackedentity.TrackedEntityDataValueHandler in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createTrackedEntityDataValueHandler.
public static TrackedEntityDataValueHandler createTrackedEntityDataValueHandler(DatabaseAdapter databaseAdapter) {
TrackedEntityDataValueStore trackedEntityDataValueStore = new TrackedEntityDataValueStoreImpl(databaseAdapter);
TrackedEntityDataValueHandler trackedEntityDataValueHandler = new TrackedEntityDataValueHandler(trackedEntityDataValueStore);
return trackedEntityDataValueHandler;
}
use of org.hisp.dhis.android.core.trackedentity.TrackedEntityDataValueHandler in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createEventHandler.
public static EventHandler createEventHandler(DatabaseAdapter databaseAdapter) {
TrackedEntityDataValueHandler trackedEntityDataValueHandler = createTrackedEntityDataValueHandler(databaseAdapter);
EventStore eventStore = new EventStoreImpl(databaseAdapter);
EventHandler eventHandler = new EventHandler(eventStore, trackedEntityDataValueHandler);
return eventHandler;
}
Aggregations