|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.event.BlojsomEvent org.blojsom.plugin.response.event.ResponseSubmissionEvent
Response submission event
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 |
protected javax.servlet.http.HttpServletRequest _httpServletRequest
protected javax.servlet.http.HttpServletResponse _httpServletResponse
protected java.lang.String _submitter
protected java.lang.String _submitterItem1
protected java.lang.String _submitterItem2
protected java.lang.String _content
protected java.util.Map _metaData
protected BlogUser _blog
protected BlogEntry _entry
Constructor Detail |
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)
source
- Source of eventtimestamp
- Time of eventblog
- BlogUser
httpServletRequest
- HttpServletRequest
httpServletResponse
- HttpServletResponse
submitter
- SubmittersubmitterItem1
- Submitter data item 1submitterItem2
- Submitter data item 2content
- Content to be evaluatedentry
- BlogEntry
metaData
- Meta-dataMethod Detail |
public java.lang.String getSubmitter()
public java.lang.String getSubmitterItem1()
public java.lang.String getSubmitterItem2()
public java.lang.String getContent()
public java.util.Map getMetaData()
public BlogUser getBlog()
BlogUser
BlogUser
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
HttpServletRequest
HttpServletRequest
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
HttpServletResponse
HttpServletResponse
public BlogEntry getBlogEntry()
BlogEntry
BlogEntry
public void setSubmitter(java.lang.String submitter)
submitter
- Submitterpublic void setSubmitterItem1(java.lang.String submitterItem1)
submitterItem1
- Submitter item #1public void setSubmitterItem2(java.lang.String submitterItem2)
submitterItem2
- Submitter item #2public void setContent(java.lang.String content)
content
- Content
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |