org.apache.struts2.showcase.action
Class SkillAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.apache.struts2.showcase.action.AbstractCRUDAction
org.apache.struts2.showcase.action.SkillAction
- All Implemented Interfaces:
- Action, LocaleProvider, Preparable, TextProvider, Validateable, ValidationAware, java.io.Serializable
public class SkillAction
- extends AbstractCRUDAction
- implements Preparable
SkillAction.
- See Also:
- Serialized Form
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
skillDao
protected SkillDao skillDao
SkillAction
public SkillAction()
getSkillName
public java.lang.String getSkillName()
setSkillName
public void setSkillName(java.lang.String skillName)
getDao
protected Dao getDao()
- Specified by:
getDao in class AbstractCRUDAction
setSkillDao
public void setSkillDao(SkillDao skillDao)
getCurrentSkill
public Skill getCurrentSkill()
setCurrentSkill
public void setCurrentSkill(Skill currentSkill)
prepare
public void prepare()
throws java.lang.Exception
- This method is called to allow the action to prepare itself.
- Specified by:
prepare in interface Preparable
- Throws:
java.lang.Exception - thrown if a system level exception occurs.
save
public java.lang.String save()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.