Uses of Interface
org.craftercms.engine.model.SiteItem
Package
Description
-
Uses of SiteItem in org.craftercms.engine.freemarker
Modifier and TypeMethodDescriptionprotected SiteItem
RenderComponentDirective.getComponent
(String componentPath, freemarker.core.Environment env) protected SiteItem
RenderComponentDirective.getComponentFromNode
(freemarker.template.TemplateModel parentParam, freemarker.template.TemplateModel componentParam, freemarker.core.Environment env) protected SiteItem
RenderComponentDirective.getComponentFromPath
(freemarker.template.TemplateModel componentPathParam, freemarker.core.Environment env) protected SiteItem
ExecuteControllerDirective.getContentModel
(freemarker.core.Environment env) Modifier 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 String
RenderComponentDirective.getComponentTemplateName
(SiteItem component, freemarker.core.Environment env) protected freemarker.template.SimpleHash
RenderComponentDirective.getFullModel
(SiteItem component, Map<String, Object> templateModel, Map<String, Object> additionalModel) protected freemarker.template.Template
RenderComponentDirective.getTemplate
(SiteItem component, freemarker.core.Environment env) -
Uses of SiteItem in org.craftercms.engine.model
Modifier and TypeClassDescriptionclass
Base implementation ofSiteItem
that handles all XML related operationsclass
Basic adapter to aItem
, enhanced with methods that can be easily invoked in template engines like Freemarker.class
Implementation ofSiteItem
for embedded site itemsModifier and TypeFieldDescriptionprotected SiteItem
EmbeddedSiteItem.parentItem
The parent of the embedded componentModifier and TypeFieldDescriptionDefaultSiteItem.childItems
protected Comparator<SiteItem>
DefaultSiteItem.sortComparator
Modifier 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) Modifier 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) Modifier 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) ModifierConstructorDescriptionEmbeddedSiteItem
(SiteItem parentItem, org.dom4j.Element rootElement, org.craftercms.commons.converters.Converter<org.dom4j.Element, Object> modelFieldConverter) ModifierConstructorDescriptionDefaultSiteItem
(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
-
Uses of SiteItem in org.craftercms.engine.scripting
-
Uses of SiteItem in org.craftercms.engine.scripting.impl
-
Uses of SiteItem in org.craftercms.engine.security
Modifier and TypeMethodDescriptionvoid
CrafterPageAccessManager.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
Modifier 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.Modifier 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
Modifier and TypeFieldDescriptionprotected Comparator<SiteItem>
SiteItemServiceImpl.sortComparator
Modifier and TypeMethodDescriptionprotected SiteItem
SiteItemServiceImpl.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) Modifier and TypeMethodDescriptionSiteItemServiceImpl.getSiteItem
(SiteItem parent, org.dom4j.Element element) Modifier and TypeMethodDescriptionvoid
SiteItemServiceImpl.setSortComparator
(Comparator<SiteItem> sortComparator) -
Uses of SiteItem in org.craftercms.engine.util
Modifier and TypeMethodDescriptionstatic void
GroovyScriptUtils.addSiteItemScriptVariables
(Map<String, Object> variables, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, SiteItem item, Object templateModel) -
Uses of SiteItem in org.craftercms.engine.view
Modifier and TypeMethodDescriptionprotected void
CrafterPageViewResolver.loadScripts
(ScriptFactory scriptFactory, SiteItem page, CrafterPageView view) void