com.khubla.pragmatach.examples.jcrexample.json
Class JSONNodeChildrenController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
          extended by com.khubla.pragmatach.plugin.jcr.JCRController
              extended by com.khubla.pragmatach.plugin.jcr.JCRJSONController
                  extended by com.khubla.pragmatach.examples.jcrexample.json.JSONNodeChildrenController
All Implemented Interfaces:
PragmatachController

@Controller(name="JSONNodeChildrenController")
public class JSONNodeChildrenController
extends JCRJSONController

Author:
tome

Field Summary
 
Fields inherited from class com.khubla.pragmatach.plugin.jcr.JCRController
jcrSessionFactory
 
Constructor Summary
JSONNodeChildrenController()
           
 
Method Summary
 Response render()
           
 Response render(String[] nodeName)
           
 
Methods inherited from class com.khubla.pragmatach.plugin.jcr.JCRJSONController
renderChildren, renderProperties
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
getTemplate, getTemplateContext, getTemplateName, url_for
 
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
 

Constructor Detail

JSONNodeChildrenController

public JSONNodeChildrenController()
Method Detail

render

@Route(uri="example/json/children/")
public Response render()
                throws PragmatachException
Throws:
PragmatachException

render

@Route(uri="example/json/children/*")
public Response render(String[] nodeName)
                throws PragmatachException
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.