Class CategoryModelMother
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.models.AbstractModelMother<CategoryModel>
-
- de.hybris.platform.cmsfacades.util.models.CategoryModelMother
-
public class CategoryModelMother extends AbstractModelMother<CategoryModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCESSORIES
static java.lang.String
HEELS
static java.lang.String
SANDALS
-
Constructor Summary
Constructors Constructor Description CategoryModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryModel
createAccessoriesCategory(CatalogVersionModel catalogVersion)
protected CategoryModel
createCategory(java.lang.String nameCode, CatalogVersionModel catalogVersion)
CategoryModel
createHeelsCategory(CatalogVersionModel catalogVersion)
CategoryModel
createSandalsCategory(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
-
SANDALS
public static final java.lang.String SANDALS
- See Also:
- Constant Field Values
-
HEELS
public static final java.lang.String HEELS
- See Also:
- Constant Field Values
-
ACCESSORIES
public static final java.lang.String ACCESSORIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
createCategory
protected CategoryModel createCategory(java.lang.String nameCode, CatalogVersionModel catalogVersion)
-
createSandalsCategory
public CategoryModel createSandalsCategory(CatalogVersionModel catalogVersion)
-
createHeelsCategory
public CategoryModel createHeelsCategory(CatalogVersionModel catalogVersion)
-
createAccessoriesCategory
public CategoryModel createAccessoriesCategory(CatalogVersionModel catalogVersion)
-
getCategoryDao
public CategoryDao getCategoryDao()
-
setCategoryDao
public void setCategoryDao(CategoryDao categoryDao)
-
-