org.blojsom.plugin.admin.event
Class ProcessBlogEntryEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.admin.event.BlogEntryEvent
          extended byorg.blojsom.plugin.admin.event.ProcessBlogEntryEvent

public class ProcessBlogEntryEvent
extends BlogEntryEvent

Process blog entry event contains information about a blog entry with hooks for retrieving the servlet request, response, and the current plugin execution context.

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

Field Summary
protected  java.util.Map _context
           
protected  javax.servlet.http.HttpServletRequest _httpServletRequest
           
protected  javax.servlet.http.HttpServletResponse _httpServletResponse
           
 
Fields inherited from class org.blojsom.plugin.admin.event.BlogEntryEvent
_blogEntry, _blogUser
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
ProcessBlogEntryEvent(java.lang.Object source, java.util.Date timestamp, BlogEntry blogEntry, BlogUser blogUser, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, java.util.Map context)
          Create a new event indicating something happened with an entry in the system.
 
Method Summary
 java.util.Map getContext()
          Retrieve the plugin execution context
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Retrieve the servlet request
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
          Retrieve the servlet response
 
Methods inherited from class org.blojsom.plugin.admin.event.BlogEntryEvent
getBlogEntry, getBlogUser
 
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
 

Field Detail

_httpServletRequest

protected javax.servlet.http.HttpServletRequest _httpServletRequest

_httpServletResponse

protected javax.servlet.http.HttpServletResponse _httpServletResponse

_context

protected java.util.Map _context
Constructor Detail

ProcessBlogEntryEvent

public ProcessBlogEntryEvent(java.lang.Object source,
                             java.util.Date timestamp,
                             BlogEntry blogEntry,
                             BlogUser blogUser,
                             javax.servlet.http.HttpServletRequest httpServletRequest,
                             javax.servlet.http.HttpServletResponse httpServletResponse,
                             java.util.Map context)
Create a new event indicating something happened with an entry in the system.

Parameters:
source - Source of the event
timestamp - Event timestamp
blogEntry - BlogEntry
blogUser - BlogUser
Method Detail

getHttpServletRequest

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

Returns:
HttpServletRequest

getHttpServletResponse

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

Returns:
HttpServletResponse

getContext

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

Returns:
Context map