org.qi4j.library.struts2.support.view
Class ProvidesViewOfMixin<T>

java.lang.Object
  extended by org.qi4j.library.struts2.support.ProvidesEntityOfMixin<T>
      extended by org.qi4j.library.struts2.support.view.ProvidesViewOfMixin<T>
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, ProvidesEntityOf<T>, StrutsAction, ProvidesViewOf<T>

public abstract class ProvidesViewOfMixin<T>
extends ProvidesEntityOfMixin<T>
implements ProvidesViewOf<T>


Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ProvidesViewOfMixin()
           
 
Method Summary
 String execute()
           
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.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

ProvidesViewOfMixin

public ProvidesViewOfMixin()
Method Detail

execute

public String execute()
Specified by:
execute in interface com.opensymphony.xwork2.Action

typeToLoad

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