Class ContentPageModelBuilder
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.builder.ContentPageModelBuilder
-
public class ContentPageModelBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
getModel
protected ContentPageModel getModel()
-
aModel
public static ContentPageModelBuilder aModel()
-
fromModel
public static ContentPageModelBuilder fromModel(ContentPageModel model)
-
withCatalogVersion
public ContentPageModelBuilder withCatalogVersion(CatalogVersionModel model)
-
withUid
public ContentPageModelBuilder withUid(java.lang.String uid)
-
withDefaultPage
public ContentPageModelBuilder withDefaultPage(java.lang.Boolean isDefaultPage)
-
withMasterTemplate
public ContentPageModelBuilder withMasterTemplate(PageTemplateModel template)
-
withApprovalStatus
public ContentPageModelBuilder withApprovalStatus(CmsApprovalStatus approvalStatus)
-
withName
public ContentPageModelBuilder withName(java.lang.String name)
-
withLabel
public ContentPageModelBuilder withLabel(java.lang.String label)
-
withThumbnail
public ContentPageModelBuilder withThumbnail(MediaModel thumbnail)
-
asHomepage
public ContentPageModelBuilder asHomepage()
-
withEnglishTitle
public ContentPageModelBuilder withEnglishTitle(java.lang.String title)
-
withOnlyOneRestrictionMustApply
public ContentPageModelBuilder withOnlyOneRestrictionMustApply(java.lang.Boolean onlyOneRestrictionMustApply)
-
withPageStatus
public ContentPageModelBuilder withPageStatus(CmsPageStatus pageStatus)
-
build
public ContentPageModel build()
-
-