Search in sources :

Example 1 with CategoryStoreImpl

use of org.hisp.dhis.android.core.category.CategoryStoreImpl 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;
}
Also used : CategoryOptionHandler(org.hisp.dhis.android.core.category.CategoryOptionHandler) CategoryCategoryOptionLinkStoreImpl(org.hisp.dhis.android.core.category.CategoryCategoryOptionLinkStoreImpl) CategoryStoreImpl(org.hisp.dhis.android.core.category.CategoryStoreImpl) CategoryStore(org.hisp.dhis.android.core.category.CategoryStore) CategoryCategoryOptionLinkStore(org.hisp.dhis.android.core.category.CategoryCategoryOptionLinkStore) CategoryHandler(org.hisp.dhis.android.core.category.CategoryHandler)

Aggregations

CategoryCategoryOptionLinkStore (org.hisp.dhis.android.core.category.CategoryCategoryOptionLinkStore)1 CategoryCategoryOptionLinkStoreImpl (org.hisp.dhis.android.core.category.CategoryCategoryOptionLinkStoreImpl)1 CategoryHandler (org.hisp.dhis.android.core.category.CategoryHandler)1 CategoryOptionHandler (org.hisp.dhis.android.core.category.CategoryOptionHandler)1 CategoryStore (org.hisp.dhis.android.core.category.CategoryStore)1 CategoryStoreImpl (org.hisp.dhis.android.core.category.CategoryStoreImpl)1