|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.struts2.showcase.action.AbstractCRUDAction
org.apache.struts2.showcase.action.SkillAction
public class SkillAction
SkillAction.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
SkillAction()
|
|
| Method Summary | |
|---|---|
Skill |
getCurrentSkill()
|
protected Dao |
getDao()
|
String |
getSkillName()
|
void |
prepare()
This method is called to allow the action to prepare itself. |
String |
save()
|
void |
setCurrentSkill(Skill currentSkill)
|
void |
setSkillName(String skillName)
|
| Methods inherited from class org.apache.struts2.showcase.action.AbstractCRUDAction |
|---|
delete, fetch, getAvailableItems, getToDelete, list, setToDelete |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, 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 |
| Constructor Detail |
|---|
public SkillAction()
| Method Detail |
|---|
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableException - thrown if a system level exception occurs.
public String save()
throws Exception
Exceptionpublic String getSkillName()
public void setSkillName(String skillName)
protected Dao getDao()
getDao in class AbstractCRUDActionpublic Skill getCurrentSkill()
public void setCurrentSkill(Skill currentSkill)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||