Uses of Class
org.opencms.xml.containerpage.CmsContainerPageBean
Package
Description
Contains the container page editor service classes.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Utility classes to be used for JSP pages.
Contains functions for the ADE main pages, commonly called "Container Pages" in OpenCms.
-
Uses of CmsContainerPageBean in org.opencms.ade.containerpage
Modifier and TypeMethodDescriptionCmsDetailOnlyContainerPageBuilder.build()
Builds the container page bean.static CmsContainerPageBean
CmsDetailOnlyContainerUtil.getDetailOnlyPage
(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath) Returns the detail only container page bean ornull
if none available.static CmsContainerPageBean
CmsDetailOnlyContainerUtil.getDetailOnlyPage
(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath, boolean lookupContextFirst) Returns the detail only container page bean ornull
if none available.CmsModelGroupHelper.prepareforModelGroupContent
(Map<String, CmsContainerElementBean> elements, List<String> foundGroups, CmsContainerPageBean page, boolean alwaysCopy, Locale locale, String createContextPath) Adds the model group elements to the page.CmsModelGroupHelper.readModelGroups
(CmsContainerPageBean page) Reads the present model groups and merges their containers into the page.CmsModelGroupHelper.removeModelGroupContainers
(CmsContainerPageBean page) Removes the model group containers.CmsModelGroupHelper.saveModelGroups
(CmsContainerPageBean page, CmsResource pageResource) Saves the model groups of the given container page.Modifier and TypeMethodDescriptionstatic String
CmsContainerpageService.getSerializedElementInfo
(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsContainerElementBean elementBean, CmsContainerPageBean page) Returns the serialized element data.CmsModelGroupHelper.prepareforModelGroupContent
(Map<String, CmsContainerElementBean> elements, List<String> foundGroups, CmsContainerPageBean page, boolean alwaysCopy, Locale locale, String createContextPath) Adds the model group elements to the page.CmsModelGroupHelper.readModelGroups
(CmsContainerPageBean page) Reads the present model groups and merges their containers into the page.CmsModelGroupHelper.removeModelGroupContainers
(CmsContainerPageBean page) Removes the model group containers.static CmsXmlContainerPage
CmsDetailOnlyContainerUtil.saveDetailOnlyPage
(CmsObject cms, CmsResource content, String locale, CmsContainerPageBean page) Saves a detail-only page for a content.CmsModelGroupHelper.saveModelGroups
(CmsContainerPageBean page, CmsResource pageResource) Saves the model groups of the given container page.ModifierConstructorDescriptionCmsElementUtil
(CmsObject cms, String currentPageUri, CmsContainerPageBean containerPage, CmsUUID detailContentId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean isDragMode, Locale locale) Creates a new instance. -
Uses of CmsContainerPageBean in org.opencms.jsp
Modifier and TypeMethodDescriptionprotected void
CmsJspTagHeadIncludes.collectHeadIncludesForContainerElement
(CmsObject cms, javax.servlet.ServletRequest req, CmsJspStandardContextBean standardContext, CmsContainerPageBean containerPage, String includeType, Set<String> headincludes, Map<String, String> inline) Collects the head includes for a given container element.protected void
CmsJspTagContainer.printElementWrapperTagStart
(CmsObject cms, CmsContainerElementBean elementBean, CmsContainerPageBean page, boolean isGroupContainer) Prints the opening element wrapper tag for the container page editor if we are in Offline mode. -
Uses of CmsContainerPageBean in org.opencms.jsp.util
Modifier and TypeFieldDescriptionprotected CmsContainerPageBean
CmsJspContentAttachmentsBean.m_page
The container page bean.Modifier and TypeMethodDescriptionCmsJspStandardContextBean.getDetailOnlyPage()
Returns the detail only page.protected CmsContainerPageBean
CmsJspContentAttachmentsBean.getPage()
Gets the container page bean for the detail-only page.CmsJspStandardContextBean.getPage()
Returns the currently displayed container page.Returns the container page bean for the give page and locale.Modifier and TypeMethodDescriptionvoid
CmsJspStandardContextBean.setDetailOnlyPage
(CmsContainerPageBean detailOnlyPage) Sets the detail only page.void
CmsJspStandardContextBean.setPage
(CmsContainerPageBean page) Sets the currently displayed container page.ModifierConstructorDescriptionCreates a new instance. -
Uses of CmsContainerPageBean in org.opencms.xml.containerpage
Modifier and TypeMethodDescriptionprotected CmsContainerPageBean
CmsXmlContainerPage.cleanupContainersContainers
(CmsObject cms, CmsContainerPageBean cntPage) Removes all empty containers and merges the containers of the current document that are not used in the given container page with it.CmsXmlContainerPage.getContainerPage
(CmsObject cms) Gets the container page content as a bean.protected CmsContainerPageBean
CmsXmlContainerPage.removeEmptyContainers
(CmsContainerPageBean cntPage) Removes all empty containers to clean up container page XML.Modifier and TypeMethodDescriptionprotected CmsContainerPageBean
CmsXmlContainerPage.cleanupContainersContainers
(CmsObject cms, CmsContainerPageBean cntPage) Removes all empty containers and merges the containers of the current document that are not used in the given container page with it.byte[]
CmsXmlContainerPage.createContainerPageXml
(CmsObject cms, CmsContainerPageBean cntPage) Saves a container page bean to the in-memory XML structure and returns the changed content.protected CmsContainerPageBean
CmsXmlContainerPage.removeEmptyContainers
(CmsContainerPageBean cntPage) Removes all empty containers to clean up container page XML.void
CmsXmlContainerPage.save
(CmsObject cms, CmsContainerPageBean cntPage) Saves given container page in the current locale, and not only in memory but also to VFS.void
CmsXmlContainerPage.save
(CmsObject cms, CmsContainerPageBean cntPage, boolean ifChangedOnly) Saves given container page in the current locale, and not only in memory but also to VFS.protected void
CmsXmlContainerPage.saveContainerPage
(CmsObject cms, org.dom4j.Element parent, CmsContainerPageBean cntPage) Adds the given container page to the given element.void
CmsXmlContainerPage.writeContainerPage
(CmsObject cms, CmsContainerPageBean cntPage) Saves a container page in in-memory XML structure. -
Uses of CmsContainerPageBean in org.opencms.xml.containerpage.mutable
Modifier and TypeMethodDescriptionCmsMutableContainerPage.toImmutable()
Converts this object to a CmsContainerPageBean.Modifier and TypeMethodDescriptionstatic CmsMutableContainerPage
CmsMutableContainerPage.fromImmutable
(CmsContainerPageBean page) Converts a CmsContainerPageBean to an instance of this class. -
Uses of CmsContainerPageBean in org.opencms.xml.templatemapper
Modifier and TypeMethodDescriptionCmsTemplateMapper.transformContainerpageBean
(CmsObject cms, CmsContainerPageBean input, String rootPath) Transforms a container page bean.Modifier and TypeMethodDescriptionCmsTemplateMapper.transformContainerpageBean
(CmsObject cms, CmsContainerPageBean input, String rootPath) Transforms a container page bean. -
Uses of CmsContainerPageBean in org.opencms.xml.xml2json.renderer
Modifier and TypeMethodDescriptionCmsJsonRendererContainerPage.buildTree
(CmsContainerPageBean page, String rootPath) Builds a tree from the given container page bean.