FileDocCategorySizeDatePackage
SpringAction.javaAPI DocApache Struts 2.0.9 Apps1720Mon Jul 23 13:43:18 BST 2007org.apache.struts2.portlet.example.spring

SpringAction

public class SpringAction extends com.opensymphony.xwork2.ActionSupport

Fields Summary
private ThingManager
thingManager
private String
thing
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        if(StringUtils.isNotEmpty(thing)) {
            thingManager.addThing(thing);
        }
        return SUCCESS;
    
public java.lang.StringgetThing()

        return thing;
    
public java.util.ListgetThings()

        return thingManager.getThings();
    
public voidsetThing(java.lang.String thing)

        this.thing = thing;
    
public voidsetThingManager(ThingManager thingManager)


        
        this.thingManager = thingManager;