Class RouteLogAction

java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction

public class RouteLogAction extends KewKualiAction
A Struts Action used to display the routelog.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • RouteLogAction

      public RouteLogAction()
  • Method Details

    • execute

      public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Overrides:
      execute in class KualiAction
      Throws:
      Exception
    • populateRouteLogFormActionRequests

      public void populateRouteLogFormActionRequests(RouteLogForm rlForm, DocumentRouteHeaderValue routeHeader)
    • populateRouteLogFutureRequests

      public void populateRouteLogFutureRequests(RouteLogForm rlForm, DocumentRouteHeaderValue document) throws Exception
      executes a simulation of the future routing, and sets the futureRootRequests and futureActionRequestCount properties on the provided RouteLogForm.
      Parameters:
      rlForm - the RouteLogForm --used in a write-only fashion.
      document - the DocumentRouteHeaderValue for the document whose future routing is being simulated.
      Throws:
      Exception
    • logActionMessageInRouteLog

      public org.apache.struts.action.ActionForward logActionMessageInRouteLog(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Logs a new message to the route log for the current document, then refreshes the action taken list to display back the new message in the route log tab. User must have permission to log a message for the doc type and the request must be coming from the route log tab display (not the route log page).
      Throws:
      Exception