|
||||||||||
| 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 | |
|---|---|
java.lang.String |
execute()
|
java.util.List |
getAvailableLevels()
|
java.lang.String[] |
getAvailablePositions()
|
Employee |
getCurrentEmployee()
|
protected Dao |
getDao()
|
java.lang.Long |
getEmpId()
|
java.util.List |
getSelectedSkills()
|
void |
prepare()
This method is called to allow the action to prepare itself. |
java.lang.String |
save()
|
void |
setCurrentEmployee(Employee currentEmployee)
|
void |
setEmpId(java.lang.Long empId)
|
void |
setEmployeeDao(EmployeeDao employeeDao)
|
void |
setSelectedSkills(java.util.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, input, pause, setActionErrors, setActionMessages, 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 java.lang.Long getEmpId()
public void setEmpId(java.lang.Long empId)
public Employee getCurrentEmployee()
public void setCurrentEmployee(Employee currentEmployee)
public java.lang.String[] getAvailablePositions()
public java.util.List getAvailableLevels()
public java.util.List getSelectedSkills()
public void setSelectedSkills(java.util.List selectedSkills)
protected Dao getDao()
getDao in class AbstractCRUDActionpublic void setEmployeeDao(EmployeeDao employeeDao)
public void prepare()
throws java.lang.Exception
prepare in interface com.opensymphony.xwork2.Preparablejava.lang.Exception - thrown if a system level exception occurs.
public java.lang.String execute()
throws java.lang.Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportjava.lang.Exception
public java.lang.String save()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||