net.jot.web.views
Class JOTLazyView

java.lang.Object
  extended by net.jot.web.ctrl.JOTController
      extended by net.jot.web.view.JOTView
          extended by net.jot.web.views.JOTLazyView

public class JOTLazyView
extends JOTView

Provides a plain, empty View. Not much use besides a temporary place holder.

Author:
thibautc

Field Summary
 
Fields inherited from class net.jot.web.ctrl.JOTController
filterChain, filterConfig, request, response, RESULT_COMPLETED, RESULT_FAILURE, RESULT_FORBIDDEN, RESULT_SUCCESS, RESULT_VALIDATION_FAILURE, session
 
Constructor Summary
JOTLazyView()
           
 
Method Summary
protected  void getViewData()
           
 void prepareViewData()
          Just override in subclass if you want to add more things to the view
 boolean validatePermissions()
          Implements this to check wether the user is allowed to use your controller.
 
Methods inherited from class net.jot.web.view.JOTView
addBlock, addForm, addTag, addVariable, getBlocks, getBuiltinTemplate, getForms, getTags, getVariables, isProvideRequestParameters, process, setBuiltinTemplate, setProvideRequestParameters
 
Methods inherited from class net.jot.web.ctrl.JOTController
getDataHolder, getForm, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOTLazyView

public JOTLazyView()
Method Detail

getViewData

protected void getViewData()
                    throws java.lang.Exception
Throws:
java.lang.Exception

prepareViewData

public void prepareViewData()
                     throws java.lang.Exception
Just override in subclass if you want to add more things to the view

Specified by:
prepareViewData in class JOTView
Throws:
java.lang.Exception

validatePermissions

public boolean validatePermissions()
Description copied from class: JOTController
Implements this to check wether the user is allowed to use your controller. This is the simplest way to secure the application. If this returns false, the controller won't be ran and a "RESULT_FORBIDDEN" will be sent. The user can then be sent to a 'forbidden' page.

Specified by:
validatePermissions in class JOTController
Returns: