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.StringACCESSORIESstatic java.lang.StringHEELSstatic java.lang.StringSANDALS
-
Constructor Summary
Constructors Constructor Description CategoryModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryModelcreateAccessoriesCategory(CatalogVersionModel catalogVersion)protected CategoryModelcreateCategory(java.lang.String nameCode, CatalogVersionModel catalogVersion)CategoryModelcreateHeelsCategory(CatalogVersionModel catalogVersion)CategoryModelcreateSandalsCategory(CatalogVersionModel catalogVersion)CategoryDaogetCategoryDao()voidsetCategoryDao(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)
-
-