gboat2.approveflow.action
类 ApproveflowAction

java.lang.Object
  继承者 com.opensymphony.xwork2.ActionSupport
      继承者 gboat2.base.core.web.BaseActionSupport
          继承者 gboat2.approveflow.action.ApproveflowAction
所有已实现的接口:
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 ApproveflowAction
extends BaseActionSupport

审批流action

从以下版本开始:
jdk1.6
作者:
sunpf
另请参见:
序列化表格

字段摘要
 
从类 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
 
构造方法摘要
ApproveflowAction()
           
 
方法摘要
 void deleteApproveFlow()
           
 String getBpmnDataJson()
           
 void getBpmnProcessInfo()
           
 String getLevelId()
           
 List<NodeInfo> getNodeInfoList()
           
 void getNodeListByProcessId()
           
 Map<String,String> getNodeNameAssignerMap()
           
 String getProcessId()
           
 void getProcessImgByProcessId()
           
 List<ProcessInfo> getProcessInfoList()
           
 List<Role> getRoleList()
           
 void getStepNames()
          根据processId获取所有节点名称和编码,并返回前台
protected  void initEdit()
          获取所有角色和所有流程信息 (non-Javadoc)
protected  void initList(Map<String,Object> params)
           
protected  void initSave()
          保存前判断是否此记录已存在 (non-Javadoc)
protected  void initView()
           
protected  void postList(Page pageinfo)
          在显示列表数据时对数据进行封装: 1.将processId的值由流程ID改为流程名称 2.stepName的值由节点代码改为节点名称 3.level1-6由角色代码改为角色名称 4.审核角色为R,显示为角色,P显示为人员
protected  void postSave()
           
 void setBpmnDataJson(String bpmnDataJson)
           
 void setLevelId(String levelId)
           
 void setNodeInfoList(List<NodeInfo> nodeInfoList)
           
 void setNodeNameAssignerMap(Map<String,String> nodeNameAssignerMap)
           
 void setProcessId(String processId)
           
 void setProcessInfoList(List<ProcessInfo> processInfoList)
           
 void setRoleList(List<Role> roleList)
           
 
从类 gboat2.base.core.web.BaseActionSupport 继承的方法
ajaxDelete, ajaxListData, ajaxSave, ajaxSaveReturn, delete, deleteModel, edit, execute, 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, invokeInitMethod, list, operationCheck, postDelete, 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
 

构造方法详细信息

ApproveflowAction

public ApproveflowAction()
方法详细信息

initList

protected void initList(Map<String,Object> params)
覆盖:
BaseActionSupport 中的 initList

postList

protected void postList(Page pageinfo)
在显示列表数据时对数据进行封装: 1.将processId的值由流程ID改为流程名称 2.stepName的值由节点代码改为节点名称 3.level1-6由角色代码改为角色名称 4.审核角色为R,显示为角色,P显示为人员

覆盖:
BaseActionSupport 中的 postList
另请参见:
gboat2.base.core.web.BaseActionSupport#postList(gboat2.base.dao.page.Page)

initSave

protected void initSave()
保存前判断是否此记录已存在 (non-Javadoc)

覆盖:
BaseActionSupport 中的 initSave
另请参见:
BaseActionSupport.initSave()

postSave

protected void postSave()
覆盖:
BaseActionSupport 中的 postSave

initEdit

protected void initEdit()
获取所有角色和所有流程信息 (non-Javadoc)

覆盖:
BaseActionSupport 中的 initEdit
另请参见:
BaseActionSupport.initEdit()

initView

protected void initView()
覆盖:
BaseActionSupport 中的 initView

deleteApproveFlow

public void deleteApproveFlow()

getStepNames

public void getStepNames()
根据processId获取所有节点名称和编码,并返回前台


getBpmnProcessInfo

public void getBpmnProcessInfo()

getNodeListByProcessId

public void getNodeListByProcessId()

getProcessImgByProcessId

public void getProcessImgByProcessId()

getRoleList

public List<Role> getRoleList()

setRoleList

public void setRoleList(List<Role> roleList)

getProcessInfoList

public List<ProcessInfo> getProcessInfoList()

setProcessInfoList

public void setProcessInfoList(List<ProcessInfo> processInfoList)

getProcessId

public String getProcessId()

setProcessId

public void setProcessId(String processId)

getNodeInfoList

public List<NodeInfo> getNodeInfoList()

setNodeInfoList

public void setNodeInfoList(List<NodeInfo> nodeInfoList)

getLevelId

public String getLevelId()

setLevelId

public void setLevelId(String levelId)

getBpmnDataJson

public String getBpmnDataJson()

setBpmnDataJson

public void setBpmnDataJson(String bpmnDataJson)

getNodeNameAssignerMap

public Map<String,String> getNodeNameAssignerMap()

setNodeNameAssignerMap

public void setNodeNameAssignerMap(Map<String,String> nodeNameAssignerMap)


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