| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
CMSPageSlotComponentService.getContentSlotForId(java.lang.String id)
Lookup a Content Slot given its ID.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractCMSComponentModel> |
CMSPageSlotComponentService.getCMSComponentsForContentSlot(CmsPageRequestContextData cmsPageRequestContextData,
ContentSlotModel contentSlot,
boolean evaluateRestrictions,
int limit)
Get the CMS components in a Content Slot.
|
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
DefaultCMSPageSlotComponentService.getContentSlotForId(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractCMSComponentModel> |
DefaultCMSPageSlotComponentService.getCMSComponentsForContentSlot(CmsPageRequestContextData cmsPageRequestContextData,
ContentSlotModel contentSlot,
boolean evaluateRestrictions,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
CMSDynamicAttributeService.getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
java.util.Map<java.lang.String,java.lang.String> |
CMSDynamicAttributeService.getDynamicContentSlotAttributes(ContentSlotModel contentSlot,
PageContext pageContext,
java.util.Map<java.lang.String,java.lang.String> initialMaps) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
DefaultCMSDynamicAttributeService.getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
java.util.Map<java.lang.String,java.lang.String> |
DefaultCMSDynamicAttributeService.getDynamicContentSlotAttributes(ContentSlotModel contentSlot,
PageContext pageContext,
java.util.Map<java.lang.String,java.lang.String> initialMaps) |
| Modifier and Type | Field and Description |
|---|---|
protected ContentSlotModel |
CMSContentSlotTag.contentSlotAttribute |
protected ContentSlotModel |
CMSContentSlotTag.currentContentSlot |
| Modifier and Type | Method and Description |
|---|---|
void |
CMSContentSlotTag.setContentSlot(ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
AbstractHybrisVelocityContextFactory.renderComponents(ContentSlotModel contentSlotModel,
AbstractHybrisVelocityContext<BusinessProcessModel> context,
BusinessProcessModel businessProcessModel) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
DefaultEmailContextFactory.renderComponents(ContentSlotModel contentSlotModel,
AbstractEmailContext<BusinessProcessModel> emailContext,
BusinessProcessModel businessProcessModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
CMSItemCloningService.cloneContentSlotComponents(ContentSlotModel sourceContentSlotModel,
ContentSlotModel targetContentSlotModel,
CatalogVersionModel targetCatalogVersionModel)
Deeps clones all cloneable cms components for a given content slot excluding non cloneable components
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCMSItemCloningService.cloneContentSlotComponents(ContentSlotModel sourceContentSlotModel,
ContentSlotModel targetContentSlotModel,
CatalogVersionModel targetCatalogVersionModel) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotCloningStrategy.clone(ContentSlotModel sourceContentSlotModel,
java.util.Optional<ContentSlotModel> 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 ContentSlotModel |
PageCloningStrategyTest.generateMockContentSlotModel()
Generates a content slot model mock.
|
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotCloningStrategy.clone(ContentSlotModel sourceContentSlotModel,
java.util.Optional<ContentSlotModel> 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 void |
ContentSlotCloningStrategy.createContentSlotForPageRelation(CatalogVersionModel catalogVersionModel,
java.lang.String position,
AbstractPageModel pageModel,
ContentSlotModel contentSlotModel)
Creates a new ContentSlotForPageModel
|
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotCloningStrategy.clone(ContentSlotModel sourceContentSlotModel,
java.util.Optional<ContentSlotModel> template,
java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> context) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentSlotModel> |
AbstractCMSComponentModel.getSlots()
Generated method - Getter of the
AbstractCMSComponent.slots attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCMSComponentModel.setSlots(java.util.Collection<ContentSlotModel> value)
Generated method - Setter of
AbstractCMSComponent.slots attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotModel.getOriginalSlot()
Generated method - Getter of the
ContentSlot.originalSlot attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentSlotModel.setOriginalSlot(ContentSlotModel value)
Generated method - Setter of
ContentSlot.originalSlot attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotForTemplateModel.getContentSlot()
Generated method - Getter of the
ContentSlotForTemplate.contentSlot attribute defined at extension cms2. |
ContentSlotModel |
ContentSlotForPageModel.getContentSlot()
Generated method - Getter of the
ContentSlotForPage.contentSlot attribute defined at extension cms2. |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentSlotForTemplateModel.setContentSlot(ContentSlotModel value)
Generated method - Setter of
ContentSlotForTemplate.contentSlot attribute defined at extension cms2. |
void |
ContentSlotForPageModel.setContentSlot(ContentSlotModel value)
Generated method - Setter of
ContentSlotForPage.contentSlot 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
|
ContentSlotForTemplateModel(CatalogVersionModel _catalogVersion,
ContentSlotModel _contentSlot,
ItemModel _owner,
PageTemplateModel _pageTemplate,
java.lang.String _position,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ContentSlotForTemplateModel(CatalogVersionModel _catalogVersion,
ContentSlotModel _contentSlot,
PageTemplateModel _pageTemplate,
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.List<ContentSlotModel> |
CatalogLevelService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots)
Orders the given content slots according to the catalog level where the slots are defined.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
CatalogLevelService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots)
Orders the given content slots according to the catalog level where the slots are defined.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Comparator<ContentSlotModel> |
DefaultCatalogLevelService.getCmsItemCatalogLevelComparator() |
java.util.List<ContentSlotModel> |
DefaultCatalogLevelService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> list) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
DefaultCatalogLevelService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> list) |
void |
DefaultCatalogLevelService.setCmsItemCatalogLevelComparator(java.util.Comparator<ContentSlotModel> cmsItemCatalogLevelComparator) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotResource.getContentSlotModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected ContentSlotModel |
ContentSlotResource.readResource(java.lang.String resourceId)
Gets the
ContentSlotModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentSlotModel> |
ContentSlotsResource.getContentSlotsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentSlotResource.setContentSlotModel(ContentSlotModel value)
Convenience method which just delegates to
#setResourceValue(ContentSlotModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContentSlotsResource.setContentSlotsCollection(java.util.Collection<ContentSlotModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
CMSContentSlotDao.findAllMultiCountryContentSlotsByOriginalSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Find the content slots and their catalog hierarchy for the given content slots and catalog versions (used for
multi-country)
|
java.util.List<ContentSlotModel> |
CMSContentSlotDao.findContentSlotsById(java.lang.String id)
Find content slots by id.
|
java.util.List<ContentSlotModel> |
CMSContentSlotDao.findContentSlotsByIdAndCatalogVersions(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slots by id and catalog versions.
|
java.util.Collection<ContentSlotModel> |
CMSContentSlotDao.findContentSlotsForCatalogVersion(CatalogVersionModel catalogVersion)
Find all content slots that belong to a given catalog version.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotForTemplateModel> |
CMSContentSlotDao.findAllContentSlotForTemplateByContentSlot(ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion)
Find the content slot for template relations for the given content slot and catalog version (used for
multi-country)
|
java.util.Collection<CMSRelationModel> |
CMSContentSlotDao.findAllContentSlotRelationsByContentSlot(ContentSlotModel contentSlot)
Find all content slot relations by content slot.
|
java.util.List<ContentSlotForPageModel> |
CMSContentSlotDao.findAllContentSlotRelationsByContentSlot(ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion)
Find all content slot relations by content slot 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<ContentSlotForTemplateModel> |
CMSContentSlotDao.findContentSlotRelationsByPageTemplateAndContentSlot(PageTemplateModel template,
ContentSlotModel contentSlotModel,
CatalogVersionModel catalogVersion)
Find content slot relations for given page template and content slot.
|
java.util.Collection<CMSRelationModel> |
CMSContentSlotDao.findOnlyContentSlotRelationsByContentSlot(ContentSlotModel contentSlot)
Find only content slot relations not content slot template relations of given content slot.
|
java.util.Collection<AbstractPageModel> |
CMSContentSlotDao.findPagesByContentSlot(ContentSlotModel contentSlot)
Find pages related to content slot.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
CMSContentSlotDao.findAllMultiCountryContentSlotsByOriginalSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Find the content slots and their catalog hierarchy for the given content slots and catalog versions (used for
multi-country)
|
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.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
|
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createSlot(java.lang.String slotId) |
protected ContentSlotModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createSlotForPage(AbstractPageModel page,
java.lang.String slotId) |
protected ContentSlotModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createSlotForTemplate(PageTemplateModel template,
java.lang.String slotId) |
protected ContentSlotModel |
DefaultCMSContentSlotDaoIntegrationTest.getContentSlotById(java.lang.String slotId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
DefaultCMSContenSlotDao.findAllMultiCountryContentSlotsByOriginalSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
java.util.List<ContentSlotModel> |
DefaultCMSContenSlotDao.findContentSlotsById(java.lang.String id)
Find content slots by id.
|
java.util.List<ContentSlotModel> |
DefaultCMSContenSlotDao.findContentSlotsByIdAndCatalogVersions(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find content slots by id and catalog versions.
|
java.util.Collection<ContentSlotModel> |
DefaultCMSContenSlotDao.findContentSlotsForCatalogVersion(CatalogVersionModel catalogVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractCMSComponentModel |
DefaultCMSComponentDaoSharedComponentsIntegrationTest.createNewComponentInSlot(ContentSlotModel contentSlot) |
java.util.List<ContentSlotForTemplateModel> |
DefaultCMSContenSlotDao.findAllContentSlotForTemplateByContentSlot(ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion) |
java.util.Collection<CMSRelationModel> |
DefaultCMSContenSlotDao.findAllContentSlotRelationsByContentSlot(ContentSlotModel contentSlot)
Find all content slot relations by content slot.
|
java.util.List<ContentSlotForPageModel> |
DefaultCMSContenSlotDao.findAllContentSlotRelationsByContentSlot(ContentSlotModel contentSlot,
CatalogVersionModel catalogVersion)
Find all content slot relations by content slot 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<ContentSlotForTemplateModel> |
DefaultCMSContenSlotDao.findContentSlotRelationsByPageTemplateAndContentSlot(PageTemplateModel template,
ContentSlotModel contentSlotModel,
CatalogVersionModel catalogVersion)
Find content slot relations for given page template and content slot.
|
java.util.Collection<CMSRelationModel> |
DefaultCMSContenSlotDao.findOnlyContentSlotRelationsByContentSlot(ContentSlotModel contentSlot)
Find only content slot relations not content slot template relations of given content slot.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSContenSlotDao.findPagesByContentSlot(ContentSlotModel contentSlot)
Find pages related to content slot.
|
protected void |
DefaultCMSPageDaoTest.setRelationModel(ContentSlotForPageModel rel,
ContentSlotModel slot,
java.lang.String id) |
protected void |
DefaultCMSPageDaoTest.setRelationModel(ContentSlotForTemplateModel rel,
ContentSlotModel slot,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
DefaultCMSContenSlotDao.findAllMultiCountryContentSlotsByOriginalSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
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.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
|
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotData.getContentSlot() |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotData |
CMSDataFactory.createContentSlotData(java.lang.String pageId,
ContentSlotModel contentSlot,
java.lang.String position,
boolean fromMaster,
boolean allowOverwrite) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
DefaultContentSlotData.getContentSlot() |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotData |
DefaultCMSDataFactory.createContentSlotData(java.lang.String pageId,
ContentSlotModel contentSlot,
java.lang.String position,
boolean fromMaster,
boolean allowOverwrite) |
| Constructor and Description |
|---|
DefaultContentSlotData(java.lang.String pageId,
ContentSlotModel contentSlot,
java.lang.String position,
boolean fromMaster,
boolean allowOverwrite) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
ContentSlotForPageValidateInterceptorTest.getContentSlot() |
protected ContentSlotModel |
ContentSlotForTemplateValidateInterceptorTest.getContentSlot() |
protected ContentSlotModel |
ContentSlotForTemplateInitDefaultsInterceptorTest.getContentSlot() |
protected ContentSlotModel |
ContentSlotForPageInitDefaultsInterceptorTest.getContentSlot() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CMSAbstractPageRemoveInterceptor.isAssignedToOtherPages(ContentSlotModel contentSlot,
AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
CMSContentSlotService.getContentSlotForId(java.lang.String id)
Gets the content slot for given id.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
CMSPageService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Gets the content slots sorted by their catalog hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSContentSlotService.getPagesForContentSlot(ContentSlotModel contentSlot)
Gets the related
AbstractPageModel objects for content slot. |
java.util.List<SimpleCMSComponentModel> |
CMSContentSlotService.getSimpleCMSComponents(ContentSlotModel contentSlot,
boolean previewEnabled,
HttpServletRequest httRequest)
Retrieves a list of components that are valid for particular content slot
Note: Filters components that are assigned to given content slot according to their restrictions.
|
java.util.Collection<UserModel> |
CMSPageLockingService.getSlotLockers(ContentSlotModel contentSlotModel)
Method returns user that locked given content slot by page or page template, or null if slot is not locked.
|
boolean |
CMSPageLockingService.isContentSlotLockedForUser(ContentSlotModel contentSlotModel,
UserModel userModel)
Method that checks if given content slot belongs to any page that is locked for specified user.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Returns all pages where given content slots occurs.
|
java.util.Collection<AbstractPageModel> |
CMSPageService.getPagesForPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Gets the pages for page template content slots.
|
java.util.List<ContentSlotModel> |
CMSPageService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Gets the content slots sorted by their catalog hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
ContentSlotModel |
CMSAdminContentSlotService.getContentSlotForId(java.lang.String contentSlotId)
Gets the content slot for specific content slot id.
|
ContentSlotModel |
CMSAdminContentSlotService.getContentSlotForIdAndCatalogVersions(java.lang.String contentSlotId,
java.util.Collection<CatalogVersionModel> catalogVersions)
Gets the content slot for slot id and collection of catalog versions.
|
ContentSlotModel |
CMSAdminContentSlotService.getContentSlotOverride(AbstractPageModel page,
ContentSlotModel contentSlot)
Find the content slot in the catalog hierarchy (used with multi-country)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentSlotModel> |
CMSAdminContentSlotService.getContentSlotsForCatalogVersion(CatalogVersionModel catalogVersion)
Find all content slots that belong to a given catalog version.
|
java.util.List<ContentSlotModel> |
CMSAdminContentSlotService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Orders the given content slots according to the catalog level where the slots are defined.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CMSAdminContentSlotService.addCMSComponentToContentSlot(AbstractCMSComponentModel component,
ContentSlotModel slot,
java.lang.Integer index)
Add an existing component item into a specific index position of an existing content slot.
|
AbstractCMSComponentModel |
CMSAdminComponentService.createCmsComponent(ContentSlotModel contentSlotModel,
java.lang.String componentUid,
java.lang.String componentName,
java.lang.String typeCode)
Creates cms component model.
|
void |
CMSAdminContentSlotService.deleteRelation(AbstractPageModel page,
ContentSlotModel contentSlot)
delete the relation between a content slot and a page
|
java.util.Collection<CMSRelationModel> |
CMSAdminContentSlotService.getAllRelationsForSlot(ContentSlotModel contentSlot)
Returns all page and template relations with references to this content slot
|
java.util.Collection<AbstractCMSComponentContainerModel> |
CMSAdminComponentService.getContainersForContentSlot(ContentSlotModel contentSlot)
Gets the collection of containers within a content slot.
|
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<AbstractCMSComponentModel> |
CMSAdminComponentService.getDisplayedComponentsForContentSlot(ContentSlotModel contentSlot)
Get the collection of displayed components within a content slot.
|
java.util.Collection<CMSRelationModel> |
CMSAdminContentSlotService.getOnlyContentSlotRelationsForSlot(ContentSlotModel contentSlot)
Returns only page relations with references to this content slot.
|
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.getTypeRestrictionsContentSlotForTemplate(PageTemplateModel pageTemplate,
ContentSlotModel contentSlot)
Get all component type restrictions for a given template 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 |
CMSAdminContentSlotService.hasRelations(ContentSlotModel contentSlot)
Checks if the given content slot has relations to one or more pages
|
void |
CMSAdminComponentService.removeCMSComponentFromContentSlot(AbstractCMSComponentModel component,
ContentSlotModel slotModel)
Removes the cms component from content slot.
|
void |
CMSAdminContentSlotService.updatePositionCMSComponentInContentSlot(AbstractCMSComponentModel component,
ContentSlotModel slot,
java.lang.Integer index)
Update the position of an existing component item into a specific index position of an existing content slot.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentSlotModel> |
CMSAdminContentSlotService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions)
Orders the given content slots according to the catalog level where the slots are defined.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
ContentSlotModel |
DefaultCMSAdminContentSlotService.getContentSlotForId(java.lang.String contentSlotId)
Gets the content slot for specific content slot id.
|
ContentSlotModel |
DefaultCMSAdminContentSlotService.getContentSlotForIdAndCatalogVersions(java.lang.String contentSlotId,
java.util.Collection<CatalogVersionModel> catalogVersions)
Gets the content slot for slot id and collection of catalog versions.
|
ContentSlotModel |
DefaultCMSAdminContentSlotService.getContentSlotOverride(AbstractPageModel page,
ContentSlotModel contentSlot) |
protected ContentSlotModel |
DefaultCMSAdminContentSlotService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
| 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.
|
java.util.Collection<ContentSlotModel> |
DefaultCMSAdminContentSlotService.getContentSlotsForCatalogVersion(CatalogVersionModel catalogVersion) |
java.util.List<ContentSlotModel> |
DefaultCMSAdminContentSlotService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCMSAdminContentSlotService.addCMSComponentToContentSlot(AbstractCMSComponentModel component,
ContentSlotModel slot,
java.lang.Integer index) |
protected void |
DefaultCMSAdminContentSlotService.addComponentToComponentListSaveAsSlot(AbstractCMSComponentModel component,
ContentSlotModel slot,
java.lang.Integer index,
java.util.List<AbstractCMSComponentModel> currentComponentList) |
AbstractCMSComponentModel |
DefaultCMSAdminComponentService.createCmsComponent(ContentSlotModel contentSlotModel,
java.lang.String componentUid,
java.lang.String componentName,
java.lang.String typeCode)
Creates cms component model.
|
void |
DefaultCMSAdminContentSlotService.deleteRelation(AbstractPageModel page,
ContentSlotModel contentSlot)
delete the relation between a content slot and a page
|
java.util.Collection<CMSRelationModel> |
DefaultCMSAdminContentSlotService.getAllRelationsForSlot(ContentSlotModel contentSlot)
Returns all page and template relations with references to this content slot
|
java.util.Collection<AbstractCMSComponentContainerModel> |
DefaultCMSAdminComponentService.getContainersForContentSlot(ContentSlotModel contentSlot) |
ContentSlotModel |
DefaultCMSAdminContentSlotService.getContentSlotOverride(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.lang.String |
DefaultCMSAdminContentSlotService.getContentSlotPosition(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.util.Collection<AbstractCMSComponentModel> |
DefaultCMSAdminComponentService.getDisplayedComponentsForContentSlot(ContentSlotModel contentSlot) |
java.util.Collection<CMSRelationModel> |
DefaultCMSAdminContentSlotService.getOnlyContentSlotRelationsForSlot(ContentSlotModel contentSlot)
Returns only page relations with references to this content slot.
|
protected ContentSlotModel |
DefaultCMSAdminContentSlotService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
java.util.Set<CMSComponentTypeModel> |
DefaultCMSAdminTypeRestrictionsService.getTypeRestrictionsContentSlotForPage(AbstractPageModel page,
ContentSlotModel contentSlot) |
java.util.Set<CMSComponentTypeModel> |
DefaultCMSAdminTypeRestrictionsService.getTypeRestrictionsContentSlotForTemplate(PageTemplateModel pageTemplate,
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 |
DefaultCMSAdminContentSlotService.hasRelations(ContentSlotModel contentSlot)
Checks if the given content slot has relations to one or more pages
|
void |
DefaultCMSAdminComponentService.removeCMSComponentFromContentSlot(AbstractCMSComponentModel component,
ContentSlotModel contentSlot)
Removes the cms component from content slot.
|
void |
DefaultCMSAdminContentSlotService.updatePositionCMSComponentInContentSlot(AbstractCMSComponentModel component,
ContentSlotModel slot,
java.lang.Integer index) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultCMSAdminContentSlotService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
java.util.List<ContentSlotModel> |
DefaultCMSAdminContentSlotService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
DefaultCMSContentSlotService.getContentSlotForId(java.lang.String id) |
| 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.Optional<ContentSlotModel> |
DefaultCMSPageService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
java.util.List<ContentSlotModel> |
DefaultCMSPageService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<ContentSlotModel> |
DefaultCMSPageService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
java.util.Collection<AbstractPageModel> |
DefaultCMSContentSlotService.getPagesForContentSlot(ContentSlotModel contentSlot)
Gets the related
AbstractPageModel objects for content slot. |
java.util.List<SimpleCMSComponentModel> |
DefaultCMSContentSlotService.getSimpleCMSComponents(ContentSlotModel contentSlot,
boolean previewEnabled,
HttpServletRequest httpRequest)
Retrieves a list of components that are valid for particular content slot
Note: Filters components that are assigned to given content slot according to their restrictions.
|
java.util.Collection<UserModel> |
DefaultCMSPageLockingService.getSlotLockers(ContentSlotModel contentSlotModel)
Method returns user that locked given content slot by page or page template, or null if slot is not locked.
|
boolean |
DefaultCMSPageLockingService.isContentSlotLockedForUser(ContentSlotModel contentSlotModel,
UserModel userModel)
Method that checks if given content slot belongs to any page that is locked for specified user.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<ContentSlotModel> |
DefaultCMSPageService.getOverrideSlot(java.util.List<ContentSlotModel> contentSlots,
ContentSlotModel contentSlot) |
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Returns all pages where given content slots occurs.
|
java.util.Collection<AbstractPageModel> |
DefaultCMSPageService.getPagesForPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots)
Gets the pages for page template content slots.
|
java.util.List<ContentSlotModel> |
DefaultCMSPageService.getSortedMultiCountryContentSlots(java.util.List<ContentSlotModel> contentSlots,
java.util.List<CatalogVersionModel> catalogVersions) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
ContentSlotsForPageConverter.getContentSlotByPk(PK pk)
Returns a
ContentSlotModel by primary key. |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultCMSVersionToItemModelRollbackConverterIntegrationTest.getSlotById(java.lang.String slotId) |
| 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).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ComponentRollbackConverter.removeSlotsOutsidePageFromPayload(java.util.Set<ContentSlotModel> slotsInPage,
AuditPayload componentPayload)
This method removes from the payload any slot outside the current page.
|
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultCMSVersionServiceIntegrationTest.getSlotByUidFromCache(java.lang.String slotUid) |
| Modifier and Type | Method and Description |
|---|---|
void |
CMSContentSlotTag.setContentSlot(ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ComponentAndContentSlotValidationDto.getContentSlot() |
ContentSlotModel |
ComponentTypeAndContentSlotValidationDto.getContentSlot() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentAndContentSlotValidationDto.setContentSlot(ContentSlotModel contentSlot) |
void |
ComponentTypeAndContentSlotValidationDto.setContentSlot(ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
DefaultPageContentSlotComponentFacade.fetchContentSlot(java.lang.String slotId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends ItemModel> |
BasicContentSlotItemCollector.collect(ContentSlotModel item) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemModel> |
ContentSlotModelVisitor.visit(ContentSlotModel source,
java.util.List<ItemModel> path,
java.util.Map<java.lang.String,java.lang.Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
ContentSlotModelBuilder.build() |
protected ContentSlotModel |
ContentSlotModelBuilder.getModel() |
| Modifier and Type | Method and Description |
|---|---|
static ContentSlotModelBuilder |
ContentSlotModelBuilder.fromModel(ContentSlotModel model) |
ContentSlotForTemplateModelBuilder |
ContentSlotForTemplateModelBuilder.withContentSlot(ContentSlotModel contentSlot) |
ContentSlotForPageModelBuilder |
ContentSlotForPageModelBuilder.withContentSlot(ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
VendorCMSStrategy.getContentSlotByPositionAndCatalogVersion(VendorModel vendor,
java.lang.String position,
CatalogVersionModel catalogVersion)
get the content slot instance from a vendor page by its position
|
| 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
|
ContentSlotModel |
DefaultVendorCMSStrategy.getContentSlotByPositionAndCatalogVersion(VendorModel vendor,
java.lang.String position,
CatalogVersionModel catalogVersion) |
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
VendorCMSService.saveOrUpdateCMSContentSlot(CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String name,
boolean active)
create content slot
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ContentSlotModel> |
VendorCMSService.getContentSlotByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
get content slot by its uid and catalog version
|
java.util.Optional<ContentSlotModel> |
VendorCMSService.getContentSlotByPageAndPosition(java.lang.String position,
AbstractPageModel page,
CatalogVersionModel catalogVersion)
get content slot by its position, page and catalog version
|
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
ContentSlotModel |
DefaultVendorCMSService.saveOrUpdateCMSContentSlot(CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String name,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ContentSlotModel> |
DefaultVendorCMSService.getContentSlotByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion) |
java.util.Optional<ContentSlotModel> |
DefaultVendorCMSService.getContentSlotByPageAndPosition(java.lang.String position,
AbstractPageModel page,
CatalogVersionModel catalogVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultVendorCMSService.saveOrUpdateCMSContentSlotForPage(CatalogVersionModel catalogVersion,
java.lang.String uid,
java.lang.String position,
AbstractPageModel page,
ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
PersonalizationDynamicAttributeService.getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
CxCMSDynamicAttributeService.getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
PersonalizationCmsWebservicesTest.getSlot(java.lang.String pageId,
java.lang.String catalog,
java.lang.String catalogVersion,
java.lang.String slotId) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
CxReplaceComponentWithContainerExecutor.findSlot(java.util.Map<java.lang.String,java.lang.String> params) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,ContentSlotModel> |
SecurePortalBeforeViewHandler.getContentSlotsForPageAsMap(AbstractPageModel page) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
CMSSmartEditDynamicAttributeService.getDynamicComponentAttributes(AbstractCMSComponentModel component,
ContentSlotModel contentSlot) |
java.util.Map<java.lang.String,java.lang.String> |
CMSSmartEditDynamicAttributeService.getDynamicContentSlotAttributes(ContentSlotModel contentSlot,
PageContext pageContext,
java.util.Map<java.lang.String,java.lang.String> initialMaps) |
protected boolean |
CMSSmartEditDynamicAttributeService.shouldTheComponentBeWrapped(AbstractCMSComponentModel component,
ContentSlotModel contentSlot)
Checks if the current component is neither the direct child of the containing contentSlot not the child of a
AbstractCMSComponentContainerModel, and instead is nested within other CMS component. |
Copyright © 2018 SAP SE. All Rights Reserved.