org.blojsom.plugin.response.event
Class ResponseSubmissionEvent

java.lang.Object
  extended byorg.blojsom.event.BlojsomEvent
      extended byorg.blojsom.plugin.response.event.ResponseSubmissionEvent
Direct Known Subclasses:
CommentResponseSubmissionEvent, PingbackResponseSubmissionEvent, TrackbackResponseSubmissionEvent

public class ResponseSubmissionEvent
extends BlojsomEvent

Response submission event

Since:
blojsom 2.25
Version:
$Id: ResponseSubmissionEvent.java,v 1.5 2006/01/10 17:05:42 czarneckid Exp $
Author:
David Czarnecki

Field Summary
protected  BlogUser _blog
           
protected  java.lang.String _content
           
protected  BlogEntry _entry
           
protected  javax.servlet.http.HttpServletRequest _httpServletRequest
           
protected  javax.servlet.http.HttpServletResponse _httpServletResponse
           
protected  java.util.Map _metaData
           
protected  java.lang.String _submitter
           
protected  java.lang.String _submitterItem1
           
protected  java.lang.String _submitterItem2
           
 
Fields inherited from class org.blojsom.event.BlojsomEvent
_eventHandled, _source, _timestamp
 
Constructor Summary
ResponseSubmissionEvent(java.lang.Object source, java.util.Date timestamp, BlogUser blog, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, java.lang.String submitter, java.lang.String submitterItem1, java.lang.String submitterItem2, java.lang.String content, BlogEntry entry, java.util.Map metaData)
          Create a new instance of the response submission event
 
Method Summary
 BlogUser getBlog()
          Retrieve the BlogUser
 BlogEntry getBlogEntry()
          Retrieve the BlogEntry
 java.lang.String getContent()
          Retrieve the submission content
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Retrieve the HttpServletRequest
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
          Retrieve the HttpServletResponse
 java.util.Map getMetaData()
          Retrieve the meta-data associated with the submission
 java.lang.String getSubmitter()
          Retrieve the submitter
 java.lang.String getSubmitterItem1()
          Retrieve the submitter item #1
 java.lang.String getSubmitterItem2()
          Retrieve the submitter item #2
 void setContent(java.lang.String content)
          Set the content
 void setSubmitter(java.lang.String submitter)
          Set the submitter content
 void setSubmitterItem1(java.lang.String submitterItem1)
          Set the submitter item #1
 void setSubmitterItem2(java.lang.String submitterItem2)
          Set the submitter item #2
 
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

_submitter

protected java.lang.String _submitter

_submitterItem1

protected java.lang.String _submitterItem1

_submitterItem2

protected java.lang.String _submitterItem2

_content

protected java.lang.String _content

_metaData

protected java.util.Map _metaData

_blog

protected BlogUser _blog

_entry

protected BlogEntry _entry
Constructor Detail

ResponseSubmissionEvent

public ResponseSubmissionEvent(java.lang.Object source,
                               java.util.Date timestamp,
                               BlogUser blog,
                               javax.servlet.http.HttpServletRequest httpServletRequest,
                               javax.servlet.http.HttpServletResponse httpServletResponse,
                               java.lang.String submitter,
                               java.lang.String submitterItem1,
                               java.lang.String submitterItem2,
                               java.lang.String content,
                               BlogEntry entry,
                               java.util.Map metaData)
Create a new instance of the response submission event

Parameters:
source - Source of event
timestamp - Time of event
blog - BlogUser
httpServletRequest - HttpServletRequest
httpServletResponse - HttpServletResponse
submitter - Submitter
submitterItem1 - Submitter data item 1
submitterItem2 - Submitter data item 2
content - Content to be evaluated
entry - BlogEntry
metaData - Meta-data
Method Detail

getSubmitter

public java.lang.String getSubmitter()
Retrieve the submitter

Returns:
Submitter

getSubmitterItem1

public java.lang.String getSubmitterItem1()
Retrieve the submitter item #1

Returns:
Submitter item #1

getSubmitterItem2

public java.lang.String getSubmitterItem2()
Retrieve the submitter item #2

Returns:
Submitter item #2

getContent

public java.lang.String getContent()
Retrieve the submission content

Returns:
Submission content

getMetaData

public java.util.Map getMetaData()
Retrieve the meta-data associated with the submission

Returns:
Meta-data associated with the submission

getBlog

public BlogUser getBlog()
Retrieve the BlogUser

Returns:
BlogUser

getHttpServletRequest

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

Returns:
HttpServletRequest

getHttpServletResponse

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

Returns:
HttpServletResponse

getBlogEntry

public BlogEntry getBlogEntry()
Retrieve the BlogEntry

Returns:
BlogEntry

setSubmitter

public void setSubmitter(java.lang.String submitter)
Set the submitter content

Parameters:
submitter - Submitter

setSubmitterItem1

public void setSubmitterItem1(java.lang.String submitterItem1)
Set the submitter item #1

Parameters:
submitterItem1 - Submitter item #1

setSubmitterItem2

public void setSubmitterItem2(java.lang.String submitterItem2)
Set the submitter item #2

Parameters:
submitterItem2 - Submitter item #2

setContent

public void setContent(java.lang.String content)
Set the content

Parameters:
content - Content