|
||||||||||
| 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.EmployeeAction
public class EmployeeAction
JsfEmployeeAction.
| 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 | |
|---|---|
EmployeeAction()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
List |
getAvailableLevels()
|
String[] |
getAvailablePositions()
|
Employee |
getCurrentEmployee()
|
protected Dao |
getDao()
|
Long |
getEmpId()
|
List<String> |
getSelectedSkills()
|
void |
prepare()
This method is called to allow the action to prepare itself. |
String |
save()
|
void |
setCurrentEmployee(Employee currentEmployee)
|
void |
setEmpId(Long empId)
|
void |
setSelectedSkills(List<String> selectedSkills)
|
| 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, 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 EmployeeAction()
| Method Detail |
|---|
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException
public String save()
throws Exception
Exceptionpublic Long getEmpId()
public void setEmpId(Long empId)
public Employee getCurrentEmployee()
public void setCurrentEmployee(Employee currentEmployee)
public String[] getAvailablePositions()
public List getAvailableLevels()
public List<String> getSelectedSkills()
public void setSelectedSkills(List<String> selectedSkills)
protected Dao getDao()
getDao in class AbstractCRUDAction
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableException - thrown if a system level exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||