Search in sources :

Example 1 with CategoryOptionComboStore

use of org.hisp.dhis.android.core.category.CategoryOptionComboStore 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;
}
Also used : CategoryOptionComboStore(org.hisp.dhis.android.core.category.CategoryOptionComboStore) CategoryOptionComboCategoryLinkStore(org.hisp.dhis.android.core.category.CategoryOptionComboCategoryLinkStore) CategoryOptionComboStoreImpl(org.hisp.dhis.android.core.category.CategoryOptionComboStoreImpl) CategoryCategoryComboLinkStore(org.hisp.dhis.android.core.category.CategoryCategoryComboLinkStore) CategoryOptionComboHandler(org.hisp.dhis.android.core.category.CategoryOptionComboHandler) CategoryOptionComboCategoryLinkStoreImpl(org.hisp.dhis.android.core.category.CategoryOptionComboCategoryLinkStoreImpl) CategoryCategoryComboLinkStoreImpl(org.hisp.dhis.android.core.category.CategoryCategoryComboLinkStoreImpl) CategoryComboStoreImpl(org.hisp.dhis.android.core.category.CategoryComboStoreImpl) CategoryComboHandler(org.hisp.dhis.android.core.category.CategoryComboHandler) CategoryComboStore(org.hisp.dhis.android.core.category.CategoryComboStore)

Aggregations

CategoryCategoryComboLinkStore (org.hisp.dhis.android.core.category.CategoryCategoryComboLinkStore)1 CategoryCategoryComboLinkStoreImpl (org.hisp.dhis.android.core.category.CategoryCategoryComboLinkStoreImpl)1 CategoryComboHandler (org.hisp.dhis.android.core.category.CategoryComboHandler)1 CategoryComboStore (org.hisp.dhis.android.core.category.CategoryComboStore)1 CategoryComboStoreImpl (org.hisp.dhis.android.core.category.CategoryComboStoreImpl)1 CategoryOptionComboCategoryLinkStore (org.hisp.dhis.android.core.category.CategoryOptionComboCategoryLinkStore)1 CategoryOptionComboCategoryLinkStoreImpl (org.hisp.dhis.android.core.category.CategoryOptionComboCategoryLinkStoreImpl)1 CategoryOptionComboHandler (org.hisp.dhis.android.core.category.CategoryOptionComboHandler)1 CategoryOptionComboStore (org.hisp.dhis.android.core.category.CategoryOptionComboStore)1 CategoryOptionComboStoreImpl (org.hisp.dhis.android.core.category.CategoryOptionComboStoreImpl)1