org.apache.empire.struts2.websample.web.actions
Class EmployeeDetailAction

java.lang.Object
  extended by org.apache.empire.struts2.actionsupport.ActionBase
      extended by org.apache.empire.struts2.action.WebAction
          extended by org.apache.empire.struts2.websample.web.actiontypes.Action
              extended by org.apache.empire.struts2.websample.web.actiontypes.DetailAction
                  extended by org.apache.empire.struts2.websample.web.actions.EmployeeDetailAction
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.NoParameters, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, ActionAccessValidator, ActionErrorProvider, ActionItemProperty, Disposable, ExceptionAware, RequestParamProvider, SampleContext

public class EmployeeDetailAction
extends DetailAction
implements org.apache.struts2.interceptor.NoParameters


Field Summary
protected  RecordActionSupport recordSupport
          Action mappings
 
Fields inherited from class org.apache.empire.struts2.websample.web.actiontypes.DetailAction
INPUT, RETURN
 
Fields inherited from class org.apache.empire.struts2.websample.web.actiontypes.Action
log
 
Fields inherited from class org.apache.empire.struts2.action.WebAction
DEFAULT_ITEM_PROPERTY_NAME
 
Fields inherited from interface org.apache.empire.struts2.action.Disposable
EXITCODE_ERROR, EXITCODE_SUCCESS
 
Constructor Summary
EmployeeDetailAction()
           
 
Method Summary
 java.lang.String doCreate()
           
 java.lang.String doDelete()
           
 java.lang.String doLoad()
           
 java.lang.String doSave()
           
 EmployeeRecord getEmployee()
           
 
Methods inherited from class org.apache.empire.struts2.websample.web.actiontypes.DetailAction
doCancel
 
Methods inherited from class org.apache.empire.struts2.websample.web.actiontypes.Action
getApplication, getConnection, getDatabase, getLocale, getRequest, getSession, getUser, loginRequired
 
Methods inherited from class org.apache.empire.struts2.action.WebAction
addFieldError, addItemError, clearActionErrors, clearItem, dispose, getActionParam, getActionURL, getItem, getItemErrors, getItemKey, getItemNewFlag, getItemPropertyName, getLastActionError, getLastActionMessage, getListPageSize, getLocalizedErrorMessage, getRequestArrayParam, getRequestIntParam, getRequestParam, getRequestParameters, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, handleException, hasAccess, hasActionError, hasItem, hasKey, hasRequestParam, init, isNewItem, putRequestParam, setActionError, setActionError, setActionError, setActionError, setActionMessage, setItem
 
Methods inherited from class org.apache.empire.struts2.actionsupport.ActionBase
getActionBean, getActionBean, getActionBeanName, getActionObject, getActionObjectName, getRecordKeyExpr, getRecordKeyFromString, getRecordKeyString, getRecordKeyString, getRecordNewFlagFromString, putActionBean, putActionBean, putActionObject, removeActionBean, removeActionBean, removeActionObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordSupport

protected RecordActionSupport recordSupport
Action mappings

Constructor Detail

EmployeeDetailAction

public EmployeeDetailAction()
Method Detail

getEmployee

public EmployeeRecord getEmployee()

doCreate

public java.lang.String doCreate()
Specified by:
doCreate in class DetailAction

doLoad

public java.lang.String doLoad()
Specified by:
doLoad in class DetailAction

doSave

public java.lang.String doSave()
Specified by:
doSave in class DetailAction

doDelete

public java.lang.String doDelete()
Specified by:
doDelete in class DetailAction


Copyright © 2008-2009 Apache Software Foundation. All Rights Reserved.