org.experlog.actions
Class CheckParams

java.lang.Object
  extended by org.experlog.actions.CheckParams
All Implemented Interfaces:
ESAction

public class CheckParams
extends java.lang.Object
implements ESAction

Check parameters Input parameters: Mandatory (a list of mandatory params) (MANDATORY) All (OPTIONAL): if true, the list of all missing params is returned (comma-separated). ErrorTemplate (OPTIONAL) Examples of templates: "Please fill in mandatory parameters." "Parameter $MissingField$ is missing." Output parameters upon success: Output parameters upon error: MissingField (the name of the 1st mandatory field that is missing) Message (the error message)


Constructor Summary
CheckParams()
           
 
Method Summary
 boolean processRequest(Client session, ESServletRequest req, DynHtml page, java.lang.Object info)
           
 boolean serverSide()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckParams

public CheckParams()
Method Detail

serverSide

public boolean serverSide()
Specified by:
serverSide in interface ESAction

processRequest

public boolean processRequest(Client session,
                              ESServletRequest req,
                              DynHtml page,
                              java.lang.Object info)
                       throws java.lang.Exception
Specified by:
processRequest in interface ESAction
Throws:
java.lang.Exception