类 MultiProjectSupportAction
java.lang.Object
org.beangle.struts2.action.ActionSupport
org.beangle.struts2.action.EntityActionSupport
org.beangle.struts2.action.EntityDrivenAction
org.openurp.web.action.SecurityActionSupport
org.openurp.edu.web.action.BaseAction
org.openurp.edu.web.action.MultiProjectSupportAction
- 所有已实现的接口:
org.beangle.commons.text.i18n.TextResourceProvider
本Action是多教学项目的Wrapper Action 本Action一般作为学生、教师功能的父类使用,因此和数据级权限无关 因为学生和教师的功能所能看到的数据一般都是和自身有关的数据,且他们的帐号上也不需要设置数据级权限。 具有获取当前教学项目、当前学期的方法
-
字段概要
从类继承的字段 org.openurp.edu.web.action.BaseAction
baseInfoService, codeService, departmentService, eventMulticaster, logHelper, semesterService从类继承的字段 org.openurp.web.action.SecurityActionSupport
securityHelper从类继承的字段 org.beangle.struts2.action.EntityDrivenAction
config, entityDao从类继承的字段 org.beangle.struts2.action.ActionSupport
ERROR, INPUT, logger, SUCCESS -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidaddBasecode(String key, Class<? extends org.beangle.commons.entity.pojo.Code<Integer>> clazz) protected voidaddBaseInfo(String key, Class<? extends BaseInfo> clazz) protected ListgetBaseInfos(Class<? extends BaseInfo> clazz) protected Project获得用户当前在什么教学项目下的方法决定展现给用户哪些教学项目,被index使用。final Stringindex()这个index页面是一个Wrapper页面
如果需要展现多个教学项目的数据,那么页面就会显示为一个项目一个Tab
如果只展现一个教学项目的数据,那么页面就会隐藏Tababstract String子类的真正的index是innerIndex,展现的是当前教学项目下的index页面从类继承的方法 org.openurp.edu.web.action.BaseAction
debug, debug, error, error, forwardError, forwardError, getDepartmentService, getLoginUser, getOutputProcessObserver, getOutputProcessObserver, getOutputProcessObserver, getSemesterService, info, info, publish, redirect, setBaseInfoService, setCodeService, setDepartmentService, setEventMulticaster, setLogHelper, setSemesterService从类继承的方法 org.openurp.web.action.SecurityActionSupport
applyPermission, getProfiles, getProperties, getUsername, setSecurityHelper从类继承的方法 org.beangle.struts2.action.EntityDrivenAction
buildEntityImporter, buildEntityImporter, buildEntityImporter, buildExporter, configExporter, configImporter, edit, editSetting, export, getConfig, getEntity, getEntity, getEntity, getEntityDao, getEntityName, getExportDatas, getImporterListeners, getModel, getModels, getModels, getPropertyExtractor, getQueryBuilder, getShortName, importData, importForm, indexSetting, info, populateEntity, populateEntity, populateEntity, remove, remove, remove, removeAndForward, save, saveAndForward, saveOrUpdate, saveOrUpdate, search, search, setConfig, setEntityDao从类继承的方法 org.beangle.struts2.action.EntityActionSupport
getId, getIds, getIntId, getIntIds, getLongId, getLongIds, getPageIndex, getPageLimit, getPageSize, populate, populate, populate, populate, populate, populate, populate, populate, populateConditions, populateConditions从类继承的方法 org.beangle.struts2.action.ActionSupport
addCookie, addCookie, addError, addFlashError, addFlashMessage, addMessage, deleteCookie, execute, forward, forward, forward, forward, forward, get, get, get, getActionErrors, getActionMessages, getAll, getAll, getAttribute, getAttribute, getBool, getBoolean, getCookieValue, getDate, getDateTime, getFlash, getFloat, getInt, getLocale, getLong, getRemoteAddr, getRequest, getResource, getResponse, getSession, getShort, getText, getText, getTextInternal, getTextResource, getTextResource, put, redirect, redirect, redirect, redirect
-
构造器详细资料
-
MultiProjectSupportAction
public MultiProjectSupportAction()
-
-
方法详细资料
-
addBasecode
-
addBaseInfo
-
getBaseInfos
-
index
这个index页面是一个Wrapper页面
如果需要展现多个教学项目的数据,那么页面就会显示为一个项目一个Tab
如果只展现一个教学项目的数据,那么页面就会隐藏Tab- 覆盖:
index在类中org.beangle.struts2.action.EntityDrivenAction
-
innerIndex
子类的真正的index是innerIndex,展现的是当前教学项目下的index页面- 返回:
-
getProjects
决定展现给用户哪些教学项目,被index使用。
展现的教学项目由功能Action自行决定- 返回:
-
getProject
获得用户当前在什么教学项目下的方法- 返回:
-
getSemester
-