Class AbstractModelMother<T extends ItemModel>
java.lang.Object
de.hybris.platform.cmsfacades.util.models.AbstractModelMother<T>
- Direct Known Subclasses:
ABTestCMSComponentContainerModelMother,BaseStoreModelMother,CatalogVersionModelMother,CatalogVersionSyncJobModelMother,CategoryModelMother,CMSCategoryRestrictionModelMother,CMSComponentTypeModelMother,CMSNavigationEntryModelMother,CMSNavigationNodeModelMother,CMSPageTypeModelMother,CMSSiteModelMother,CMSTimeRestrictionModelMother,CMSUserGroupRestrictionModelMother,ComponentTypeGroupModelMother,ContentCatalogModelMother,ContentPageModelMother,ContentSlotForPageModelMother,ContentSlotForTemplateModelMother,ContentSlotModelMother,ContentSlotNameModelMother,CountryModelMother,CurrencyModelMother,DeliveryModeModelMother,FlashComponentModelMother,LanguageModelMother,LinkComponentModelMother,MediaContainerModelMother,MediaFormatModelMother,MediaModelMother,PageTemplateModelMother,ParagraphComponentModelMother,ProductCatalogModelMother,ProductCategoryModelMother,ProductModelMother,ProductPageModelMother,RestrictionTypeModelMother,SiteModelMother,UserGroupModelMother,WorkflowActionModelMother,WorkflowActionTemplateModelMother,WorkflowDecisionModelMother,WorkflowDecisionTemplateModelMother,WorkflowItemAttachmentModelMother,WorkflowModelMother,WorkflowTemplateModelMother
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TgetFromCollectionOrSaveAndReturn(Supplier<Collection<T>> getter, Supplier<T> creator) getModelFromCollection(Supplier<Collection<T>> getter) protected TgetOrSaveAndReturn(Supplier<T> getter, Supplier<T> creator) protected TvoidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetModelService(ModelService modelService)
-
Constructor Details
-
AbstractModelMother
public AbstractModelMother()
-
-
Method Details
-
getFromCollectionOrSaveAndReturn
-
saveModel
-
getModelFromCollection
-
getOrSaveAndReturn
-
getModelService
-
setModelService
-
getFlexibleSearchService
-
setFlexibleSearchService
-