info.magnolia.module.templatingkit.templates.pages
Class STKPageModel<RD extends STKPage>
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RD>
info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel<RD>
info.magnolia.module.templatingkit.templates.pages.STKPageModel<RD>
- Type Parameters:
RD
- - an instance of STKPage
- All Implemented Interfaces:
- STKRenderingModel<RD>, info.magnolia.rendering.model.RenderingModel<RD>
- Direct Known Subclasses:
- GlossaryTemplateModel, RedirectTemplateModel
public class STKPageModel<RD extends STKPage>
- extends AbstractSTKTemplateModel<RD>
Base page model class of all pages providing page level functionality.
- Version:
- $Id$
- Author:
- cringele
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl |
content, contentMap, definition, parentModel |
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
SKIP_RENDERING |
Constructor Summary |
STKPageModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
|
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl |
execute, getContent, getDef, getDefinition, getNode, getParent, getRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.rendering.model.RenderingModel |
execute, getContent, getDefinition, getNode, getParent, getRoot |
LINK_PROP_NAME
protected static final String LINK_PROP_NAME
- See Also:
- Constant Field Values
LINK_TITLE_PROP_NAME
protected static final String LINK_TITLE_PROP_NAME
- See Also:
- Constant Field Values
STKPageModel
@Inject
public STKPageModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
getBodyClass
public String getBodyClass()
getNavigation
public SiteNavigationModel getNavigation()
getLogoImageLink
public String getLogoImageLink()
getPrintLogoImageLink
public String getPrintLogoImageLink()
resolveSectionPage
protected javax.jcr.Node resolveSectionPage()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getContentNavigation
public Collection<Link> getContentNavigation()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getCategories
public List<?> getCategories()
- just for ee users. FIXME: will it always be Nodes, so List would be returnable?
getCategoryLink
public String getCategoryLink(String categoryName)
- just for ee users.
getImageModel
public ImageModel<?> getImageModel()
- FIXME: Should be moved to into-area model.
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.