org.blojsom.plugin.admin.event
Class AuthorizationEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.admin.event.AuthorizationEvent
Direct Known Subclasses:
AddAuthorizationEvent, DeleteAuthorizationEvent

public class AuthorizationEvent
extends BlojsomEvent

AuthorizationEvent

Since:
blojsom 2.27
Version:
$Id: AuthorizationEvent.java,v 1.2 2006/01/04 16:53:00 czarneckid Exp $
Author:
David Czarnecki

Field Summary
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
AuthorizationEvent(java.lang.Object source, java.util.Date timestamp, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, BlogUser blogUser, java.util.Map context, java.lang.String blogUserID)
          An event related to authorization for a given blog
 
Method Summary
 BlogUser getBlogUser()
          Retrieve the BlogUser
 java.lang.String getBlogUserID()
          Retrieve the authorized user ID
 java.util.Map getContext()
          Retrieve the context
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Retrieve the request
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
          Retrieve the response
 
Methods inherited from class org.blojsom.event.BlojsomEvent
getSource, getTimestamp, isEventHandled, setEventHandled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationEvent

public AuthorizationEvent(java.lang.Object source,
                          java.util.Date timestamp,
                          javax.servlet.http.HttpServletRequest httpServletRequest,
                          javax.servlet.http.HttpServletResponse httpServletResponse,
                          BlogUser blogUser,
                          java.util.Map context,
                          java.lang.String blogUserID)
An event related to authorization for a given blog

Parameters:
source - Source of the event
timestamp - Event timestamp
httpServletRequest - Request
httpServletResponse - Response
blogUser - BlogUser
context - Context for the given operation
blogUserID - Authorized user ID for the authorization event
Method Detail

getHttpServletRequest

public javax.servlet.http.HttpServletRequest getHttpServletRequest()
Retrieve the request

Returns:
Request

getHttpServletResponse

public javax.servlet.http.HttpServletResponse getHttpServletResponse()
Retrieve the response

Returns:
Response

getBlogUser

public BlogUser getBlogUser()
Retrieve the BlogUser

Returns:
BlogUser

getContext

public java.util.Map getContext()
Retrieve the context

Returns:
Context

getBlogUserID

public java.lang.String getBlogUserID()
Retrieve the authorized user ID

Returns:
Authorized user ID