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

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.actions.EmployeeListAction
All Implemented Interfaces:
com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, ActionAccessValidator, ActionErrorProvider, ActionItemProperty, Disposable, ExceptionAware, RequestParamProvider, SampleContext

public class EmployeeListAction
extends Action


Nested Class Summary
static class EmployeeListAction.EmployeeInfo
           
static class EmployeeListAction.SearchInfo
           
 
Field Summary
 DBColumnExpr C_DEPARTMENT
           
 DBColumnExpr C_FULL_NAME
           
static java.lang.String LIST
           
static java.lang.String SEARCH
          Action mappings
 
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
EmployeeListAction()
           
 
Method Summary
 java.lang.String doInit()
           
 java.lang.String doList()
           
 java.lang.String doQuery()
           
 java.lang.String doReset()
           
 Options getDepartments()
           
 java.util.List<EmployeeListAction.EmployeeInfo> getEmployees()
           
 DBReader getReader()
           
 EmployeeListAction.SearchInfo getSearchInfo()
           
 
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

SEARCH

public static final java.lang.String SEARCH
Action mappings

See Also:
Constant Field Values

LIST

public static final java.lang.String LIST
See Also:
Constant Field Values

C_FULL_NAME

public final DBColumnExpr C_FULL_NAME

C_DEPARTMENT

public final DBColumnExpr C_DEPARTMENT
Constructor Detail

EmployeeListAction

public EmployeeListAction()
Method Detail

getSearchInfo

public EmployeeListAction.SearchInfo getSearchInfo()

getDepartments

public Options getDepartments()

getEmployees

public java.util.List<EmployeeListAction.EmployeeInfo> getEmployees()

getReader

public DBReader getReader()

doInit

public java.lang.String doInit()

doReset

public java.lang.String doReset()

doQuery

public java.lang.String doQuery()

doList

public java.lang.String doList()


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