use of org.hisp.dhis.android.core.category.CategoryComboStoreImpl in project dhis2-android-sdk by dhis2.
the class HandlerFactory method createCategoryComboHandler.
public static CategoryComboHandler createCategoryComboHandler(DatabaseAdapter databaseAdapter) {
CategoryCategoryComboLinkStore categoryCategoryComboLinkStore = new CategoryCategoryComboLinkStoreImpl(databaseAdapter);
CategoryOptionComboStore optionComboStore = new CategoryOptionComboStoreImpl(databaseAdapter);
CategoryOptionComboHandler optionComboHandler = new CategoryOptionComboHandler(optionComboStore);
CategoryComboStore store = new CategoryComboStoreImpl(databaseAdapter);
CategoryOptionComboCategoryLinkStore categoryComboOptionLinkCategoryStore = new CategoryOptionComboCategoryLinkStoreImpl(databaseAdapter);
CategoryComboHandler categoryComboHandler = new CategoryComboHandler(store, categoryComboOptionLinkCategoryStore, categoryCategoryComboLinkStore, optionComboHandler);
return categoryComboHandler;
}
Aggregations