Class MediaModelMother
java.lang.Object
de.hybris.platform.cmsfacades.util.models.AbstractModelMother<MediaModel>
de.hybris.platform.cmsfacades.util.models.MediaModelMother
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLogoMediaModel(CatalogVersionModel catalogVersion) createLogoMediaModelWithCode(CatalogVersionModel catalogVersion, String code) createMediaModel(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template) protected MediaModelcreateMediaModelWithCode(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template, String code) protected MediaModelcreateMediaModelWithFormat(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template, MediaFormatModel mediaFormat) createMobileLogoMediaModel(CatalogVersionModel catalogVersion) createThumbnailMediaModel(CatalogVersionModel catalogVersion) createThumbnailModel(CatalogVersionModel catalogVersion) createThumbnailModelWithCode(CatalogVersionModel catalogVersion, String code) createWidescreenLogoMediaModel(CatalogVersionModel catalogVersion) voidsetMediaDao(MediaDao mediaDao) voidsetMediaFormatModelMother(MediaFormatModelMother mediaFormatModelMother) Methods inherited from class de.hybris.platform.cmsfacades.util.models.AbstractModelMother
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelService
-
Constructor Details
-
MediaModelMother
public MediaModelMother()
-
-
Method Details
-
createLogoMediaModel
-
createThumbnailMediaModel
-
createLogoMediaModelWithCode
-
createThumbnailModel
-
createThumbnailModelWithCode
-
createMediaModel
public MediaModel createMediaModel(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template) -
createMediaModelWithCode
protected MediaModel createMediaModelWithCode(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template, String code) -
createWidescreenLogoMediaModel
-
createMobileLogoMediaModel
-
createMediaModelWithFormat
protected MediaModel createMediaModelWithFormat(CatalogVersionModel catalogVersion, MediaModelMother.MediaTemplate template, MediaFormatModel mediaFormat) -
getMediaDao
-
setMediaDao
-
getMediaFormatModelMother
-
setMediaFormatModelMother
-