gboat2.web.action
类 ResourceAction

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

模块管理

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

字段摘要
 
从类 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
 
构造方法摘要
ResourceAction()
           
 
方法摘要
 void checkResCode()
          验证模块编码是否已存在
 String copyResource()
           
 String deleteOperation()
          删除指定节点中指定的操作
 String deleteResource()
          删除节点,其子节点被挂在被删节点的父节点下
 String getActionClass()
           
 String getAnnotatedResources()
          根据过滤条件获取所有被注解的action
 String getBundle()
           
 String getCopyedId()
           
 String getMoveId()
           
 String getOperasByActionClass()
          取得指定action中,所有被注解的operation
 String getOperasByResourceId()
          获取指定节点的所有操作
 String[] getOperation()
           
 String getOperationId()
           
 String getResFilter()
           
 String getSystemId()
           
 String getTargetIndex()
           
 String getTargetParentId()
           
 void initSave()
           
 String moveResource()
          移动某个节点到新的父节点下
 void postSave()
           
 void setActionClass(String actionClass)
           
 void setBundle(String bundle)
           
 void setCopyedId(String copyedId)
           
 void setMoveId(String moveId)
           
 void setOperation(String[] operation)
           
 void setOperationId(String operationId)
           
 void setResFilter(String resFilter)
           
 void setSystemId(String systemId)
           
 void setTargetIndex(String targetIndex)
           
 void setTargetParentId(String targetParentId)
           
 String tree()
          取得所有节点组成的树
 
从类 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, initEdit, initList, initView, invokeInitMethod, list, operationCheck, postDelete, postList, 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
 

构造方法详细信息

ResourceAction

public ResourceAction()
方法详细信息

getResFilter

public String getResFilter()

setResFilter

public void setResFilter(String resFilter)

initSave

public void initSave()
覆盖:
BaseActionSupport 中的 initSave

postSave

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

moveResource

public String moveResource()
移动某个节点到新的父节点下

返回:
null

deleteResource

public String deleteResource()
删除节点,其子节点被挂在被删节点的父节点下

返回:
null

copyResource

public String copyResource()

tree

public String tree()
取得所有节点组成的树

返回:
null

getOperasByActionClass

public String getOperasByActionClass()
取得指定action中,所有被注解的operation

返回:
null

getOperasByResourceId

public String getOperasByResourceId()
获取指定节点的所有操作

返回:
null

deleteOperation

public String deleteOperation()
删除指定节点中指定的操作

返回:
null

getAnnotatedResources

public String getAnnotatedResources()
根据过滤条件获取所有被注解的action

返回:
null

checkResCode

public void checkResCode()
验证模块编码是否已存在


getOperation

public String[] getOperation()

setOperation

public void setOperation(String[] operation)

getActionClass

public String getActionClass()

setActionClass

public void setActionClass(String actionClass)

getBundle

public String getBundle()

setBundle

public void setBundle(String bundle)

getOperationId

public String getOperationId()

setOperationId

public void setOperationId(String operationId)

getSystemId

public String getSystemId()

setSystemId

public void setSystemId(String systemId)

getTargetParentId

public String getTargetParentId()

setTargetParentId

public void setTargetParentId(String targetParentId)

getMoveId

public String getMoveId()

setMoveId

public void setMoveId(String moveId)

getCopyedId

public String getCopyedId()

setCopyedId

public void setCopyedId(String copyedId)

getTargetIndex

public String getTargetIndex()

setTargetIndex

public void setTargetIndex(String targetIndex)


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