Uses of Record Class
io.meeds.layout.model.SiteDescription
Packages that use SiteDescription
-
Uses of SiteDescription in io.meeds.layout.mcp
Methods in io.meeds.layout.mcp that return SiteDescriptionModifier and TypeMethodDescriptionLayoutMcpTool.createSite(String name, String label, String description, String template, String bannerUploadId, List<String> accessPermissions, String editPermission, Boolean displayed, String icon) Creates a portal site from a site template, as the sites administration does: the name is the site's key and URL segment and never changes, the label is what users see.Reads a site's properties and its layout: left and right sidebars, topbars and bottom bars with their options, styling and applications.LayoutMcpTool.setSiteLayout(Long siteId, SiteContainerDescription leftSidebar, SiteContainerDescription rightSidebar, List<SiteContainerDescription> topbars, List<SiteContainerDescription> bottomBars) Replaces the structure of the user's site draft: the sidebars, topbars and bottom bars given, with their options and styling, a sidebar with its applications and a topbar or a bottom bar with its columns, one application per column, as the site layout editor lays them out; a sidebar or a list omitted is absent from the draft, while an option, a styling block or a display left null on a kept element keeps what it holds.LayoutMcpTool.updateSite(Long siteId, String label, String description, List<String> accessPermissions, String editPermission, Boolean displayed, String icon, String bannerUploadId, Boolean removeBanner) Updates a site's label, description, icon, display in the sites menu, banner and permissions: an option omitted keeps its stored value. -
Uses of SiteDescription in io.meeds.layout.service
Methods in io.meeds.layout.service that return SiteDescriptionModifier and TypeMethodDescriptionLayoutDescriptionService.toSiteDescription(org.exoplatform.portal.config.model.PortalConfig site, org.exoplatform.portal.config.model.ModelObject layout, String label, String description, boolean draft) LayoutDescriptionService.toSiteDescription(org.exoplatform.portal.config.model.PortalConfig site, org.exoplatform.portal.config.model.ModelObject layout, String label, String description, org.exoplatform.portal.mop.SiteKey layoutSiteKey, boolean draft, String username)