| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
CmsPageRequestContextData.getPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
CmsPageRequestContextData.setPage(AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
CmsPageRequestContextData |
CMSPageContextService.updateCmsPageContextForPage(ServletRequest request,
AbstractPageModel page,
RestrictionData restrictionData)
Update the CmsPageContext with the selected CMS page and RestrictionData.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
RankingCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RankingCMSRestrictionService.evaluatePageRestrictions(RestrictionData data,
java.util.NavigableMap<java.lang.Integer,java.util.List<AbstractPageModel>> allowedPages,
AbstractPageModel page,
java.util.List<AbstractRestrictionModel> restrictions) |
protected java.util.Map<java.lang.String,ContentSlotData> |
DefaultCMSPageContextService.getPositionsToContentSlots(AbstractPageModel page)
Retrieve all content slots for the page and return them in a map
|
CmsPageRequestContextData |
DefaultCMSPageContextService.updateCmsPageContextForPage(ServletRequest request,
AbstractPageModel page,
RestrictionData restrictionData) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RankingCMSRestrictionService.evaluatePageRestrictions(RestrictionData data,
java.util.NavigableMap<java.lang.Integer,java.util.List<AbstractPageModel>> allowedPages,
AbstractPageModel page,
java.util.List<AbstractRestrictionModel> restrictions) |
java.util.Collection<AbstractPageModel> |
RankingCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHybrisVelocityContext.init(T businessProcessModel,
AbstractPageModel abstractPageModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHybrisVelocityContextFactory.renderCMSSlotsIntoContext(AbstractHybrisVelocityContext<BusinessProcessModel> context,
AbstractPageModel pageModel,
BusinessProcessModel businessProcessModel) |
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentPageModel
Generated model class for type DocumentPage first defined at extension acceleratorservices.
|
class |
EmailPageModel
Generated model class for type EmailPage first defined at extension acceleratorservices.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
SolrPageRedirectModel.getRedirectItem()
Generated method - Getter of the
SolrPageRedirect.redirectItem attribute defined at extension acceleratorservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
SolrPageRedirectModel.setRedirectItem(AbstractPageModel value)
Generated method - Initial setter of
SolrPageRedirect.redirectItem attribute defined at extension acceleratorservices. |
| Constructor and Description |
|---|
SolrPageRedirectModel(AbstractPageModel _redirectItem)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SolrPageRedirectModel(ItemModel _owner,
AbstractPageModel _redirectItem)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractAddOnPageController.storeCmsPageInModel(Model model,
AbstractPageModel cmsPage) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
CheckoutLoginController.getCmsPage() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
LoginPageController.getCmsPage() |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PageCloningStrategy.clone(AbstractPageModel sourcePageModel,
java.util.Optional<AbstractPageModel> template,
java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> context) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.function.Supplier<AbstractPageModel> |
PageCloningStrategy.clonePage(AbstractPageModel sourcePageModel,
AbstractPageModel clonedPageModel,
java.util.Map<java.lang.String,java.lang.Object> context)
Clones a page by deep copying the content slots and copy the components by reference or by deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PageCloningStrategy.clone(AbstractPageModel sourcePageModel,
java.util.Optional<AbstractPageModel> template,
java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> context) |
protected ContentSlotModel |
PageCloningStrategy.cloneAndAddContentSlot(AbstractPageModel pageModel,
ContentSlotModel contentSlotModel,
boolean shouldCloneComponents)
Clones a content slot and adds it to a page.
|
protected java.util.function.Supplier<AbstractPageModel> |
PageCloningStrategy.clonePage(AbstractPageModel sourcePageModel,
AbstractPageModel clonedPageModel,
java.util.Map<java.lang.String,java.lang.Object> context)
Clones a page by deep copying the content slots and copy the components by reference or by deep copy.
|
protected java.util.Optional<MediaModel> |
PageCloningStrategy.clonePreviewImage(AbstractPageModel sourcePageModel,
CatalogVersionModel targetCatalogVersion)
Clones a preview image model.
|
protected void |
ContentSlotCloningStrategy.createContentSlotForPageRelation(CatalogVersionModel catalogVersionModel,
java.lang.String position,
AbstractPageModel pageModel,
ContentSlotModel contentSlotModel)
Creates a new ContentSlotForPageModel
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PageCloningStrategy.clone(AbstractPageModel sourcePageModel,
java.util.Optional<AbstractPageModel> template,
java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPageDynamicNavigationNodeList.addPageToNode(CMSNavigationNodeModel node,
AbstractPageModel page) |
java.util.List<CMSNavigationNodeModel> |
AbstractPageDynamicNavigationNodeList.get(AbstractPageModel model) |
protected void |
AbstractPageDynamicNavigationNodeList.removePageFromNode(CMSNavigationNodeModel node,
AbstractPageModel page) |
void |
AbstractPageDynamicNavigationNodeList.set(AbstractPageModel model,
java.util.List<CMSNavigationNodeModel> value) |
| Modifier and Type | Class and Description |
|---|---|
class |
CatalogPageModel
Generated model class for type CatalogPage first defined at extension cms2.
|
class |
CategoryPageModel
Generated model class for type CategoryPage first defined at extension cms2.
|
class |
ContentPageModel
Generated model class for type ContentPage first defined at extension cms2.
|
class |
ProductPageModel
Generated model class for type ProductPage first defined at extension cms2.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
AbstractPageModel.getOriginalPage()
Generated method - Getter of the
AbstractPage.originalPage attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
AbstractPageModel.getLocalizedPages()
Generated method - Getter of the
AbstractPage.localizedPages attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPageModel.setOriginalPage(AbstractPageModel value)
Generated method - Setter of
AbstractPage.originalPage attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPageModel.setLocalizedPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter of
AbstractPage.localizedPages attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PreviewDataModel.getPage()
Generated method - Getter of the
PreviewData.page attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
PreviewDataModel.setPage(AbstractPageModel value)
Generated method - Setter of
PreviewData.page attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
ContentSlotForPageModel.getPage()
Generated method - Getter of the
ContentSlotForPage.page attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentSlotForPageModel.setPage(AbstractPageModel value)
Generated method - Setter of
ContentSlotForPage.page attribute defined at extension cms2. |
| Constructor and Description |
|---|
ContentSlotForPageModel(CatalogVersionModel _catalogVersion,
ContentSlotModel _contentSlot,
AbstractPageModel _page,
java.lang.String _position,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ContentSlotForPageModel(CatalogVersionModel _catalogVersion,
ContentSlotModel _contentSlot,
ItemModel _owner,
AbstractPageModel _page,
java.lang.String _position,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
AbstractRestrictionModel.getPages()
Generated method - Getter of the
AbstractRestriction.pages attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRestrictionModel.setPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter of
AbstractRestriction.pages attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CatalogVersionModel> |
CatalogLevelService.getLevelCatalogVersions(AbstractPageModel page,
java.util.List<ContentCatalogModel> catalogs)
Finds all catalog versions hierarchy related to a given page for a given list of catalogs.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CatalogVersionModel> |
DefaultCatalogLevelService.getLevelCatalogVersions(AbstractPageModel page,
java.util.List<ContentCatalogModel> catalogs) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
AbstractPageResource.getAbstractPageModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected AbstractPageModel |
AbstractPageResource.readResource(java.lang.String resourceId)
Gets the
AbstractPageModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
AbstractPagesResource.getAbstractPagesCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPageResource.setAbstractPageModel(AbstractPageModel value)
Convenience method which just delegates to
#setResourceValue(AbstractPageModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPagesResource.setAbstractPagesCollection(java.util.Collection<AbstractPageModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractPageModel> |
CMSPageDao.findPagesByIdAndPageStatuses(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by id and catalog versions and page status.
|
<T extends AbstractPageModel> |
CMSPageDao.findPagesByLabelAndPageStatuses(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by label, catalog versions and page statuses.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
Find all active pages by catalog version.
|
java.util.Collection<AbstractPageModel> |
PageTemplateDao.findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
Find all pages by catalog version.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findAllPagesByCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by catalog version and a list of page statuses.
|
java.util.Collection<AbstractPageModel> |
PageTemplateDao.findAllPagesByLabel(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find all pages by label and catalog version.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<AbstractPageModel> |
PageTemplateDao.findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find all pages by composed type and catalog versions.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findAllPagesByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<AbstractPageModel> |
CMSPageDao.findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default page by type and catalog versions.
|
java.util.Collection<AbstractPageModel> |
PageTemplateDao.findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default page by type and catalog versions.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findDefaultPageByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find default page by type and catalog versions.
|
java.util.List<AbstractPageModel> |
CMSPageDao.findDefaultPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default pages by composed type of
composedType and catalogVersions. |
java.util.List<AbstractPageModel> |
PageTemplateDao.findDefaultPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default pages by composed type and catalog version.
|
java.util.Collection<AbstractPageModel> |
CMSContentSlotDao.findPagesByContentSlot(ContentSlotModel contentSlot)
Find pages related to content slot.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findPagesByContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages for the given collection of content slots.
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findPagesByContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Finds and returns all pages for the given collection of content slots.
|
java.util.List<AbstractPageModel> |
CMSPageDao.findPagesById(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find pages by id and catalog versions.
|
java.util.List<AbstractPageModel> |
CMSPageDao.findPagesByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find active pages by id and catalog version.
|
java.util.List<AbstractPageModel> |
PageTemplateDao.findPagesByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find pages by id and catalog version.
|
java.util.List<AbstractPageModel> |
CMSPageDao.findPagesByIdAndCatalogVersionAndPageStatuses(java.lang.String id,
CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by id and catalog version and a list of page statuses.
|
java.util.List<AbstractPageModel> |
PageTemplateDao.findPagesByIdAndCatalogVersions(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions) |
java.util.Collection<AbstractPageModel> |
CMSPageDao.findPagesByPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages that uses given content slots by page templates
|
java.util.Collection<AbstractPageModel> |
CMSPageDao.findPagesByPageTemplateContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Finds and returns all pages that uses given content slots by page templates
|
java.util.List<AbstractPageModel> |
CMSPageDao.findPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault)
Find default or non-default active pages by composed type of
composedType and catalogVersions. |
java.util.List<AbstractPageModel> |
CMSPageDao.findPagesByTypeAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault,
java.util.List<CmsPageStatus> pageStatuses)
Find default or non-default pages by composed type of
composedType and catalogVersions and a list of
page statuses. |
java.util.Optional<AbstractPageModel> |
CMSVersionDao.findPageVersionedByTransactionId(java.lang.String transactionId)
Finds the page associated to a transaction ID.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findAllContentSlotRelationsByPage(AbstractPageModel page)
Find all content slot relations by page.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findAllContentSlotRelationsByPage(AbstractPageModel page,
CatalogVersionModel catalogVersion)
Find all content slot relations by page and catalog version.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findContentSlotRelationsByPageAndContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion)
Find content slot relations by page, content slot and catalog version.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findContentSlotRelationsByPageAndContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slot relations by page, content slot and catalog versions.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findContentSlotRelationsByPageAndPosition(AbstractPageModel page,
java.lang.String position,
CatalogVersionModel catalogVersion)
Find content slot relations by page, position and catalog versions.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findContentSlotRelationsByPageAndPosition(AbstractPageModel page,
java.lang.String position,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slot relations by page, position and catalog versions.
|
java.util.List<CMSNavigationEntryModel> |
CMSNavigationDao.findNavigationEntriesByPage(AbstractPageModel page)
Finds all
CMSNavigationEntryModel whose item attribute is of type AbstractPageModel
associated with a AbstractPageModel. |
java.util.List<AbstractRestrictionModel> |
CMSRestrictionDao.findRestrictionsByTypeNotLinkedToPage(AbstractPageModel page,
ComposedTypeModel composedType,
CatalogVersionModel catalogVersion)
Find restrictions by type not linked to page.
|
java.util.List<AbstractRestrictionModel> |
CMSRestrictionDao.findRestrictionsForPage(ComposedTypeModel composedType,
AbstractPageModel page,
CatalogVersionModel catalogVersion)
Find restrictions for page by composed type, page and catalog version.
|
long |
CMSComponentDao.getComponentReferenceCountOutsidePage(AbstractCMSComponentModel componentModel,
AbstractPageModel pageModel)
Finds the number of times the given component is used outside a given page (e.g., other pages or shared slots).
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends AbstractPageModel> |
DefaultCMSPageDao.findAllPagesByCatalogVersionAndPageStatuses(java.lang.String typeCode,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by item model type code, catalog versions and page status.
|
<T extends AbstractPageModel> |
DefaultCMSPageDao.findPagesByIdAndPageStatuses(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses) |
<T extends AbstractPageModel> |
DefaultCMSPageDao.findPagesByLabelAndPageStatuses(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createPage(PageTemplateModel pageTemplate,
java.lang.String pageUid) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
Find all active pages by catalog version.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findAllPagesByCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses) |
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findAllPagesByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default page by type and catalog versions.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findDefaultPageByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find default page by type and catalog versions.
|
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findDefaultPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default pages by composed type of
composedType and catalogVersions. |
java.util.Collection<AbstractPageModel> |
DefaultCMSContenSlotDao.findPagesByContentSlot(ContentSlotModel contentSlot)
Find pages related to content slot.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findPagesByContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages for the given collection of content slots.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findPagesByContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses) |
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findPagesById(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find pages by id and catalog versions.
|
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findPagesByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find active pages by id and catalog version.
|
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findPagesByIdAndCatalogVersionAndPageStatuses(java.lang.String id,
CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by id and catalog version and a list of page statuses.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findPagesByPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages that uses given content slots by page templates
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageDao.findPagesByPageTemplateContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Finds and returns all pages that uses given content slots by page templates
|
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault)
Find default or non-default active pages by composed type of
composedType and catalogVersions. |
java.util.List<AbstractPageModel> |
DefaultCMSPageDao.findPagesByTypeAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault,
java.util.List<CmsPageStatus> pageStatuses)
Find default or non-default pages by composed type of
composedType and catalogVersions and a list of
page statuses. |
java.util.Optional<AbstractPageModel> |
DefaultCMSVersionDao.findPageVersionedByTransactionId(java.lang.String transactionId) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createSlotForPage(AbstractPageModel page,
java.lang.String slotId) |
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findAllContentSlotRelationsByPage(AbstractPageModel page)
Find all content slot relations by page.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findAllContentSlotRelationsByPage(AbstractPageModel page,
CatalogVersionModel catalogVersion)
Find all content slot relations by page and catalog version.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findContentSlotRelationsByPageAndContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion)
Find content slot relations by page, content slot and catalog version.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findContentSlotRelationsByPageAndContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slot relations by page, content slot and catalog versions.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findContentSlotRelationsByPageAndPosition(AbstractPageModel page,
java.lang.String position,
CatalogVersionModel catalogVersion)
Find content slot relations by page, position and catalog versions.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findContentSlotRelationsByPageAndPosition(AbstractPageModel page,
java.lang.String position,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slot relations by page, position and catalog versions.
|
java.util.List<CMSNavigationEntryModel> |
DefaultCMSNavigationDao.findNavigationEntriesByPage(AbstractPageModel page) |
java.util.List<AbstractRestrictionModel> |
DefaultCMSRestrictionDao.findRestrictionsByTypeNotLinkedToPage(AbstractPageModel page,
ComposedTypeModel composedType,
CatalogVersionModel catalogVersion)
Find restrictions by type not linked to page.
|
java.util.List<AbstractRestrictionModel> |
DefaultCMSRestrictionDao.findRestrictionsForPage(ComposedTypeModel composedType,
AbstractPageModel page,
CatalogVersionModel catalogVersion)
Find restrictions for page by composed type, page and catalog version.
|
long |
DefaultCMSComponentDao.getComponentReferenceCountOutsidePage(AbstractCMSComponentModel componentModel,
AbstractPageModel pageModel) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotData |
CMSDataFactory.createContentSlotData(AbstractPageModel page,
ContentSlotForTemplateModel csForTemplate) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotData |
DefaultCMSDataFactory.createContentSlotData(AbstractPageModel page,
ContentSlotForTemplateModel csForTemplate) |
| Constructor and Description |
|---|
DefaultContentSlotData(AbstractPageModel page,
ContentSlotForTemplateModel csForTemplate) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CMSAbstractPageRemoveInterceptor.isAssignedToOtherPages(ContentSlotModel contentSlot,
AbstractPageModel page) |
protected void |
CMSAbstractPageRemoveInterceptor.removeContentSlot(AbstractPageModel pageModel,
InterceptorContext ctx,
ContentSlotForPageModel contentSlotForPageModel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CmsContentPagePrepareInterceptor.changeLabelForPersonalizedPages(java.util.Collection<AbstractPageModel> contentPages,
ContentPageModel currentContentPage,
java.lang.String oldLabelValue,
InterceptorContext ctx)
Fetches all associated content pages (personalized content pages) for current content page and changes a label
property to
currentContentPage.getLabel()
Note: Important!: We change label property only for non default associated content pages! |
protected boolean |
CMSDefaultPageInterceptor.defaultPageExists(java.util.Set<AbstractPageModel> pages) |
protected void |
CmsContentPagePrepareInterceptor.resetHomepageFlag(java.util.Collection<AbstractPageModel> contentPages,
ContentPageModel currentPageModel,
InterceptorContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
CMSPageService.getPageForId(java.lang.String id)
Gets the page for id.
|
AbstractPageModel |
CMSPageService.getPageForId(java.lang.String id,
PagePreviewCriteriaData pagePreviewCriteria)
Gets the page for id and
PagePreviewCriteriaData. |
AbstractPageModel |
CMSPageService.getPageForIdWithRestrictions(java.lang.String id)
Gets the page for id and evaluates the page restrictions
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForComponent(AbstractCMSComponentModel component)
Returns all pages where given component occurs.
|
java.util.Collection<AbstractPageModel> |
CMSContentSlotService.getPagesForContentSlot(ContentSlotModel contentSlot)
Gets the related
AbstractPageModel objects for content slot. |
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Returns all pages where given content slots occurs.
|
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForPageTemplateComponent(AbstractCMSComponentModel component)
Gets the pages for page template component.
|
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Gets the pages for page template content slots.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
CMSContentSlotService.getAvailableContentSlotsNames(AbstractPageModel page)
Gets the available content slots names and return them as semicolon separated string ("foo; bar; baz").
|
ContentSlotData |
CMSPageService.getContentSlotForPage(AbstractPageModel page,
java.lang.String position)
Returns a contentslot for the given page and position.
|
ContentSlotData |
CMSPageService.getContentSlotForPage(AbstractPageModel page,
java.lang.String position,
PagePreviewCriteriaData pagePreviewCriteria)
Returns a contentslot for the given page, position and
PagePreviewCriteriaData. |
java.util.Collection<ContentSlotForPageModel> |
CMSPageService.getContentSlotModelsForPage(AbstractPageModel page,
PagePreviewCriteriaData pagePreviewCriteria)
Returns the
ContentSlotForPageModel objects for passed as parameter AbstractPageModel
object and PagePreviewCriteriaData. |
java.util.Collection<ContentSlotData> |
CMSPageService.getContentSlotsForPage(AbstractPageModel page)
Returns collection of
ContentSlotData objects containing data taken from all
ContentSlotForPageModel objects as well from ContentSlotForTemplateModel objects for
passed
as parameter AbstractPageModel object. |
java.util.Collection<ContentSlotData> |
CMSPageService.getContentSlotsForPage(AbstractPageModel page,
PagePreviewCriteriaData pagePreviewCriteria)
Returns collection of
ContentSlotData objects containing data taken from all
ContentSlotForPageModel objects as well from ContentSlotForTemplateModel objects for a
given AbstractPageModel and PagePreviewCriteriaData. |
java.util.List<java.lang.String> |
CMSContentSlotService.getDefinedContentSlotPositions(AbstractPageModel page)
Gets the defined content slot positions.
|
java.lang.String |
CMSContentSlotService.getMissingContentSlotsNames(AbstractPageModel page)
Gets the missing content slots names and return them as semicolon separated string ("foo; bar; baz").
|
java.util.List<CMSNavigationEntryModel> |
CMSNavigationService.getNavigationEntriesByPage(AbstractPageModel page)
Finds all
CMSNavigationEntryModel associated with a AbstractPageModel. |
java.util.Collection<ContentSlotForPageModel> |
CMSPageService.getOwnContentSlotsForPage(AbstractPageModel page)
Returns the
ContentSlotForPageModel objects for passed as parameter AbstractPageModel
object. |
boolean |
CMSComponentService.isComponentUsedOutsidePage(AbstractCMSComponentModel component,
AbstractPageModel page)
Checks if the component is used outside the page provided as reference.
|
boolean |
CMSPageLockingService.isPageLockedBy(AbstractPageModel pageModel,
UserModel userModel)
Method checks if page is locked by the given user.
|
boolean |
CMSPageLockingService.isPageLockedFor(AbstractPageModel pageModel,
UserModel userModel)
Method checks if the page is locked for given user.
|
void |
CMSPageLockingService.setPageLocked(AbstractPageModel pageModel,
UserModel userModel,
boolean lock)
Method that allows to set and unset page lock for given combination of user and page.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
CMSAdminPageService.createPage(java.lang.String composedType,
java.lang.String id,
java.lang.String name,
java.lang.String masterTemplateId)
Creates the page.
|
AbstractPageModel |
CMSAdminPageService.getIdenticalPrimaryPageModel(AbstractPageModel pageModel)
Returns identical primary page for provided pageModel.
|
AbstractPageModel |
CMSAdminPageService.getPageForId(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Returns the active page with the given id and the catalog versions.
|
AbstractPageModel |
CMSAdminPageService.getPageForIdFromActiveCatalogVersion(java.lang.String id)
Returns the active page with the given id from the active catalogVersion.
|
AbstractPageModel |
CMSAdminPageService.getPageForIdFromActiveCatalogVersionByPageStatuses(java.lang.String id,
java.util.List<CmsPageStatus> pageStatuses)
Returns the page with the given id and page status list from the active catalogVersion.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.findPagesByType(ComposedTypeModel composedType,
boolean isDefault)
Gets the all default or non-default active pages by page type from the active catalog version.
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.findPagesByTypeAndPageStatuses(ComposedTypeModel composedType,
boolean isDefault,
java.util.List<CmsPageStatus> pageStatuses)
Gets the all default or non-default pages by page type from the active catalog version.
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.getAllPages()
Returns all pages which are assigned to the active catalog version
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.getAllPages(CatalogVersionModel catalogVersion)
Gets the all active pages.
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.getAllPagesByType(java.lang.String type)
Returns all pages which are assigned to the active catalog version and are of the given type
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.getAllPagesByType(java.lang.String type,
CatalogVersionModel catalogVersion)
Gets the all pages by type.
|
java.util.Collection<AbstractPageModel> |
CMSAdminPageService.getAllPagesForCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Returns all pages which are assigned to the given catalog version and given page statuses
|
java.util.Map<java.lang.String,java.util.Collection<AbstractPageModel>> |
CMSAdminPageService.getAllPagesMap()
returns all pages of the active catalogVersion.
|
| Modifier and Type | Method and Description |
|---|---|
CMSCampaignRestrictionModel |
CMSAdminRestrictionService.createCampaignRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CampaignModel> campaigns)
Creates a new CampaignRestriction and a new relation between the restriction and the given page
|
CMSCatalogRestrictionModel |
CMSAdminRestrictionService.createCatalogRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CatalogModel> catalogs)
Creates a new CatalogRestriction and a new relation between the restriction and the given page.
|
CMSCategoryRestrictionModel |
CMSAdminRestrictionService.createCategoryRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CategoryModel> categories)
Creates a new CategoryRestriction and a new relation between the restriction and the given page
|
ContentSlotModel |
CMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
ContentSlotModel |
CMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position,
boolean active)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
ContentSlotModel |
CMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position,
boolean active,
java.util.Date activeFrom,
java.util.Date activeUntil)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
CMSProductRestrictionModel |
CMSAdminRestrictionService.createProductRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<ProductModel> products)
Creates a new ProductRestriction and a new relation between the restriction and the given page
|
void |
CMSAdminRestrictionService.createRelation(AbstractPageModel page,
AbstractRestrictionModel restriction)
creates a new relation between the given page and the given restriction
|
CMSTimeRestrictionModel |
CMSAdminRestrictionService.createTimeRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Date from,
java.util.Date until)
Creates a new TimeRestriction and a new relation between the restriction and the given page
|
CMSUserGroupRestrictionModel |
CMSAdminRestrictionService.createUserGroupRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<UserGroupModel> userGroups)
Creates a new UserGroupRestriction and a new relation between the restriction and the given page
|
CMSUserRestrictionModel |
CMSAdminRestrictionService.createUserRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<UserModel> users)
Creates a new UserRestriction and a new relation between the restriction and the given page
|
void |
CMSAdminContentSlotService.deleteRelation(AbstractPageModel page,
ContentSlotModel contentSlot)
delete the relation between a content slot and a page
|
void |
CMSAdminRestrictionService.deleteRelation(AbstractRestrictionModel restriction,
AbstractPageModel page)
deletes the relation between the restriction and the page
|
void |
CMSAdminContentSlotService.deleteRelationByPosition(AbstractPageModel page,
java.lang.String position)
deletes a relation between a page and a content slot.
|
java.util.List<ContentSlotForPageModel> |
CMSAdminContentSlotService.findAllContentSlotRelationsByPage(AbstractPageModel page)
Find all content slot relations by page.
|
java.util.Collection<RestrictionTypeModel> |
CMSAdminRestrictionService.getAllowedRestrictionTypesForPage(AbstractPageModel page)
Returns a collection of all restrictions which can be applied on the given page
|
ContentSlotModel |
CMSAdminContentSlotService.getContentSlotOverride(AbstractPageModel page,
ContentSlotModel contentSlot)
Find the content slot in the catalog hierarchy (used with multi-country)
|
java.lang.String |
CMSAdminContentSlotService.getContentSlotPosition(AbstractPageModel page,
ContentSlotModel contentSlot)
Find the position of the content slot on the page or its associated page template
|
java.util.Collection<ContentSlotData> |
CMSAdminContentSlotService.getContentSlotsForPage(AbstractPageModel page)
returns a collection of all content slots for the given page.
|
java.util.Collection<ContentSlotData> |
CMSAdminContentSlotService.getContentSlotsForPage(AbstractPageModel page,
boolean includeMasterTemplateSlots)
Returns a collection of all content slots for the given page.
|
AbstractPageModel |
CMSAdminPageService.getIdenticalPrimaryPageModel(AbstractPageModel pageModel)
Returns identical primary page for provided pageModel.
|
java.util.Collection<AbstractRestrictionModel> |
CMSAdminRestrictionService.getRestrictionsForPage(AbstractPageModel page)
Returns all restrictions which are applied on the given page
|
java.util.Collection<AbstractRestrictionModel> |
CMSAdminRestrictionService.getRestrictionsForPage(AbstractPageModel page,
java.lang.String restrictionType)
Returns all restrictions of the given restriction type which are applied on the given page
|
java.util.Set<CMSComponentTypeModel> |
CMSAdminTypeRestrictionsService.getTypeRestrictionsContentSlotForPage(AbstractPageModel page,
ContentSlotModel contentSlot)
Get all component type restrictions for a given page and content slot.
|
java.util.Set<CMSComponentTypeModel> |
CMSAdminTypeRestrictionsService.getTypeRestrictionsForContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot)
Get all component type restrictions for a given content slot from two sources of the given page and its master
template.
|
boolean |
CMSAdminContentSlotService.hasOtherRelations(AbstractPageModel page,
ContentSlotModel contentSlot)
Checks if there are other relations between the given content slot and other pages (except the given one)
|
boolean |
CMSAdminRestrictionService.hasOtherRelations(AbstractRestrictionModel restriction,
AbstractPageModel page)
Checks if a given restriction has also other relations than to the given page
|
void |
CMSAdminPageService.updatePage(AbstractPageModel page,
java.lang.String name,
java.lang.String masterTemplateId)
Updates the given page.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
DefaultCMSAdminPageService.createPage(java.lang.String composedType,
java.lang.String id,
java.lang.String name,
java.lang.String masterTemplateId)
Creates the page.
|
protected AbstractPageModel |
DefaultCMSAdminPageService.createPageFromType(java.lang.String composedTypeCode) |
AbstractPageModel |
DefaultCMSAdminPageService.getIdenticalPrimaryPageModel(AbstractPageModel pageModel) |
AbstractPageModel |
DefaultCMSAdminPageService.getPageForId(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions) |
protected AbstractPageModel |
DefaultCMSAdminPageService.getPageForId(java.lang.String uid,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Returns the active page with the given id, catalog versions and page statuses.
|
AbstractPageModel |
DefaultCMSAdminPageService.getPageForIdFromActiveCatalogVersion(java.lang.String id)
Returns the active page with the given id from the active catalogVersion.
|
AbstractPageModel |
DefaultCMSAdminPageService.getPageForIdFromActiveCatalogVersionByPageStatuses(java.lang.String id,
java.util.List<CmsPageStatus> pageStatuses)
Returns the page with the given id and page status list from the active catalogVersion.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.findPagesByType(ComposedTypeModel composedType,
boolean isDefault) |
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.findPagesByTypeAndPageStatuses(ComposedTypeModel composedType,
boolean isDefault,
java.util.List<CmsPageStatus> pageStatuses) |
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.getAllPages()
Returns all pages which are assigned to the active catalog version
|
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.getAllPages(CatalogVersionModel catalogVersion)
Gets the all active pages.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.getAllPagesByType(java.lang.String type)
Returns all pages which are assigned to the active catalog version and are of the given type
|
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.getAllPagesByType(java.lang.String type,
CatalogVersionModel catalogVersion)
Gets the all pages by type.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSAdminPageService.getAllPagesForCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Returns all pages which are assigned to the given catalog version and given page statuses
|
java.util.Map<java.lang.String,java.util.Collection<AbstractPageModel>> |
DefaultCMSAdminPageService.getAllPagesMap()
returns all pages of the active catalogVersion.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ContentSlotModel> |
DefaultCMSAdminContentSlotService.appendTemplateSlots(PageTemplateModel pageTemplate,
java.util.Set<java.lang.String> positions,
java.util.List<ContentSlotData> contentSlots,
AbstractPageModel page)
Gets all of the content slots for templates that do not share a position already identified in the content slots
for pages.
|
CMSCampaignRestrictionModel |
DefaultCMSAdminRestrictionService.createCampaignRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CampaignModel> campaigns) |
CMSCatalogRestrictionModel |
DefaultCMSAdminRestrictionService.createCatalogRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CatalogModel> catalogs) |
CMSCategoryRestrictionModel |
DefaultCMSAdminRestrictionService.createCategoryRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<CategoryModel> categories) |
ContentSlotModel |
DefaultCMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
ContentSlotModel |
DefaultCMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position,
boolean active)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
ContentSlotModel |
DefaultCMSAdminContentSlotService.createContentSlot(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.lang.String position,
boolean active,
java.util.Date activeFrom,
java.util.Date activeUntil)
Creates the
ContentSlotModel object and ContentSlotForPageModel relation. |
CMSProductRestrictionModel |
DefaultCMSAdminRestrictionService.createProductRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<ProductModel> products) |
void |
DefaultCMSAdminRestrictionService.createRelation(AbstractPageModel page,
AbstractRestrictionModel restriction) |
CMSTimeRestrictionModel |
DefaultCMSAdminRestrictionService.createTimeRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Date from,
java.util.Date until) |
CMSUserGroupRestrictionModel |
DefaultCMSAdminRestrictionService.createUserGroupRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<UserGroupModel> userGroups) |
CMSUserRestrictionModel |
DefaultCMSAdminRestrictionService.createUserRestriction(AbstractPageModel page,
java.lang.String id,
java.lang.String name,
java.util.Collection<UserModel> users) |
void |
DefaultCMSAdminContentSlotService.deleteRelation(AbstractPageModel page,
ContentSlotModel contentSlot)
delete the relation between a content slot and a page
|
void |
DefaultCMSAdminRestrictionService.deleteRelation(AbstractRestrictionModel restriction,
AbstractPageModel page) |
void |
DefaultCMSAdminContentSlotService.deleteRelationByPosition(AbstractPageModel page,
java.lang.String position)
deletes a relation between a page and a content slot.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSAdminContentSlotService.findAllContentSlotRelationsByPage(AbstractPageModel page)
Find all content slot relations by page.
|
protected java.lang.String |
DefaultCMSAdminContentSlotService.generateContentSlotUid(AbstractPageModel page,
java.lang.String position)
Generate the Content Slot Uid after the slot position and page Uid
|
java.util.Collection<RestrictionTypeModel> |
DefaultCMSAdminRestrictionService.getAllowedRestrictionTypesForPage(AbstractPageModel page) |
ContentSlotModel |
DefaultCMSAdminContentSlotService.getContentSlotOverride(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.lang.String |
DefaultCMSAdminContentSlotService.getContentSlotPosition(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.util.Collection<ContentSlotData> |
DefaultCMSAdminContentSlotService.getContentSlotsForPage(AbstractPageModel page)
returns a collection of all content slots for the given page.
|
java.util.Collection<ContentSlotData> |
DefaultCMSAdminContentSlotService.getContentSlotsForPage(AbstractPageModel page,
boolean includeMasterTemplateSlots)
Returns a collection of all content slots for the given page.
|
AbstractPageModel |
DefaultCMSAdminPageService.getIdenticalPrimaryPageModel(AbstractPageModel pageModel) |
java.util.Collection<AbstractRestrictionModel> |
DefaultCMSAdminRestrictionService.getRestrictionsForPage(AbstractPageModel page) |
java.util.Collection<AbstractRestrictionModel> |
DefaultCMSAdminRestrictionService.getRestrictionsForPage(AbstractPageModel page,
java.lang.String restrictionType) |
java.util.Set<CMSComponentTypeModel> |
DefaultCMSAdminTypeRestrictionsService.getTypeRestrictionsContentSlotForPage(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.util.Set<CMSComponentTypeModel> |
DefaultCMSAdminTypeRestrictionsService.getTypeRestrictionsForContentSlot(AbstractPageModel page,
ContentSlotModel contentSlot) |
boolean |
DefaultCMSAdminContentSlotService.hasOtherRelations(AbstractPageModel page,
ContentSlotModel contentSlot)
Checks if there are other relations between the given content slot and other pages (except the given one)
|
boolean |
DefaultCMSAdminRestrictionService.hasOtherRelations(AbstractRestrictionModel restriction,
AbstractPageModel page) |
void |
DefaultCMSAdminPageService.updatePage(AbstractPageModel page,
java.lang.String name,
java.lang.String masterTemplateId)
Updates the given page.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCMSPageServiceTest.SomePageModel |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
DefaultCMSPageService.getDefaultPage(java.lang.String composedTypeCode) |
AbstractPageModel |
DefaultCMSPageService.getPageForId(java.lang.String id)
Gets the page for id.
|
AbstractPageModel |
DefaultCMSPageService.getPageForId(java.lang.String id,
PagePreviewCriteriaData pagePreviewCriteria)
Gets the page for id and
PagePreviewCriteriaData. |
AbstractPageModel |
DefaultCMSPageService.getPageForIdWithRestrictions(java.lang.String id) |
protected AbstractPageModel |
DefaultCMSPageService.getPageForVersionUid(java.lang.String versionUid)
Return the page associated to a given version uid.
|
protected AbstractPageModel |
DefaultCMSPageService.getSinglePage(java.lang.String composedTypeCode) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
protected java.util.Comparator<AbstractPageModel> |
DefaultCMSRestrictionService.getCmsItemCatalogLevelComparator() |
protected java.util.Comparator<AbstractPageModel> |
DefaultCMSPageService.getCmsItemCatalogLevelComparator() |
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getDefaultPages(java.util.Collection<AbstractPageModel> pages) |
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getMultiCountryRestrictedPages(java.util.Collection<AbstractPageModel> pages)
Finds the restriction for the given page based on catalog hierarchy defined in the context of multi-country
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForComponent(AbstractCMSComponentModel component)
Returns all pages where given component occurs.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSContentSlotService.getPagesForContentSlot(ContentSlotModel contentSlot)
Gets the related
AbstractPageModel objects for content slot. |
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Returns all pages where given content slots occurs.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForPageTemplateComponent(AbstractCMSComponentModel component)
Gets the pages for page template component.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Gets the pages for page template content slots.
|
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getRestrictedPages(java.util.Collection<AbstractPageModel> pages,
AbstractPageModel abstractPageModel,
CatalogVersionModel catalogVersion)
Finds pages that matches the given catalog version.
|
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getSortedPagesByCatalogLevel(java.util.Collection<AbstractPageModel> pages)
Sorts a collection of pages based on their catalog level
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ContentSlotModel> |
DefaultCMSPageService.appendContentSlots(java.util.List<ContentSlotData> contentSlots,
java.util.List<java.lang.String> positions,
java.util.Collection<ContentSlotForTemplateModel> templateSlots,
AbstractPageModel page) |
protected java.util.Collection<ContentSlotData> |
DefaultCMSPageService.getAllContentSlotsForPageAndSlots(AbstractPageModel page,
java.util.Collection<ContentSlotForPageModel> pageSlots,
java.util.Collection<ContentSlotForTemplateModel> templateSlots)
Returns a list of
ContentSlotData for a provided page, list of ContentSlotForPageModel and
ContentSlotForTemplateModel. |
java.lang.String |
DefaultCMSContentSlotService.getAvailableContentSlotsNames(AbstractPageModel page)
Gets the available content slots names and return them as semicolon separated string ("foo; bar; baz").
|
ContentSlotData |
DefaultCMSPageService.getContentSlotForPage(AbstractPageModel page,
java.lang.String position)
Returns a contentslot for the given page and position.
|
ContentSlotData |
DefaultCMSPageService.getContentSlotForPage(AbstractPageModel page,
java.lang.String position,
PagePreviewCriteriaData pagePreviewCriteria)
Returns a contentslot for the given page, position and
PagePreviewCriteriaData. |
java.util.Collection<ContentSlotForPageModel> |
DefaultCMSPageService.getContentSlotModelsForPage(AbstractPageModel page,
PagePreviewCriteriaData pagePreviewCriteria)
Returns the
ContentSlotForPageModel objects for passed as parameter AbstractPageModel
object and PagePreviewCriteriaData. |
java.util.Collection<ContentSlotData> |
DefaultCMSPageService.getContentSlotsForPage(AbstractPageModel page)
Returns collection of
ContentSlotData objects containing data taken from all
ContentSlotForPageModel objects as well from ContentSlotForTemplateModel objects for
passed
as parameter AbstractPageModel object. |
java.util.Collection<ContentSlotData> |
DefaultCMSPageService.getContentSlotsForPage(AbstractPageModel page,
PagePreviewCriteriaData pagePreviewCriteria)
Returns collection of
ContentSlotData objects containing data taken from all
ContentSlotForPageModel objects as well from ContentSlotForTemplateModel objects for a
given AbstractPageModel and PagePreviewCriteriaData. |
protected java.util.Collection<ContentSlotData> |
DefaultCMSPageService.getContentSlotsForPageVersionFromSessionContext(AbstractPageModel page) |
java.util.List<java.lang.String> |
DefaultCMSContentSlotService.getDefinedContentSlotPositions(AbstractPageModel page)
Gets the defined content slot positions.
|
java.lang.String |
DefaultCMSContentSlotService.getMissingContentSlotsNames(AbstractPageModel page)
Gets the missing content slots names and return them as semicolon separated string ("foo; bar; baz").
|
java.util.List<CMSNavigationEntryModel> |
DefaultCMSNavigationService.getNavigationEntriesByPage(AbstractPageModel page) |
java.util.Collection<ContentSlotForPageModel> |
DefaultCMSPageService.getOwnContentSlotsForPage(AbstractPageModel page)
Returns the
ContentSlotForPageModel objects for passed as parameter AbstractPageModel
object. |
protected java.util.Collection<ContentSlotForTemplateModel> |
DefaultCMSPageService.getPageTemplateSlots(AbstractPageModel page)
Returns a list of
ContentSlotForTemplateModel for a given page. |
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getRestrictedPages(java.util.Collection<AbstractPageModel> pages,
AbstractPageModel abstractPageModel,
CatalogVersionModel catalogVersion)
Finds pages that matches the given catalog version.
|
boolean |
DefaultCMSComponentService.isComponentUsedOutsidePage(AbstractCMSComponentModel component,
AbstractPageModel page) |
boolean |
DefaultCMSPageLockingService.isPageLockedBy(AbstractPageModel pageModel,
UserModel userModel)
Method checks if page is locked by the given user.
|
boolean |
DefaultCMSPageLockingService.isPageLockedFor(AbstractPageModel pageModel,
UserModel userModel)
Method checks if the page is locked for given user.
|
protected void |
DefaultCMSPageLockingService.lockPage(AbstractPageModel pageModel,
UserModel userModel) |
void |
DefaultCMSPageLockingService.setPageLocked(AbstractPageModel pageModel,
UserModel userModel,
boolean lock)
Method that allows to set and unset page lock for given combination of user and page.
|
protected void |
DefaultCMSPageLockingService.unlockPage(AbstractPageModel pageModel,
UserModel userModel) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
DefaultCMSRestrictionService.createMoreThanOneDefaultPageWarning(java.util.Collection<AbstractPageModel> defaultPages) |
java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getDefaultPages(java.util.Collection<AbstractPageModel> pages) |
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getMultiCountryRestrictedPages(java.util.Collection<AbstractPageModel> pages)
Finds the restriction for the given page based on catalog hierarchy defined in the context of multi-country
|
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getRestrictedPages(java.util.Collection<AbstractPageModel> pages,
AbstractPageModel abstractPageModel,
CatalogVersionModel catalogVersion)
Finds pages that matches the given catalog version.
|
protected java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.getSortedPagesByCatalogLevel(java.util.Collection<AbstractPageModel> pages)
Sorts a collection of pages based on their catalog level
|
void |
DefaultCMSRestrictionService.setCmsItemCatalogLevelComparator(java.util.Comparator<AbstractPageModel> cmsItemCatalogLevelComparator) |
void |
DefaultCMSPageService.setCmsItemCatalogLevelComparator(java.util.Comparator<AbstractPageModel> cmsItemCatalogLevelComparator) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<ContentSlotModel> |
ComponentRollbackConverter.getPageSlots(AbstractPageModel page)
This method retrieves the content slots that directly belong to the provided page (it does not return slots coming from
a template).
|
protected AbstractCMSComponentModel |
ComponentRollbackConverter.replaceComponentWithCloneInPage(AbstractCMSComponentModel originalComponent,
AbstractPageModel page,
AuditPayload componentPayload)
This method creates a clone of the given component and uses it to replace all the references of the original component in
the version of the page provided, as indicated by the payload.
|
protected void |
ComponentRollbackConverter.rollbackComponentOnlyInPage(AbstractCMSComponentModel component,
AbstractPageModel page,
AuditPayload componentPayload)
This method rollbacks the component only in slots of the version of the page provided, as indicated by the payload.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AbstractPageModel> |
CMSVersionService.findPageVersionedByTransactionId(java.lang.String transactionId)
Finds the page associated to a transaction ID.
|
java.util.Optional<AbstractPageModel> |
CMSVersionSessionContextProvider.getPageVersionedInTransactionFromCache()
Returns the
AbstractPageModel associated to the transaction being processed from the cache. |
| Modifier and Type | Method and Description |
|---|---|
void |
CMSVersionSessionContextProvider.addPageVersionedInTransactionToCache(java.util.Optional<AbstractPageModel> abstractPageModel)
Adds the
AbstractPageModel associated to the transaction being processed to the cache. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AbstractPageModel> |
DefaultCMSVersionService.findPageVersionedByTransactionId(java.lang.String transactionId) |
java.util.Optional<AbstractPageModel> |
DefaultCMSVersionSessionContextProvider.getPageVersionedInTransactionFromCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCMSVersionSessionContextProvider.addPageVersionedInTransactionToCache(java.util.Optional<AbstractPageModel> abstractPageModel) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<AbstractPageModel> |
CategoryOrProductPageRestorePopulator.getExistingPrimaryPagesByType(java.lang.String pageType)
Returns active primary pages for a given pageType.
|
protected java.util.function.Predicate<AbstractPageModel> |
CategoryOrProductPageRestorePopulator.getPageCanOnlyHaveOnePrimaryPredicate() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
TrashPagePopulator.isPageBeingTrashed(AbstractPageModel page,
java.util.Map<java.lang.String,java.lang.Object> map)
Determines if a page is being trashed by checking the original pageStatus against the required pageStatus
If the pageStatus will change from ACTIVE to DELETED, then the page is considered being trashed.
|
void |
AbstractCMSPageRestrictionsContentPopulator.populate(java.util.Map<java.lang.String,java.lang.Object> source,
AbstractPageModel pageModel) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CategoryOrProductPageRestorePopulator.primaryPageAlreadyExists(java.lang.String uid,
java.util.List<AbstractPageModel> existingPages) |
void |
CategoryOrProductPageRestorePopulator.setPageCanOnlyHaveOnePrimaryPredicate(java.util.function.Predicate<AbstractPageModel> pageCanOnlyHaveOnePrimaryPredicate) |
| Modifier and Type | Method and Description |
|---|---|
protected PageVariationResolver<AbstractPageModel> |
PageHasVariationsPredicate.getPageVariationResolver(java.lang.String typeCode) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
PageUpdateRequiresValidationPredicate.pageAlreadyExists(AbstractPageModel pageToEvaluate) |
boolean |
PageRestoreWithReplacePredicate.test(AbstractPageModel page) |
boolean |
PageHasVariationsPredicate.test(AbstractPageModel page) |
boolean |
PageCanOnlyHaveOnePrimaryPredicate.test(AbstractPageModel pageModel) |
boolean |
PageUpdateRequiresValidationPredicate.test(AbstractPageModel pageToUpdate) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<AbstractPageModel> |
DefaultUpdateAbstractPageValidator.getExistingPrimaryPagesByType(java.lang.String pageType) |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateAbstractPageValidator.getPageCanOnlyHaveOnePrimaryPredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultCreateAbstractPageValidator.getPageCanOnlyHaveOnePrimaryPredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateAbstractPageValidator.getPageHasVariationsPredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateAbstractPageValidator.getPageRestoreWithReplacePredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateContentPageValidator.getPageRestoreWithReplacePredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateAbstractPageValidator.getPageUpdateRequiresValidationPredicate() |
protected java.util.function.Predicate<AbstractPageModel> |
DefaultUpdateContentPageValidator.getPageUpdateRequiresValidationPredicate() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultUpdateAbstractPageValidator.isPrimaryPage(AbstractPageModel pageModel) |
protected boolean |
DefaultUpdateAbstractPageValidator.isVariationPage(AbstractPageModel pageModel) |
protected boolean |
DefaultUpdateAbstractPageValidator.primaryPageAlreadyExists(AbstractPageModel currentPage,
java.util.List<AbstractPageModel> existingPages) |
void |
DefaultUpdateAbstractPageValidator.validate(AbstractPageModel newPageModel) |
void |
DefaultBaseAbstractPageValidator.validate(AbstractPageModel validatee) |
void |
DefaultCreateAbstractPageValidator.validate(AbstractPageModel validatee) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultUpdateAbstractPageValidator.primaryPageAlreadyExists(AbstractPageModel currentPage,
java.util.List<AbstractPageModel> existingPages) |
void |
DefaultUpdateAbstractPageValidator.setPageCanOnlyHaveOnePrimaryPredicate(java.util.function.Predicate<AbstractPageModel> pageCanOnlyHaveOnePrimaryPredicate) |
void |
DefaultCreateAbstractPageValidator.setPageCanOnlyHaveOnePrimaryPredicate(java.util.function.Predicate<AbstractPageModel> pageCanOnlyHaveOnePrimaryPredicate) |
void |
DefaultUpdateAbstractPageValidator.setPageHasVariationsPredicate(java.util.function.Predicate<AbstractPageModel> pageHasVariationsPredicate) |
void |
DefaultUpdateAbstractPageValidator.setPageRestoreWithReplacePredicate(java.util.function.Predicate<AbstractPageModel> pageRestoreWithReplacePredicate) |
void |
DefaultUpdateContentPageValidator.setPageRestoreWithReplacePredicate(java.util.function.Predicate<AbstractPageModel> pageRestoreWithReplacePredicate) |
void |
DefaultUpdateAbstractPageValidator.setPageUpdateRequiresValidationPredicate(java.util.function.Predicate<AbstractPageModel> pageUpdateRequiresValidationPredicate) |
void |
DefaultUpdateContentPageValidator.setPageUpdateRequiresValidationPredicate(java.util.function.Predicate<AbstractPageModel> pageUpdateRequiresValidationPredicate) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
ComponentTypeAndContentSlotValidationDto.getPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentTypeAndContentSlotValidationDto.setPage(AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
DefaultNavigationEntryCmsPageItemModelConversionFunction.apply(NavigationEntryData navigationEntryData)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
DefaultPageFacade.getPageModelById(java.lang.String pageId) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPopulatingConverter<AbstractPageData,AbstractPageModel> |
DefaultPageFacade.getPageDataConverter(java.lang.Class<?> pageClass)
Deprecated.
since 6.6
|
protected java.util.Map<java.lang.Class<?>,AbstractPopulatingConverter<AbstractPageData,AbstractPageModel>> |
DefaultPageFacade.getPageDataPopulatorFactory() |
protected AbstractPopulatingConverter<AbstractPageModel,AbstractPageData> |
DefaultPageFacade.getPageModelConverter(java.lang.Class<?> pageClass)
Deprecated.
since 6.6
|
protected java.util.Map<java.lang.Class<?>,AbstractPopulatingConverter<AbstractPageModel,AbstractPageData>> |
DefaultPageFacade.getPageModelConverterFactory() |
protected PageVariationResolver<AbstractPageModel> |
DefaultPageFacade.getPageVariationResolver(java.lang.String typeCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPageFacade.setPageDataPopulatorFactory(java.util.Map<java.lang.Class<?>,AbstractPopulatingConverter<AbstractPageData,AbstractPageModel>> pageDataPopulatorFactory)
Deprecated.
since 6.6
|
void |
DefaultPageFacade.setPageModelConverterFactory(java.util.Map<java.lang.Class<?>,AbstractPopulatingConverter<AbstractPageModel,AbstractPageData>> pageModelConverterFactory)
Deprecated.
since 6.6
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicPageDataPopulator.populate(AbstractPageData source,
AbstractPageModel target)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicPageModelPopulator.populate(AbstractPageModel source,
AbstractPageData target)
Deprecated.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PageVariationResolver<T extends AbstractPageModel>
Provide methods for retrieving default and variation page information for a given page type and/or for a given CMS
page model.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PageInitializer.initialize(AbstractPageModel page)
Perform any necessary initialization onto a newly created page such as associating non shared slots
|
| Modifier and Type | Method and Description |
|---|---|
PageVariationResolver<AbstractPageModel> |
PageVariationResolverType.getResolver()
Get the resolver to be used when fetching default and variation pages for page type
AbstractPageModel. |
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
PageInitializer.initialize(AbstractPageModel page)
Perform any necessary initialization onto a newly created page such as associating non shared slots
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
DefaultPageInitializer.initialize(AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractPageModel> |
DefaultPageVariationResolver.findDefaultPages(AbstractPageModel pageModel) |
java.util.List<AbstractPageModel> |
DefaultPageVariationResolver.findPagesByType(java.lang.String typeCode,
boolean isDefaultPage) |
java.util.List<AbstractPageModel> |
DefaultPageVariationResolver.findVariationPages(AbstractPageModel pageModel) |
PageVariationResolver<AbstractPageModel> |
DefaultPageVariationResolverType.getResolver() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractPageModel> |
DefaultPageVariationResolver.findDefaultPages(AbstractPageModel pageModel) |
java.util.List<AbstractPageModel> |
DefaultPageVariationResolver.findVariationPages(AbstractPageModel pageModel) |
AbstractPageModel |
DefaultPageInitializer.initialize(AbstractPageModel page) |
boolean |
DefaultPageVariationResolver.isDefaultPage(AbstractPageModel pageModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPageVariationResolverType.setResolver(PageVariationResolver<AbstractPageModel> resolver) |
| Modifier and Type | Method and Description |
|---|---|
protected PageRestrictionData |
DefaultPageRestrictionFacade.buildPageRestrictionData(AbstractPageModel page,
AbstractRestrictionModel restriction)
Build a new page restriction dto to hold a single pageId - restrictionId pair.
|
protected java.util.List<PageRestrictionData> |
DefaultPageRestrictionFacade.getAllRestrictionsByPage(AbstractPageModel page) |
protected void |
DefaultPageRestrictionFacade.validatePageForUpdate(AbstractPageModel page,
java.util.List<PageRestrictionData> pageRestrictionsListData)
Validate that page defaultPage attribute and list of restrictions to be applied to the page.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
DefaultPageRenderingService.getPageModel(java.lang.String pageType,
java.lang.String qualifier)
Returns the
AbstractPageModel. |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AbstractPageModel,AbstractPageData> |
DefaultPageRenderingService.getPageModelToDataRenderingConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageData |
DefaultPageRenderingService.getPageData(AbstractPageModel pageModel,
RestrictionData restrictionData)
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPageRenderingService.setPageModelToDataRenderingConverter(Converter<AbstractPageModel,AbstractPageData> pageModelToDataRenderingConverter) |
| Modifier and Type | Method and Description |
|---|---|
void |
PageModelToDataRenderingPopulator.populate(AbstractPageModel sourceModel,
AbstractPageData targetData) |
void |
PageRenderingPopulator.populate(AbstractPageModel sourceModel,
AbstractPageData targetData) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AbstractPageModel> |
RenderingPageModelSupplier.getPageModel(java.lang.String qualifier)
Returns the page by qualifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<AbstractPageModel> |
RenderingContentPageModelSupplier.getContentPageModel(java.lang.String pageLabelOrId)
Returns
Optional AbstractPageModel based on pageLabelOrId. |
java.util.Optional<AbstractPageModel> |
RenderingCatalogPageModelSupplier.getPageModel(java.lang.String catalogCode) |
java.util.Optional<AbstractPageModel> |
RenderingCategoryPageModelSupplier.getPageModel(java.lang.String categoryCode) |
java.util.Optional<AbstractPageModel> |
RenderingContentPageModelSupplier.getPageModel(java.lang.String pageLabelOrId) |
java.util.Optional<AbstractPageModel> |
RenderingProductPageModelSupplier.getPageModel(java.lang.String productCode) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemModel> |
SharedAbstractPageItemCollector.collect(AbstractPageModel item) |
java.util.List<? extends ItemModel> |
BasicAbstractPageItemCollector.collect(AbstractPageModel item) |
java.util.List<? extends ItemModel> |
DependentAbstractPageItemCollector.collect(AbstractPageModel item) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPageModelVisitor<PAGETYPE extends AbstractPageModel>
Abstract class for visiting
AbstractPageModel models for the cms synchronization service to work properly. |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotForPageModelBuilder |
ContentSlotForPageModelBuilder.withPage(AbstractPageModel page) |
CMSTimeRestrictionModelBuilder |
CMSTimeRestrictionModelBuilder.withPages(AbstractPageModel... pages) |
CMSCategoryRestrictionModelBuilder |
CMSCategoryRestrictionModelBuilder.withPages(AbstractPageModel... pages) |
CMSUserGroupRestrictionModelBuilder |
CMSUserGroupRestrictionModelBuilder.withPages(AbstractPageModel... pages) |
| Modifier and Type | Method and Description |
|---|---|
CMSUserGroupRestrictionModel |
CMSUserGroupRestrictionModelMother.cmsManager(CatalogVersionModel catalogVersion,
AbstractPageModel... pages) |
CMSTimeRestrictionModel |
CMSTimeRestrictionModelMother.nextWeek(CatalogVersionModel catalogVersion,
AbstractPageModel... pages) |
CMSCategoryRestrictionModel |
CMSCategoryRestrictionModelMother.shoesWithSandalsAndHeels(CatalogVersionModel catalogVersion,
CatalogVersionModel productCatalogVersion,
AbstractPageModel... pages) |
CMSTimeRestrictionModel |
CMSTimeRestrictionModelMother.today(CatalogVersionModel catalogVersion,
AbstractPageModel... pages) |
CMSTimeRestrictionModel |
CMSTimeRestrictionModelMother.tomorrow(CatalogVersionModel catalogVersion,
AbstractPageModel... pages) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AbstractPageModel,AbstractPageData> |
HomePageDataPopulator.getAbstractPageDataConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPageDataPopulator.populate(AbstractPageModel source,
AbstractPageData target) |
| Modifier and Type | Method and Description |
|---|---|
void |
HomePageDataPopulator.setAbstractPageDataConverter(Converter<AbstractPageModel,AbstractPageData> abstractPageDataConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
MyCompanyLoginController.getCmsPage() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
UserModel.getLockedPages()
Generated method - Getter of the
User.lockedPages attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
UserModel.setLockedPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter of
User.lockedPages attribute defined at extension cms2. |
| Modifier and Type | Class and Description |
|---|---|
class |
VendorPageModel
Generated model class for type VendorPage first defined at extension marketplaceservices.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
VendorCMSStrategy.prepareLandingPageForVendor(VendorModel vendor)
A key to create the whole landing page with default content slots and components
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPageModel |
DefaultVendorCMSStrategy.prepareLandingPageForVendor(VendorModel vendor) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultVendorCMSStrategy.createContentSlotForPage(java.lang.String vendorCode,
CatalogVersionModel catalogVersion,
java.lang.String position,
AbstractPageModel page,
AbstractCMSComponentModel... component)
extract a method to create content slot with its for page and components
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AbstractPageModel> |
VendorCMSService.getPageByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
get page by it and catalog version
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ContentSlotModel> |
VendorCMSService.getContentSlotByPageAndPosition(java.lang.String position,
AbstractPageModel page,
CatalogVersionModel catalogVersion)
get content slot by its position, page and catalog version
|
java.util.Optional<ContentSlotForPageModel> |
VendorCMSService.getContentSlotRelationByIdAndPositionInPage(java.lang.String id,
AbstractPageModel page,
java.lang.String position)
get ContentSlotForPage according to its position in a page
|
void |
VendorCMSService.saveOrUpdateCMSContentSlotForPage(CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String position,
AbstractPageModel page,
ContentSlotModel contentSlot)
create the content slot for a CMS page
|
void |
VendorCMSService.saveOrUpdateCMSVendorRestriction(VendorModel vendor,
CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String name,
AbstractPageModel... pages)
create an instance of page restriction for a vendor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<AbstractPageModel> |
DefaultVendorCMSService.getPageByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ContentSlotModel> |
DefaultVendorCMSService.getContentSlotByPageAndPosition(java.lang.String position,
AbstractPageModel page,
CatalogVersionModel catalogVersion) |
java.util.Optional<ContentSlotForPageModel> |
DefaultVendorCMSService.getContentSlotRelationByIdAndPositionInPage(java.lang.String id,
AbstractPageModel page,
java.lang.String position) |
void |
DefaultVendorCMSService.saveOrUpdateCMSContentSlotForPage(CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String position,
AbstractPageModel page,
ContentSlotModel contentSlot) |
void |
DefaultVendorCMSService.saveOrUpdateCMSVendorRestriction(VendorModel vendor,
CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String name,
AbstractPageModel... pages) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductConfigOverviewPageModel
Generated model class for type ProductConfigOverviewPage first defined at extension ysapproductconfigaddon.
|
class |
ProductConfigPageModel
Generated model class for type ProductConfigPage first defined at extension ysapproductconfigaddon.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
B2BRegistrationController.getCmsPage() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,ContentSlotModel> |
SecurePortalBeforeViewHandler.getContentSlotsForPageAsMap(AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
CheckoutLoginController.getCmsPage() |
protected AbstractPageModel |
LoginPageController.getCmsPage() |
protected AbstractPageModel |
RegisterPageController.getCmsPage() |
protected AbstractPageModel |
CheckoutRegisterController.getCmsPage() |
protected AbstractPageModel |
ProductPageController.getPageForProduct(java.lang.String productCode) |
protected AbstractPageModel |
StorePageController.getStoreFinderPage() |
protected AbstractPageModel |
StoreLocatorPageController.getStoreFinderPage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HomePageController.updatePageTitle(Model model,
AbstractPageModel cmsPage) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPageModel |
CmsPageBeforeViewHandler.lookupPreviewPage(HttpServletRequest request)
Retrieves a preview ticket, if available and retrieves the preview page from the
PreviewData |
protected AbstractPageModel |
CmsPageBeforeViewHandler.updateCmsPageInModelAndView(HttpServletRequest request,
ModelAndView modelAndView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CmsPageBeforeViewHandler.assignViewForPreviewPage(ModelAndView modelAndView,
AbstractPageModel requestedPage,
AbstractPageModel previewPage) |
protected java.lang.String |
CmsPageBeforeViewHandler.buildCssClasses(AbstractPageModel page) |
protected java.lang.String |
CmsPageBeforeViewHandler.getViewForPage(AbstractPageModel page)
Returns ths view name for the page by retrieving the frontendTemplateName from the masterTemplate of the page
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
DefaultPreviewDataModelUrlResolver.checkPageLabel(AbstractPageModel page,
java.util.Map<java.lang.String,java.lang.String> pageMapping) |
protected java.lang.String |
DefaultPreviewDataModelUrlResolver.checkPageUid(AbstractPageModel page,
java.util.Map<java.lang.String,java.lang.String> pageMapping) |
protected java.lang.String |
DefaultPreviewDataModelUrlResolver.processPage(AbstractPageModel page,
java.util.Map<java.lang.String,java.lang.String> pageMapping) |
Copyright © 2018 SAP SE. All Rights Reserved.