|
||||||||||
| 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 | |
|---|---|
protected EmployeeDao |
employeeDao
|
| 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 |
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 |
setEmployeeDao(EmployeeDao employeeDao)
|
void |
setSelectedSkills(List 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, 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 |
| Field Detail |
|---|
protected EmployeeDao employeeDao
| Constructor Detail |
|---|
public EmployeeAction()
| Method Detail |
|---|
public Long getEmpId()
public void setEmpId(Long empId)
public Employee getCurrentEmployee()
public void setCurrentEmployee(Employee currentEmployee)
public String[] getAvailablePositions()
public List getAvailableLevels()
public List getSelectedSkills()
public void setSelectedSkills(List selectedSkills)
protected Dao getDao()
getDao in class AbstractCRUDActionpublic void setEmployeeDao(EmployeeDao employeeDao)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableException - thrown if a system level exception occurs.
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException
public String save()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||