gboat2.example.action
类 ExampleAction

java.lang.Object
  继承者 com.opensymphony.xwork2.ActionSupport
      继承者 gboat2.base.core.web.BaseActionSupport
          继承者 gboat2.example.action.ExampleAction
所有已实现的接口:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, IBaseActionSupport, Serializable, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware, org.apache.struts2.osgi.interceptor.BundleContextAware, org.apache.struts2.osgi.interceptor.ServiceAware, org.apache.struts2.util.ServletContextAware

public class ExampleAction
extends BaseActionSupport

示例 Action

从以下版本开始:
3.0
作者:
何明旺
另请参见:
序列化表格

字段摘要
 
从类 gboat2.base.core.web.BaseActionSupport 继承的字段
container, context, CURRENT_BUNDLE_RES_LOCATION, devMode, flatResultLayout, go, MIN_SUFFIX, model, nameSeparator, osgiHost, page, request, response, SID, sortDirection, sortField
 
从类 com.opensymphony.xwork2.ActionSupport 继承的字段
LOG
 
从接口 com.opensymphony.xwork2.Action 继承的字段
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
构造方法摘要
ExampleAction()
           
 
方法摘要
 String accordion()
          可折叠面板
 String ajaxSave()
          desktop的Ajax保存处理
 String catagoryQuery()
           
 String execute()
          默认转到列表页
 Map<String,String> getAccordionMap()
           
 Date getDate()
           
 Date getDateTime()
           
 List<Group> getGroups()
           
 Date getTime()
           
 boolean isAgree()
           
 void loadDataFromResource()
          读取资源文件的数据
 void setAgree(boolean agree)
           
 void setDate(Date date)
           
 void setDateTime(Date dateTime)
           
 void setForward(String forward)
           
 void setResource(String resource)
           
 void setTime(Date time)
           
 
从类 gboat2.base.core.web.BaseActionSupport 继承的方法
ajaxDelete, ajaxListData, ajaxSaveReturn, delete, deleteModel, edit, executeListQuery, forward, get_M, get_MdId, getActionBundle, getBean, getBean, getDefaultAjaxDeleteUri, getDefaultAjaxSaveUri, getDefaultDeleteUri, getDefaultEditUri, getDefaultListUri, getDefaultSaveUri, getDefaultViewUri, getDomainClassAnnotationed, getDomainClassAnnotationedForList, getExtendForView, getListParameterMap, getMetadata, getModel, getPage, getPriCheckParams, getServiceAnnotationed, getSID, getSortDirection, getSortField, getUriPrefix, initEdit, initList, initSave, initView, invokeInitMethod, list, operationCheck, postDelete, postList, postSave, prepare, prepareEdit, prepareList, prepareModel, prepareView, putDebugInfoIfDevMode, registerEnumClassNotInEntry, save, saveModel, set_M, set_MdId, setAutowiredBeans, setAutowiredBeans, setBundleContext, setContainer, setDevMode, setFlatResultLayout, setGo, setModel, setNameSeparator, setPriCheckParams, setServices, setServletContext, setServletRequest, setServletResponse, setSID, setSortDirection, setSortField, setValue, view
 
从类 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, setFieldErrors, validate
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ExampleAction

public ExampleAction()
方法详细信息

execute

public String execute()
从类 BaseActionSupport 复制的描述
默认转到列表页

指定者:
接口 com.opensymphony.xwork2.Action 中的 execute
覆盖:
BaseActionSupport 中的 execute
返回:
返回forward
另请参见:
ActionSupport.execute()

ajaxSave

public String ajaxSave()
从类 BaseActionSupport 复制的描述
desktop的Ajax保存处理

覆盖:
BaseActionSupport 中的 ajaxSave
返回:
null

loadDataFromResource

public void loadDataFromResource()
读取资源文件的数据


accordion

public String accordion()
可折叠面板

返回:

catagoryQuery

public String catagoryQuery()

setForward

public void setForward(String forward)

setResource

public void setResource(String resource)

getAccordionMap

public Map<String,String> getAccordionMap()

getDate

public Date getDate()

setDate

public void setDate(Date date)

getTime

public Date getTime()

setTime

public void setTime(Date time)

getDateTime

public Date getDateTime()

setDateTime

public void setDateTime(Date dateTime)

isAgree

public boolean isAgree()

setAgree

public void setAgree(boolean agree)

getGroups

public List<Group> getGroups()


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.