Class ProductModelMother
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.models.AbstractModelMother<ProductModel>
-
- de.hybris.platform.cmsfacades.util.models.ProductModelMother
-
public class ProductModelMother extends AbstractModelMother<ProductModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCARstatic java.lang.StringDE_MULTI_LANG_NAMEstatic java.lang.StringEN_MULTI_LANG_NAMEstatic java.lang.StringMOUSEstatic java.lang.StringMULTI_LANG_UID
-
Constructor Summary
Constructors Constructor Description ProductModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductModelcreateCarProduct(CatalogVersionModel catalogVersion)protected ProductModelcreateDefaultProduct(java.lang.String uid, CatalogVersionModel catalogVersion)ProductModelcreateMouseProduct(CatalogVersionModel catalogVersion)ProductModelcreateMultiLangProduct(CatalogVersionModel catalogVersion)ProductDaogetProductDao()voidsetProductDao(ProductDao productDao)-
Methods inherited from class de.hybris.platform.cmsfacades.util.models.AbstractModelMother
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelService
-
-
-
-
Field Detail
-
MOUSE
public static final java.lang.String MOUSE
- See Also:
- Constant Field Values
-
CAR
public static final java.lang.String CAR
- See Also:
- Constant Field Values
-
EN_MULTI_LANG_NAME
public static final java.lang.String EN_MULTI_LANG_NAME
- See Also:
- Constant Field Values
-
DE_MULTI_LANG_NAME
public static final java.lang.String DE_MULTI_LANG_NAME
- See Also:
- Constant Field Values
-
MULTI_LANG_UID
public static final java.lang.String MULTI_LANG_UID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createMouseProduct
public ProductModel createMouseProduct(CatalogVersionModel catalogVersion)
-
createCarProduct
public ProductModel createCarProduct(CatalogVersionModel catalogVersion)
-
createMultiLangProduct
public ProductModel createMultiLangProduct(CatalogVersionModel catalogVersion)
-
createDefaultProduct
protected ProductModel createDefaultProduct(java.lang.String uid, CatalogVersionModel catalogVersion)
-
getProductDao
public ProductDao getProductDao()
-
setProductDao
public void setProductDao(ProductDao productDao)
-
-