gboat2.example.action
类 AttachAction

java.lang.Object
  继承者 com.opensymphony.xwork2.ActionSupport
      继承者 gboat2.base.core.web.BaseActionSupport
          继承者 gboat2.example.action.AttachAction
所有已实现的接口:
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 AttachAction
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, sortDirection, sortField
 
从类 com.opensymphony.xwork2.ActionSupport 继承的字段
LOG
 
从接口 com.opensymphony.xwork2.Action 继承的字段
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
构造方法摘要
AttachAction()
           
 
方法摘要
 String execute()
          默认转到列表页
 AttachConfig getAttachConfig()
           
 Map<AttachConfig,List<AttachmentVO>> getAttachMap()
           
 String getOldVersionJsonStr()
           
 String getSID()
           
 List<AttachmentVO> getUploadeds()
           
 String list()
          列表查询
 String photo()
           
 String save()
          保存
 void setAttachIds(String[] attachIds)
           
 
从类 gboat2.base.core.web.BaseActionSupport 继承的方法
ajaxDelete, ajaxListData, ajaxSave, 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, getSortDirection, getSortField, getUriPrefix, initEdit, initList, initSave, initView, invokeInitMethod, operationCheck, postDelete, postList, postSave, prepare, prepareEdit, prepareList, prepareModel, prepareView, putDebugInfoIfDevMode, registerEnumClassNotInEntry, 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
 

构造方法详细信息

AttachAction

public AttachAction()
方法详细信息

execute

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

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

photo

public String photo()

save

public String save()
从接口 IBaseActionSupport 复制的描述
保存

指定者:
接口 IBaseActionSupport 中的 save
覆盖:
BaseActionSupport 中的 save
返回:

list

public String list()
从接口 IBaseActionSupport 复制的描述
列表查询

指定者:
接口 IBaseActionSupport 中的 list
覆盖:
BaseActionSupport 中的 list
返回:

getSID

public String getSID()
覆盖:
BaseActionSupport 中的 getSID

getAttachMap

public Map<AttachConfig,List<AttachmentVO>> getAttachMap()

getOldVersionJsonStr

public String getOldVersionJsonStr()

setAttachIds

public void setAttachIds(String[] attachIds)

getAttachConfig

public AttachConfig getAttachConfig()

getUploadeds

public List<AttachmentVO> getUploadeds()


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