Class ProductCategoryModelMother
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.models.AbstractModelMother<CategoryModel>
-
- de.hybris.platform.cmsfacades.util.models.ProductCategoryModelMother
-
public class ProductCategoryModelMother extends AbstractModelMother<CategoryModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CARS
static java.lang.String
ELECTRONICS
-
Constructor Summary
Constructors Constructor Description ProductCategoryModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryModel
createCarsCategory(CatalogVersionModel catalogVersion)
CategoryModel
createDefaultCategory(CatalogVersionModel catalogVersion)
protected CategoryModel
getCategoryByCode(java.lang.String categoryCode, CatalogVersionModel catalogVersion)
CategoryDao
getCategoryDao()
void
setCategoryDao(CategoryDao categoryDao)
-
Methods inherited from class de.hybris.platform.cmsfacades.util.models.AbstractModelMother
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelService
-
-
-
-
Field Detail
-
ELECTRONICS
public static final java.lang.String ELECTRONICS
- See Also:
- Constant Field Values
-
CARS
public static final java.lang.String CARS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategoryByCode
protected CategoryModel getCategoryByCode(java.lang.String categoryCode, CatalogVersionModel catalogVersion)
-
createDefaultCategory
public CategoryModel createDefaultCategory(CatalogVersionModel catalogVersion)
-
createCarsCategory
public CategoryModel createCarsCategory(CatalogVersionModel catalogVersion)
-
getCategoryDao
public CategoryDao getCategoryDao()
-
setCategoryDao
public void setCategoryDao(CategoryDao categoryDao)
-
-