com.khubla.pragmatach.plugin.adminapp
Class ShowRoutesController

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.framework.controller.impl.FormPostBeanBoundController
              extended by com.khubla.pragmatach.plugin.freemarker.FreemarkerController
                  extended by com.khubla.pragmatach.plugin.adminapp.BaseAdminController
                      extended by com.khubla.pragmatach.plugin.adminapp.SecuredAdminController
                          extended by com.khubla.pragmatach.plugin.adminapp.ShowRoutesController
All Implemented Interfaces:
BeanBoundController, PragmatachController

@Controller(name="pragmatachShowRoutesController")
@View(view="pragmatach/admin/routes.html")
public class ShowRoutesController
extends SecuredAdminController

Author:
tome

Field Summary
 
Fields inherited from class com.khubla.pragmatach.plugin.adminapp.BaseAdminController
PASSWORD, USERID
 
Constructor Summary
ShowRoutesController()
           
 
Method Summary
 List<PragmatachRoute> getGETRoutes()
           
 List<PragmatachRoute> getPOSTRoutes()
           
 String getRouteParameters(PragmatachRoute pragmatachRoute)
           
 Response render()
          check security
 void setGETRoutes(List<PragmatachRoute> gETRoutes)
           
 void setPOSTRoutes(List<PragmatachRoute> pOSTRoutes)
           
 
Methods inherited from class com.khubla.pragmatach.plugin.adminapp.BaseAdminController
isLoggedIn, logout
 
Methods inherited from class com.khubla.pragmatach.plugin.freemarker.FreemarkerController
renderTemplate
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
getPostFieldValues, populateController
 
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
 
Methods inherited from interface com.khubla.pragmatach.framework.controller.PragmatachController
setPragmatachRoute, setRequest
 

Constructor Detail

ShowRoutesController

public ShowRoutesController()
Method Detail

getGETRoutes

public List<PragmatachRoute> getGETRoutes()

getPOSTRoutes

public List<PragmatachRoute> getPOSTRoutes()

getRouteParameters

public String getRouteParameters(PragmatachRoute pragmatachRoute)

render

@Route(uri="/pragmatach/admin/routes")
public Response render()
                throws PragmatachException
Description copied from class: SecuredAdminController
check security

Overrides:
render in class SecuredAdminController
Throws:
PragmatachException

setGETRoutes

public void setGETRoutes(List<PragmatachRoute> gETRoutes)

setPOSTRoutes

public void setPOSTRoutes(List<PragmatachRoute> pOSTRoutes)


Copyright © 2014 khubla.com. All rights reserved.