com.khubla.pragmatach.examples.jcrexample.html
Class HTMLNodeController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.examples.jcrexample.html.HTMLNodeController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="HTMLNodeChildrenController")
@View(view="jcrnode.html")
public class HTMLNodeController
- extends FreemarkerController
- Author:
- tome
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jcrSessionFactory
protected final JCRSessionFactory jcrSessionFactory
- JCRSessionFactory
HTMLNodeController
public HTMLNodeController()
getJcrPath
public String getJcrPath()
getNode
public javax.jcr.Node getNode()
getSubnodes
public Set<javax.jcr.Node> getSubnodes()
nodeProperties
public Set<javax.jcr.Property> nodeProperties(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
render
@Route(uri="example/html/")
public Response render()
throws PragmatachException
- Description copied from class:
FreemarkerController
- render
- Overrides:
render
in class FreemarkerController
- Throws:
PragmatachException
render
@Route(uri="example/html/*")
public Response render(String[] nodeName)
throws PragmatachException
- Throws:
PragmatachException
setJcrPath
public void setJcrPath(String jcrPath)
setNode
public void setNode(javax.jcr.Node node)
setSubnodes
public void setSubnodes(Set<javax.jcr.Node> subnodes)
Copyright © 2014 khubla.com. All rights reserved.