Class BaseAction

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
All Implemented Interfaces:
org.beangle.commons.text.i18n.TextResourceProvider
Direct Known Subclasses:
CourseAction, DirectionAction, MajorAction, MultiProjectSupportAction, NormalclassAction, SquadAction, TeacherAction

public abstract class BaseAction extends SecurityActionSupport
  • Field Details

    • codeService

      protected CodeService codeService
    • baseInfoService

      protected BaseInfoService baseInfoService
    • eventMulticaster

      protected org.beangle.commons.event.EventMulticaster eventMulticaster
    • semesterService

      protected SemesterService semesterService
      教学日历服务对象
    • departmentService

      protected DepartmentService departmentService
      部门服务对象
    • logHelper

      protected LogHelper logHelper
      系统日志
  • Constructor Details

    • BaseAction

      public BaseAction()
  • Method Details

    • getLoginUser

      protected User getLoginUser()
      FIXME according school
      Returns:
    • forwardError

      protected String forwardError(String message)
    • forwardError

      protected String forwardError(String[] messages)
    • getOutputProcessObserver

      protected OutputWebObserver getOutputProcessObserver(String forwardName, Class<? extends OutputWebObserver> observerClass)
    • redirect

      protected String redirect(org.beangle.struts2.convention.route.Action action, String message, String[] prefixes)
    • getOutputProcessObserver

      protected OutputProcessObserver getOutputProcessObserver()
    • getOutputProcessObserver

      protected OutputProcessObserver getOutputProcessObserver(Class<? extends OutputWebObserver> observerClass)
    • publish

      protected void publish(org.beangle.commons.event.Event event)
      发布应用事件
      Parameters:
      event -
      Since:
      2012-05-25
    • setCodeService

      public void setCodeService(CodeService codeService)
    • setBaseInfoService

      public void setBaseInfoService(BaseInfoService baseInfoService)
    • getSemesterService

      protected SemesterService getSemesterService()
    • setSemesterService

      public void setSemesterService(SemesterService semesterService)
    • getDepartmentService

      protected DepartmentService getDepartmentService()
    • setDepartmentService

      public void setDepartmentService(DepartmentService departmentService)
    • setLogHelper

      public void setLogHelper(LogHelper logHelper)
    • debug

      protected void debug(Object debubObj)
    • debug

      protected void debug(Object debubObj, Exception e)
    • info

      protected void info(Object infoObj)
    • info

      protected void info(Object infoObj, Exception e)
    • error

      protected void error(Object errorObj)
    • error

      protected void error(Object errorObj, Exception e)
    • setEventMulticaster

      public void setEventMulticaster(org.beangle.commons.event.EventMulticaster eventMulticaster)