org.qi4j.library.struts2.support.edit
Class ProvidesEditingOfMixin<T>

java.lang.Object
  extended by org.qi4j.library.struts2.support.ProvidesEntityOfMixin<T>
      extended by org.qi4j.library.struts2.support.edit.ProvidesEditingOfMixin<T>
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, ProvidesEditingOf<T>, HasInput, ProvidesEntityOf<T>, StrutsAction

public abstract class ProvidesEditingOfMixin<T>
extends ProvidesEntityOfMixin<T>
implements ProvidesEditingOf<T>


Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ProvidesEditingOfMixin()
           
 
Method Summary
 String input()
           
 void prepare()
           
 void prepareInput()
           
protected  Class<T> typeToLoad()
           
 
Methods inherited from class org.qi4j.library.struts2.support.ProvidesEntityOfMixin
getEntity, getId, loadEntity, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.library.struts2.support.ProvidesEntityOf
getEntity, getId, setId
 
Methods inherited from interface com.opensymphony.xwork2.Action
execute
 
Methods inherited from interface com.opensymphony.xwork2.Validateable
validate
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getFieldErrors, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 
Methods inherited from interface com.opensymphony.xwork2.TextProvider
getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasKey
 
Methods inherited from interface com.opensymphony.xwork2.LocaleProvider
getLocale
 

Constructor Detail

ProvidesEditingOfMixin

public ProvidesEditingOfMixin()
Method Detail

prepare

public void prepare()
             throws Exception
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Throws:
Exception

prepareInput

public void prepareInput()
                  throws Exception
Specified by:
prepareInput in interface ProvidesEditingOf<T>
Throws:
Exception

input

public String input()
Specified by:
input in interface HasInput

typeToLoad

protected Class<T> typeToLoad()
Overrides:
typeToLoad in class ProvidesEntityOfMixin<T>