Class SkillAction
java.lang.Object
org.apache.struts2.ActionSupport
org.apache.struts2.showcase.action.AbstractCRUDAction
org.apache.struts2.showcase.action.SkillAction
- All Implemented Interfaces:
Serializable,Action,ValidationAware,LocaleProvider,Preparable,TextProvider,Validateable
SkillAction.
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts2.ActionSupport
container -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DaogetDao()voidprepare()This method is called to allow the action to prepare itself.save()voidsetCurrentSkill(Skill currentSkill) voidsetSkillName(String skillName) Methods inherited from class org.apache.struts2.showcase.action.AbstractCRUDAction
delete, fetch, getAvailableItems, getToDelete, list, setToDeleteMethods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
-
Constructor Details
-
SkillAction
public SkillAction()
-
-
Method Details
-
prepare
This method is called to allow the action to prepare itself.- Specified by:
preparein interfacePreparable- Throws:
Exception- thrown if a system level exception occurs.
-
save
- Throws:
Exception
-
getSkillName
-
setSkillName
-
getDao
- Specified by:
getDaoin classAbstractCRUDAction
-
getCurrentSkill
-
setCurrentSkill
-