use of org.hisp.dhis.android.core.trackedentity.TrackedEntityInstanceStore in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createTrackedEntityInstanceHandler.
public static TrackedEntityInstanceHandler createTrackedEntityInstanceHandler(DatabaseAdapter databaseAdapter) {
TrackedEntityInstanceStore trackedEntityInstanceStore = new TrackedEntityInstanceStoreImpl(databaseAdapter);
TrackedEntityAttributeValueHandler trackedEntityAttributeValueHandler = createTrackedEntityAttributeValueHandler(databaseAdapter);
EnrollmentHandler enrollmentHandler = createEnrollmentHandler(databaseAdapter);
TrackedEntityInstanceHandler trackedEntityInstanceHandler = new TrackedEntityInstanceHandler(trackedEntityInstanceStore, trackedEntityAttributeValueHandler, enrollmentHandler);
return trackedEntityInstanceHandler;
}
Aggregations