use of org.hisp.dhis.android.core.category.CategoryOptionHandler in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createCategoryHandler.
public static CategoryHandler createCategoryHandler(DatabaseAdapter databaseAdapter) {
CategoryStore categoryStore = new CategoryStoreImpl(databaseAdapter);
CategoryOptionHandler categoryOptionHandler = createCategoryOptionHandler(databaseAdapter);
CategoryCategoryOptionLinkStore categoryCategoryOptionLinkStore = new CategoryCategoryOptionLinkStoreImpl(databaseAdapter);
CategoryHandler categoryHandler = new CategoryHandler(categoryStore, categoryOptionHandler, categoryCategoryOptionLinkStore);
return categoryHandler;
}
use of org.hisp.dhis.android.core.category.CategoryOptionHandler in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createCategoryOptionHandler.
public static CategoryOptionHandler createCategoryOptionHandler(DatabaseAdapter databaseAdapter) {
CategoryOptionStore categoryOptionStore = new CategoryOptionStoreImpl(databaseAdapter);
CategoryOptionHandler categoryOptionHandler = new CategoryOptionHandler(categoryOptionStore);
return categoryOptionHandler;
}
Aggregations