thinkmap.server.actions
Class ActionParameter

java.lang.Object
  extended by thinkmap.server.actions.ActionParameter
All Implemented Interfaces:
JSONSerializable

public class ActionParameter
extends Object
implements JSONSerializable

Version:
$Revision: 1.1 $

Field Summary
protected  String id
           
protected  String name
           
protected  boolean passThru
           
protected  boolean required
           
 
Constructor Summary
ActionParameter(String id, String name)
           
ActionParameter(String id, String name, boolean required, boolean passThru)
           
 
Method Summary
 String getId()
           
 String getName()
           
 boolean isPassThru()
           
 boolean isRequired()
           
 boolean validate(HttpServletRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

id

protected String id

required

protected boolean required

passThru

protected boolean passThru
Constructor Detail

ActionParameter

public ActionParameter(String id,
                       String name)

ActionParameter

public ActionParameter(String id,
                       String name,
                       boolean required,
                       boolean passThru)
Method Detail

validate

public boolean validate(HttpServletRequest req)

getId

public String getId()
Returns:
Returns the id.

getName

public String getName()
Returns:
Returns the name.

isPassThru

public boolean isPassThru()
Returns:
Returns the passThru.

isRequired

public boolean isRequired()
Returns:
Returns the required.


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.