Class ActionRequestEvent

java.lang.Object
org.bgerp.app.servlet.user.event.ActionRequestEvent
All Implemented Interfaces:
Event, Event

public class ActionRequestEvent extends Object implements Event
HTTP request calling action.
  • Constructor Details

    • ActionRequestEvent

      public ActionRequestEvent(javax.servlet.http.HttpServletRequest request, String action, PermissionNode permissionNode, long duration, String error)
  • Method Details

    • getRequest

      public javax.servlet.http.HttpServletRequest getRequest()
      Returns:
      HTTP request.
    • getAction

      public String getAction()
      Returns:
      action identifier, semicolon separated action class name and called method.
    • getPermissionNode

      public PermissionNode getPermissionNode()
      Returns:
      action permission node.
    • getDuration

      public long getDuration()
      Returns:
      execution duration in milliseconds.
    • getError

      public String getError()
      Returns:
      execution status string, empty when successful.