Uses of Interface
org.craftercms.engine.model.SiteItem
Packages that use SiteItem
Package
Description
-
Uses of SiteItem in org.craftercms.engine.freemarker
Methods in org.craftercms.engine.freemarker that return SiteItemModifier and TypeMethodDescriptionprotected SiteItemRenderComponentDirective.getComponent(String componentPath, freemarker.core.Environment env) protected SiteItemRenderComponentDirective.getComponentFromNode(freemarker.template.TemplateModel parentParam, freemarker.template.TemplateModel componentParam, freemarker.core.Environment env) protected SiteItemRenderComponentDirective.getComponentFromPath(freemarker.template.TemplateModel componentPathParam, freemarker.core.Environment env) protected SiteItemExecuteControllerDirective.getContentModel(freemarker.core.Environment env) Methods in org.craftercms.engine.freemarker with parameters of type SiteItemModifier and TypeMethodDescriptionRenderComponentDirective.createScriptVariables(SiteItem component, Map<String, Object> templateModel, Map<String, Object> additionalModel) RenderComponentDirective.executeScripts(SiteItem component, Map<String, Object> additionalModel, freemarker.core.Environment env) protected StringRenderComponentDirective.getComponentTemplateName(SiteItem component, freemarker.core.Environment env) protected freemarker.template.SimpleHashRenderComponentDirective.getFullModel(SiteItem component, Map<String, Object> templateModel, Map<String, Object> additionalModel) protected freemarker.template.TemplateRenderComponentDirective.getTemplate(SiteItem component, freemarker.core.Environment env) -
Uses of SiteItem in org.craftercms.engine.model
Classes in org.craftercms.engine.model that implement SiteItemModifier and TypeClassDescriptionclassBase implementation ofSiteItemthat handles all XML related operationsclassBasic adapter to aItem, enhanced with methods that can be easily invoked in template engines like Freemarker.classImplementation ofSiteItemfor embedded site itemsFields in org.craftercms.engine.model declared as SiteItemModifier and TypeFieldDescriptionprotected SiteItemEmbeddedSiteItem.parentItemThe parent of the embedded componentFields in org.craftercms.engine.model with type parameters of type SiteItemModifier and TypeFieldDescriptionDefaultSiteItem.childItemsprotected Comparator<SiteItem> DefaultSiteItem.sortComparatorMethods in org.craftercms.engine.model that return SiteItemModifier and TypeMethodDescriptionDefaultSiteItem.createItemWrapper(org.craftercms.core.service.Item item) EmbeddedSiteItem.createItemWrapper(org.craftercms.core.service.Item item) SiteItem.createItemWrapper(org.craftercms.core.service.Item item) DefaultSiteItem.getChildItem(String storeName) EmbeddedSiteItem.getChildItem(String storeName) SiteItem.getChildItem(String storeName) Methods in org.craftercms.engine.model that return types with arguments of type SiteItemModifier and TypeMethodDescriptionDefaultSiteItem.getChildItems()EmbeddedSiteItem.getChildItems()SiteItem.getChildItems()DefaultSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) EmbeddedSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) SiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) Method parameters in org.craftercms.engine.model with type arguments of type SiteItemModifier and TypeMethodDescriptionDefaultSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) DefaultSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) EmbeddedSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) EmbeddedSiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) SiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) SiteItem.sortItems(List<SiteItem> items, Comparator<SiteItem> comparator) Constructors in org.craftercms.engine.model with parameters of type SiteItemModifierConstructorDescriptionEmbeddedSiteItem(SiteItem parentItem, org.dom4j.Element rootElement, org.craftercms.commons.converters.Converter<org.dom4j.Element, Object> modelFieldConverter) Constructor parameters in org.craftercms.engine.model with type arguments of type SiteItemModifierConstructorDescriptionDefaultSiteItem(org.craftercms.core.service.Item item, org.craftercms.commons.converters.Converter<org.dom4j.Element, Object> modelFieldConverter, Comparator<SiteItem> sortComparator) -
Uses of SiteItem in org.craftercms.engine.model.sorting
Methods in org.craftercms.engine.model.sorting with parameters of type SiteItem -
Uses of SiteItem in org.craftercms.engine.scripting
Methods in org.craftercms.engine.scripting with parameters of type SiteItem -
Uses of SiteItem in org.craftercms.engine.scripting.impl
Methods in org.craftercms.engine.scripting.impl with parameters of type SiteItem -
Uses of SiteItem in org.craftercms.engine.security
Methods in org.craftercms.engine.security with parameters of type SiteItemModifier and TypeMethodDescriptionvoidCrafterPageAccessManager.checkAccess(SiteItem page) Checks if the user has sufficient rights to access the specified page: If the page doesn't contain any required role, no authentication is needed. If the page has the role "Anonymous", no authentication is needed. If the page has the role "Authenticated", just authentication is needed. If the page has any other the roles, the user needs to have any of those roles.CrafterPageAccessManager.getAuthorizedRolesForPage(SiteItem page) -
Uses of SiteItem in org.craftercms.engine.service
Methods in org.craftercms.engine.service that return SiteItemModifier and TypeMethodDescriptionSiteItemService.getSiteItem(String url) Returns the site item for the given URLSiteItemService.getSiteItem(String url, org.craftercms.core.processors.ItemProcessor processor) Returns the site item for the given URLSiteItemService.getSiteItem(String url, org.craftercms.core.processors.ItemProcessor processor, org.apache.commons.collections4.Predicate<org.craftercms.core.service.Item> predicate) Returns the site item for the given URLSiteItemService.getSiteItem(SiteItem parent, org.dom4j.Element element) Returns the site item for the given XML elementSiteItemService.getSiteTree(String url, int depth) Returns the site tree for the given URL.SiteItemService.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex) Deprecated.SiteItemService.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex, String[]... nodeXPathAndExpectedValuePairs) Deprecated.SiteItemService.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex, Map<String, String> nodeXPathAndExpectedValuePairs) Deprecated.SiteItemService.getSiteTree(String url, int depth, org.craftercms.core.service.ItemFilter filter, org.craftercms.core.processors.ItemProcessor processor) Returns the site tree for the given URL.Methods in org.craftercms.engine.service with parameters of type SiteItemModifier and TypeMethodDescriptionSiteItemService.getSiteItem(SiteItem parent, org.dom4j.Element element) Returns the site item for the given XML element -
Uses of SiteItem in org.craftercms.engine.service.impl
Fields in org.craftercms.engine.service.impl with type parameters of type SiteItemModifier and TypeFieldDescriptionprotected Comparator<SiteItem> SiteItemServiceImpl.sortComparatorMethods in org.craftercms.engine.service.impl that return SiteItemModifier and TypeMethodDescriptionprotected SiteItemSiteItemServiceImpl.createItemWrapper(org.craftercms.core.service.Item item) SiteItemServiceImpl.getSiteItem(String url) SiteItemServiceImpl.getSiteItem(String url, org.craftercms.core.processors.ItemProcessor processor) SiteItemServiceImpl.getSiteItem(String url, org.craftercms.core.processors.ItemProcessor processor, org.apache.commons.collections4.Predicate<org.craftercms.core.service.Item> predicate) SiteItemServiceImpl.getSiteItem(SiteItem parent, org.dom4j.Element element) SiteItemServiceImpl.getSiteTree(String url, int depth) SiteItemServiceImpl.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex) Deprecated.SiteItemServiceImpl.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex, String[]... nodeXPathAndExpectedValuePairs) Deprecated.SiteItemServiceImpl.getSiteTree(String url, int depth, String includeByNameRegex, String excludeByNameRegex, Map<String, String> nodeXPathAndExpectedValuePairs) Deprecated.SiteItemServiceImpl.getSiteTree(String url, int depth, org.craftercms.core.service.ItemFilter filter, org.craftercms.core.processors.ItemProcessor processor) Methods in org.craftercms.engine.service.impl with parameters of type SiteItemModifier and TypeMethodDescriptionSiteItemServiceImpl.getSiteItem(SiteItem parent, org.dom4j.Element element) Method parameters in org.craftercms.engine.service.impl with type arguments of type SiteItemModifier and TypeMethodDescriptionvoidSiteItemServiceImpl.setSortComparator(Comparator<SiteItem> sortComparator) -
Uses of SiteItem in org.craftercms.engine.util
Methods in org.craftercms.engine.util with parameters of type SiteItemModifier and TypeMethodDescriptionstatic voidGroovyScriptUtils.addSiteItemScriptVariables(Map<String, Object> variables, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, SiteItem item, Object templateModel) -
Uses of SiteItem in org.craftercms.engine.view
Fields in org.craftercms.engine.view declared as SiteItemMethods in org.craftercms.engine.view that return SiteItemMethods in org.craftercms.engine.view with parameters of type SiteItemModifier and TypeMethodDescriptionCrafterPageViewResolver.loadScripts(ScriptFactory scriptFactory, SiteItem page) Constructors in org.craftercms.engine.view with parameters of type SiteItemModifierConstructorDescriptionCrafterPageView(SiteItem page, Locale locale, String pageViewNameXPathQuery, String mimeTypeXPathQuery, List<Script> scripts, org.springframework.web.servlet.ViewResolver delegatedViewResolver) UserAgentAwareCrafterPageView(SiteItem page, Locale locale, String pageViewNameXPathQuery, String mimeTypeXPathQuery, List<Script> scripts, org.springframework.web.servlet.ViewResolver delegatedViewResolver, UserAgentTemplateDetector userAgentTemplateDetector)