Package org.openurp.edu.web.action
Class RestrictionSupportAction
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.AdminBaseAction
org.openurp.edu.web.action.RestrictionSupportAction
- All Implemented Interfaces:
org.beangle.commons.text.i18n.TextResourceProvider
- Direct Known Subclasses:
DataQueryAction,SemesterSupportAction
数据级权限支持类
-
Field Summary
Fields inherited from class org.openurp.edu.web.action.AdminBaseAction
baseInfoService, codeService, departmentService, eventMulticaster, logHelper, projectContext, projectPropertyService, semesterService, timeSettingServiceFields inherited from class org.openurp.web.action.SecurityActionSupport
securityHelperFields inherited from class org.beangle.struts2.action.EntityDrivenAction
config, entityDaoFields inherited from class org.beangle.struts2.action.ActionSupport
ERROR, INPUT, logger, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected List<Department>protected DataRealmDeprecated.返回的东西里面只有院系、学生类别。已经不能满足现在的按照项目、院系、学生类别的数据级权限的要求protected Stringprotected List<Department>protected Stringprotected List<EducationLevel>protected Project获得用户当前所处的教学项目获得用户所拥有的所有教学项目维度上的数据级权限protected Stringprotected Stringprotected List<Department>index()FIXME 有问题voidsetProjectContext(ProjectContext projectContext) Methods inherited from class org.openurp.edu.web.action.AdminBaseAction
addBasecode, addBaseInfo, debug, debug, error, error, forwardError, forwardError, getBaseInfos, getDepartmentService, getLoginUser, getOutputProcessObserver, getOutputProcessObserver, getOutputProcessObserver, getProjectContext, getSemesterService, importForm, info, info, publish, redirect, setBaseInfoService, setCodeService, setDepartmentService, setEventMulticaster, setLogHelper, setProjectPropertyService, setSemesterService, setTimeSettingServiceMethods inherited from class org.openurp.web.action.SecurityActionSupport
applyPermission, getProfiles, getProperties, getUsername, setSecurityHelperMethods inherited from class 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, indexSetting, info, populateEntity, populateEntity, populateEntity, remove, remove, remove, removeAndForward, save, saveAndForward, saveOrUpdate, saveOrUpdate, search, search, setConfig, setEntityDaoMethods inherited from class org.beangle.struts2.action.EntityActionSupport
getId, getIds, getIntId, getIntIds, getLongId, getLongIds, getPageIndex, getPageLimit, getPageSize, populate, populate, populate, populate, populate, populate, populate, populate, populateConditions, populateConditionsMethods inherited from class 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
-
Constructor Details
-
RestrictionSupportAction
public RestrictionSupportAction()
-
-
Method Details
-
index
FIXME 有问题stdTypeList, dartmentList 并不是在所有在页面上都被使用的
- Overrides:
indexin classorg.beangle.struts2.action.EntityDrivenAction
-
getProjects
获得用户所拥有的所有教学项目维度上的数据级权限- Returns:
-
getProject
获得用户当前所处的教学项目- Returns:
-
getLevels
-
getStdTypes
-
getDeparts
-
getColleges
-
getTeachDeparts
-
getDepartIdSeq
-
getCollegeIdSeq
-
getTeachDepartIdSeq
-
getStdTypeIdSeq
-
getEducationIdSeq
-
getDataRealm
Deprecated.返回的东西里面只有院系、学生类别。已经不能满足现在的按照项目、院系、学生类别的数据级权限的要求- Returns:
-
setProjectContext
- Overrides:
setProjectContextin classAdminBaseAction
-