Package org.bgerp.app.servlet.user.event

# Class ActionRequestEvent

java.lang.Object
org.bgerp.app.servlet.user.event.ActionRequestEvent

All Implemented Interfaces:
  `Event`

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

- ## Field Summary

  ### Fields inherited from interface org.bgerp.app.event.iface.Event

  `KEY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ActionRequestEvent(javax.servlet.http.HttpServletRequest request, String action, PermissionNode permissionNode, long duration, String error)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getAction()`
  `long`
  `getDuration()`
  `String`
  `getError()`
  `PermissionNode`
  `getPermissionNode()`
  `javax.servlet.http.HttpServletRequest`
  `getRequest()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.bgerp.app.event.iface.Event

  `processing`

- ## 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.