| Modifier and Type | Method and Description |
|---|---|
protected SiteItem |
RenderComponentDirective.getComponent(String componentPath,
freemarker.core.Environment env) |
protected SiteItem |
RenderComponentDirective.getComponentFromNode(freemarker.template.TemplateModel componentParam,
freemarker.core.Environment env) |
protected SiteItem |
RenderComponentDirective.getComponentFromPath(freemarker.template.TemplateModel componentPathParam,
freemarker.core.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
RenderComponentDirective.createScriptVariables(SiteItem component,
Map<String,Object> model) |
protected Map<String,Object> |
RenderComponentDirective.executeScripts(SiteItem component,
freemarker.core.Environment env) |
protected freemarker.template.SimpleHash |
RenderComponentDirective.getComponentModel(SiteItem component,
Map<String,Object> scriptsModel) |
protected freemarker.template.Template |
RenderComponentDirective.getComponentTemplate(SiteItem component,
freemarker.core.Environment env) |
protected String |
RenderComponentDirective.getComponentTemplateName(SiteItem component,
freemarker.core.Environment env) |
| Modifier and Type | Field and Description |
|---|---|
protected List<SiteItem> |
SiteItem.childItems |
protected Comparator<SiteItem> |
SiteItem.sortComparator |
| Modifier and Type | Method and Description |
|---|---|
SiteItem |
SiteItem.getChildItem(String storeName) |
| Modifier and Type | Method and Description |
|---|---|
List<SiteItem> |
SiteItem.getChildItems() |
protected List<SiteItem> |
SiteItem.sortItems(List<SiteItem> items,
Comparator<SiteItem> comparator) |
| Modifier and Type | Method and Description |
|---|---|
protected List<SiteItem> |
SiteItem.sortItems(List<SiteItem> items,
Comparator<SiteItem> comparator) |
protected List<SiteItem> |
SiteItem.sortItems(List<SiteItem> items,
Comparator<SiteItem> comparator) |
| Constructor and Description |
|---|
SiteItem(org.craftercms.core.service.Item item,
Map<String,ModelValueConverter<?>> modelValueConverters,
Comparator<SiteItem> sortComparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
OrderDefaultComparator.compare(SiteItem siteItem1,
SiteItem siteItem2) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ScriptResolver.getScriptUrls(SiteItem item) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ScriptResolverImpl.getScriptUrls(SiteItem item) |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
protected List<String> |
CrafterPageAccessManager.getAuthorizedRolesForPage(SiteItem page) |
| Modifier and Type | Field and Description |
|---|---|
protected Comparator<SiteItem> |
SiteItemService.sortComparator |
| Modifier and Type | Method and Description |
|---|---|
SiteItem |
SiteItemService.getSiteItem(String url) |
SiteItem |
SiteItemService.getSiteTree(String url,
int depth) |
SiteItem |
SiteItemService.getSiteTree(String url,
int depth,
String includeByNameRegex,
String excludeByNameRegex) |
SiteItem |
SiteItemService.getSiteTree(String url,
int depth,
String includeByNameRegex,
String excludeByNameRegex,
String[]... nodeXPathAndExpectedValuePairs) |
| Modifier and Type | Method and Description |
|---|---|
void |
SiteItemService.setSortComparator(Comparator<SiteItem> sortComparator) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ScriptUtils.addCrafterVariables(Map<String,Object> variables,
SiteItem crafterModel) |
| Modifier and Type | Field and Description |
|---|---|
protected SiteItem |
CrafterPageView.page |
| Modifier and Type | Method and Description |
|---|---|
protected SiteItem |
CrafterPageViewResolver.getLocalizedPage(String baseUrl,
Locale locale) |
SiteItem |
CrafterPageView.getPage() |
protected SiteItem |
CrafterPageViewResolver.getPage(String url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CrafterPageViewResolver.loadScripts(SiteItem page,
CrafterPageView view) |
void |
CrafterPageView.setPage(SiteItem page) |
Copyright © 2014 CrafterCMS. All Rights Reserved.