org.apache.empire.struts2.actionsupport
Class ActionPropertySupport

java.lang.Object
  extended by org.apache.empire.struts2.actionsupport.ActionPropertySupport

public class ActionPropertySupport
extends Object


Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
ActionPropertySupport(ActionBase action, String propertyName, boolean persist)
           
 
Method Summary
 void clear()
           
 String getName()
           
 String getValue()
           
 boolean hasValue(boolean lookOnSession)
           
 boolean setFromRequest()
          Sets the property value from a request param.
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log
Constructor Detail

ActionPropertySupport

public ActionPropertySupport(ActionBase action,
                             String propertyName,
                             boolean persist)
Method Detail

getName

public String getName()

getValue

public String getValue()

setValue

public void setValue(String value)

setFromRequest

public boolean setFromRequest()
Sets the property value from a request param. The request must contain a property of that name.

Returns:
true if the param was supplied with the request or false otherwise

clear

public void clear()

hasValue

public boolean hasValue(boolean lookOnSession)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.