Uses of Class
org.opencms.xml.containerpage.CmsContainerElementBean
Package
Description
Contains the ade configuration classes.
Contains the container page editor service classes.
Contains classes used for reading and caching inheritance groups.
Tools for i18n.
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.
Used to control the generation of the HTML for the "direct edit" buttons.
Contains functions for the ADE main pages, commonly called "Container Pages" in OpenCms.
-
Uses of CmsContainerElementBean in org.opencms.ade.configuration
Modifier and TypeMethodDescriptionprotected CmsContainerElementBean
CmsADEManager.elementFromJson
(JSONObject data) Creates an element from its serialized data.CmsADEManager.getCurrentElement
(javax.servlet.ServletRequest req) Reads the current element bean from the request.Modifier and TypeMethodDescriptionCmsADEManager.getFavoriteList
(CmsObject cms) Returns the favorite list, or creates it if not available.CmsADEManager.getRecentList
(CmsObject cms) Returns the favorite list, or creates it if not available.Modifier and TypeMethodDescriptionprotected JSONObject
CmsADEManager.elementToJson
(CmsContainerElementBean element, Set<String> excludeSettings) Converts the given element to JSON.CmsFormatterUtils.getAllFormatterKeys
(CmsADEConfigData configData, CmsContainerElementBean element) Gets the set of all formatter keys from the settings.static String
CmsFormatterUtils.getFormatterKey
(String containerName, CmsContainerElementBean element) Gets the formatter key for the given container name from an element's settings.Modifier and TypeMethodDescriptionvoid
CmsADEManager.saveFavoriteList
(CmsObject cms, List<CmsContainerElementBean> favoriteList) Saves the favorite list, user based.void
CmsADEManager.saveInheritedContainer
(CmsObject cms, String sitePath, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.void
CmsADEManager.saveInheritedContainer
(CmsObject cms, CmsResource pageResource, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.void
CmsADEManager.saveRecentList
(CmsObject cms, List<CmsContainerElementBean> recentList) Saves the favorite list, user based. -
Uses of CmsContainerElementBean in org.opencms.ade.containerpage
Modifier and TypeMethodDescriptionCmsContainerpageService.getCachedElement
(String clientId, String pageRootPath) Reads the cached element-bean for the given client-side-id from cache.Modifier and TypeMethodDescriptionCmsElementUtil.getElementData
(CmsResource page, CmsContainerElementBean element, Collection<CmsContainer> containers) Returns the data for an element.CmsElementUtil.getElementSettingsConfig
(CmsResource page, CmsContainerElementBean element, String containerId, Collection<CmsContainer> containers) Returns the formatter and settings config data for an element.static I_CmsFormatterBean
CmsElementUtil.getFormatterForContainer
(CmsObject cms, CmsContainerElementBean element, CmsContainer container, CmsADEConfigData config, CmsADESessionCache cache) Returns the formatter bean for the given element and container.static String
CmsContainerpageService.getSerializedElementInfo
(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsContainerElementBean elementBean, CmsContainerPageBean page) Returns the serialized element data.CmsElementUtil.setElementInfo
(CmsContainerElementBean elementBean, CmsContainerElement result) Sets the data to the given container element.Modifier and TypeMethodDescriptionstatic CmsContainerBean
CmsElementUtil.clientToServerContainer
(CmsContainer container, List<CmsContainerElementBean> elements) Converts a client container bean to a server container bean.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. -
Uses of CmsContainerElementBean in org.opencms.ade.containerpage.inherited
Modifier and TypeMethodDescriptionCmsInheritedContainerState.getElements
(boolean includeHidden) Gets a list of container element beans which represent the state of the inherited container.CmsContainerConfiguration.getNewElements()
Gets the map of new elements.CmsContainerConfiguration.getNewElementsInOrder()
Gets the new elements in the order in which they appear in the 'ordering' list.Modifier and TypeMethodDescriptionprotected CmsContainerConfiguration
CmsContainerConfigurationWriter.createConfigurationBean
(boolean newOrdering, List<CmsContainerElementBean> elements, Set<String> parentKeys) Converts a list of container elements into a bean which should be saved to the inherited container configuration.void
CmsContainerConfigurationWriter.save
(CmsObject cms, String name, boolean newOrdering, CmsResource pageResource, List<CmsContainerElementBean> elements) Saves a list of container element beans to a file in the VFS. -
Uses of CmsContainerElementBean in org.opencms.i18n.tools
Modifier and TypeMethodDescriptionCmsContainerPageCopier.replaceContainerElement
(CmsResource targetPage, CmsContainerElementBean originalElement) Produces the replacement for a container page element to use in a copy of an existing container page.Modifier and TypeMethodDescriptionCmsContainerPageCopier.replaceContainerElement
(CmsResource targetPage, CmsContainerElementBean originalElement) Produces the replacement for a container page element to use in a copy of an existing container page. -
Uses of CmsContainerElementBean in org.opencms.jsp
Modifier and TypeMethodDescriptionstatic List<CmsContainerElementBean>
CmsJspTagContainer.getGroupContainerElements
(CmsObject cms, CmsContainerElementBean element, javax.servlet.ServletRequest req, String containerType) Returns the element group elements.static List<CmsContainerElementBean>
CmsJspTagContainer.getInheritedContainerElements
(CmsObject cms, CmsContainerElementBean element) Reads elements from an inherited container.Modifier and TypeMethodDescriptionstatic void
CmsJspTagDisplay.displayAction
(CmsContainerElementBean element, I_CmsFormatterBean formatter, boolean cacheable, boolean editable, boolean canCreate, boolean canDelete, String creationSiteMap, String postCreateHandler, String uploadFolder, javax.servlet.jsp.PageContext context, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) Includes the formatter rendering the given element.static void
CmsJspTagDisplay.displayAction
(CmsContainerElementBean element, I_CmsFormatterBean formatter, javax.servlet.jsp.PageContext context, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) Includes the formatter rendering the given element.static I_CmsFormatterBean
CmsJspTagContainer.ensureValidFormatterSettings
(CmsObject cms, CmsContainerElementBean element, CmsADEConfigData adeConfig, String containerName, String containerType, int containerWidth) Ensures the appropriate formatter configuration ID is set in the element settings.static I_CmsFormatterBean
CmsJspTagContainer.getFormatterConfigurationForElement
(CmsObject cms, CmsContainerElementBean element, CmsADEConfigData adeConfig, String containerName, String containerType, int containerWidth) Returns the formatter configuration for the given element.static List<CmsContainerElementBean>
CmsJspTagContainer.getGroupContainerElements
(CmsObject cms, CmsContainerElementBean element, javax.servlet.ServletRequest req, String containerType) Returns the element group elements.static List<CmsContainerElementBean>
CmsJspTagContainer.getInheritedContainerElements
(CmsObject cms, CmsContainerElementBean element) Reads elements from an inherited container.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 CmsContainerElementBean in org.opencms.jsp.util
Modifier and TypeClassDescriptionclass
Container element wrapper to add some API methods.Modifier and TypeMethodDescriptionCmsJspStandardContextBean.CmsContainerElementWrapper.clone()
CmsJspStandardContextBean.getParentElement()
Returns the parent element to the current element if available.protected CmsContainerElementBean
CmsJspStandardContextBean.getParentElement
(CmsContainerElementBean element) Returns the parent element if available.Modifier and TypeMethodDescriptionCmsJspContentAttachmentsBean.getByContainer()
Gets lazy map that returns lists of element beans for the container whose name is given as a key.CmsJspContentAttachmentsBean.getByType()
Gets lazy map that maps type names to lists of container elements of that type.Modifier and TypeMethodDescriptionprotected I_CmsFormatterBean
CmsJspStandardContextBean.getElementFormatter
(CmsContainerElementBean element) Returns the formatter configuration to the given element.protected CmsContainerElementBean
CmsJspStandardContextBean.getParentElement
(CmsContainerElementBean element) Returns the parent element if available.void
CmsJspStandardContextBean.setElement
(CmsContainerElementBean element) Sets the currently rendered element.ModifierConstructorDescriptionprotected
Constructor. -
Uses of CmsContainerElementBean in org.opencms.workplace.editors.directedit
Modifier and TypeMethodDescriptionCmsDirectEditParams.getContainerElement()
Gets the container element (used for display formatters).Modifier and TypeMethodDescriptionCmsDateSeriesEditHandler.getDeleteOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams) I_CmsEditHandler.getDeleteOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams) Returns a map of delete options.CmsDateSeriesEditHandler.getEditOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams, boolean isListElement) I_CmsEditHandler.getEditOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams, boolean isListElement) Returns a map of edit options.CmsDateSeriesEditHandler.getNewOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParam) I_CmsEditHandler.getNewOptions
(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParam) Gets the options for the 'New' (plus) operation in the page editor.void
CmsDateSeriesEditHandler.handleDelete
(CmsObject cms, CmsContainerElementBean elementBean, String deleteOption, CmsUUID pageContextId, Map<String, String[]> requestParams) void
I_CmsEditHandler.handleDelete
(CmsObject cms, CmsContainerElementBean elementBean, String deleteOption, CmsUUID pageContextId, Map<String, String[]> requestParams) Executes the actual delete.CmsDateSeriesEditHandler.handleNew
(CmsObject cms, String newLink, Locale locale, String referenceSitePath, String modelFileSitePath, String postCreateHandler, CmsContainerElementBean element, CmsUUID pageId, Map<String, String[]> requestParams, String choice) I_CmsEditHandler.handleNew
(CmsObject cms, String newLink, Locale locale, String referenceSitePath, String modelFileSitePath, String postCreateHandler, CmsContainerElementBean element, CmsUUID pageId, Map<String, String[]> requestParams, String choice) Creates a new resource to edit.CmsDateSeriesEditHandler.prepareForEdit
(CmsObject cms, CmsContainerElementBean elementBean, String editOption, CmsUUID pageContextId, Map<String, String[]> requestParams) I_CmsEditHandler.prepareForEdit
(CmsObject cms, CmsContainerElementBean elementBean, String editOption, CmsUUID pageContextId, Map<String, String[]> requestParams) Prepares the resource to be edited.void
CmsDirectEditParams.setContainerElement
(CmsContainerElementBean element) Sets the container element bean. -
Uses of CmsContainerElementBean in org.opencms.xml.containerpage
Modifier and TypeMethodDescriptionCmsContainerElementBean.clone()
static CmsContainerElementBean
CmsContainerElementBean.cloneWithFormatter
(CmsContainerElementBean source, CmsUUID formatterId) Clones the given element bean with a different formatter.static CmsContainerElementBean
CmsContainerElementBean.cloneWithSettings
(CmsContainerElementBean source, Map<String, String> settings) Clones the given element bean with a different set of settings.static CmsContainerElementBean
CmsContainerElementBean.createElementForResourceType
(CmsObject cms, I_CmsResourceType resourceType, String targetFolder, Map<String, String> individualSettings, boolean isCopyModels, Locale locale) Creates an element bean for the given resource type.CmsADESessionCache.getCacheContainerElement
(String key) Returns the cached container element under the given key.Modifier and TypeMethodDescriptionCmsContainerBean.getElements()
Returns the elements in this container.CmsContainerPageBean.getElements()
Returns the elements of all containers in this page.CmsGroupContainerBean.getElements()
Returns the elements.protected static List<CmsContainerElementBean>
CmsXmlGroupContainerHandler.loadGroupContainerElements
(CmsObject cms, CmsResource resource) Helper method to load and prepare the elements of a group container.static List<CmsContainerElementBean>
CmsXmlInheritGroupContainerHandler.loadInheritContainerElements
(CmsObject cms, CmsResource resource) Returns the elements of the given inheritance group for the request context URI.Modifier and TypeMethodDescriptionstatic CmsContainerElementBean
CmsContainerElementBean.cloneWithFormatter
(CmsContainerElementBean source, CmsUUID formatterId) Clones the given element bean with a different formatter.static CmsContainerElementBean
CmsContainerElementBean.cloneWithSettings
(CmsContainerElementBean source, Map<String, String> settings) Clones the given element bean with a different set of settings.void
CmsADESessionCache.setCacheContainerElement
(String key, CmsContainerElementBean containerElement) Caches the given container element under the given key.Modifier and TypeMethodDescriptionCmsContainerBean.copyWithNewElements
(List<CmsContainerElementBean> elements) Creates a copy of this bean, but with the element list replaced with something else.ModifierConstructorDescriptionCmsContainerBean
(String name, String type, String parentInstanceId, boolean isRootContainer, int maxElements, List<CmsContainerElementBean> elements) Creates a new container bean.CmsContainerBean
(String name, String type, String parentInstanceId, boolean isRootContainer, List<CmsContainerElementBean> elements) Creates a new container bean with an unlimited number of elements.CmsGroupContainerBean
(String title, String description, List<CmsContainerElementBean> elements, Set<String> types) Creates a new group container bean. -
Uses of CmsContainerElementBean in org.opencms.xml.containerpage.mutable
Modifier and TypeMethodDescriptionCmsMutableContainer.elements()
Gets the mutable list of container elements.Modifier and TypeMethodDescriptionboolean
CmsContainerPageWrapper.addElementToContainer
(String containerName, CmsContainerElementBean element) Adds an element to the given container (the first container with the given container suffix is used).ModifierConstructorDescriptionCmsMutableContainer
(String name, String type, String parentInstanceId, boolean isRootContainer, List<CmsContainerElementBean> elements) Creates a new instance. -
Uses of CmsContainerElementBean in org.opencms.xml.templatemapper
Modifier and TypeMethodDescriptionprotected CmsContainerElementBean
CmsTemplateMapper.transformContainerElement
(CmsObject cms, CmsTemplateMapperConfiguration config, CmsContainerElementBean element) Helper method to transform a single container element.CmsTemplateMapper.transformDetailElement
(CmsObject cms, CmsContainerElementBean input, String rootPath) Transforms a container element bean used for detail elements.Modifier and TypeMethodDescriptionprotected CmsContainerElementBean
CmsTemplateMapper.transformContainerElement
(CmsObject cms, CmsTemplateMapperConfiguration config, CmsContainerElementBean element) Helper method to transform a single container element.CmsTemplateMapper.transformDetailElement
(CmsObject cms, CmsContainerElementBean input, String rootPath) Transforms a container element bean used for detail elements. -
Uses of CmsContainerElementBean in org.opencms.xml.xml2json.renderer
Modifier and TypeMethodDescriptionCmsJsonRendererContainerPage.ElementNode.getElement()
Gets the container element bean which this node is wrapping.ModifierConstructorDescriptionElementNode
(CmsContainerElementBean elementBean, CmsJsonRendererContainerPage.ContainerNode parentContainerNode) Creates a new element node.