类 RestrictionSupportAction

java.lang.Object
org.beangle.struts2.action.ActionSupport
org.beangle.struts2.action.EntityActionSupport
org.beangle.struts2.action.EntityDrivenAction
所有已实现的接口:
org.beangle.commons.text.i18n.TextResourceProvider
直接已知子类:
DataQueryAction, SemesterSupportAction

public abstract class RestrictionSupportAction extends AdminBaseAction
数据级权限支持类
  • 构造器详细资料

    • RestrictionSupportAction

      public RestrictionSupportAction()
  • 方法详细资料

    • index

      public String index()
      FIXME 有问题
       stdTypeList, dartmentList 并不是在所有在页面上都被使用的
       
      覆盖:
      index 在类中 org.beangle.struts2.action.EntityDrivenAction
    • getProjects

      protected List<Project> getProjects()
      获得用户所拥有的所有教学项目维度上的数据级权限
      返回:
    • getProject

      protected Project getProject()
      获得用户当前所处的教学项目
      返回:
    • getLevels

      protected List<EducationLevel> getLevels()
    • getStdTypes

      protected List<StdType> getStdTypes()
    • getDeparts

      protected List<Department> getDeparts()
    • getColleges

      protected List<Department> getColleges()
    • getTeachDeparts

      protected List<Department> getTeachDeparts()
    • getDepartIdSeq

      protected String getDepartIdSeq()
    • getCollegeIdSeq

      protected String getCollegeIdSeq()
    • getTeachDepartIdSeq

      protected String getTeachDepartIdSeq()
    • getStdTypeIdSeq

      protected String getStdTypeIdSeq()
    • getEducationIdSeq

      protected String getEducationIdSeq()
    • getDataRealm

      protected DataRealm getDataRealm()
      已过时。
      返回的东西里面只有院系、学生类别。已经不能满足现在的按照项目、院系、学生类别的数据级权限的要求
      返回:
    • setProjectContext

      public void setProjectContext(ProjectContext projectContext)
      覆盖:
      setProjectContext 在类中 AdminBaseAction