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

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.JSONNodePropertiesController
All Implemented Interfaces:
PragmatachController

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

Author:
tome

Field Summary
 
Fields inherited from class com.khubla.pragmatach.plugin.jcr.JCRController
jcrSessionFactory
 
Constructor Summary
JSONNodePropertiesController()
           
 
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

JSONNodePropertiesController

public JSONNodePropertiesController()
Method Detail

render

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

render

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


Copyright © 2014 khubla.com. All rights reserved.