站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PostImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.impl
Class PostImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.PostImpl
All Implemented Interfaces:
Post, java.io.Serializable

public class PostImpl
extends java.lang.Object
implements java.io.Serializable, Post

Version:
$Revision: 5448 $
Author:
Julien Viet, Thomas Heute, Boleslaw Dawidowicz
See Also:
Serialized Form

Field Summary
private  java.util.List attachments
           
private  int count
           
private  java.util.Date createDate
           
private  java.util.Date date
           
private  java.lang.Integer id
           
private  Message message
           
private  Poster poster
           
private  Topic topic
           
private  User user
           
 
Constructor Summary
PostImpl()
          Creates a new PostImpl object.
 
Method Summary
 void addAttachment(Attachment attachment)
           
 java.util.List getAttachments()
           
 java.util.Date getCreateDate()
          DOCUMENT_ME
 int getEditCount()
          DOCUMENT_ME
 java.util.Date getEditDate()
          DOCUMENT_ME
 java.lang.Integer getId()
          DOCUMENT_ME
 Message getMessage()
          DOCUMENT_ME
 Poster getPoster()
          DOCUMENT_ME
 Topic getTopic()
          DOCUMENT_ME
 User getUser()
          DOCUMENT_ME
 void setAttachments(java.util.List attachments)
           
 void setCreateDate(java.util.Date createDate)
          DOCUMENT_ME
 void setEditCount(int count)
          DOCUMENT_ME
 void setEditDate(java.util.Date date)
          DOCUMENT_ME
 void setId(java.lang.Integer id)
          DOCUMENT_ME
 void setMessage(Message message)
          DOCUMENT_ME
 void setPoster(Poster poster)
          DOCUMENT_ME
 void setTopic(Topic topic)
          DOCUMENT_ME
 void setUser(User user)
          DOCUMENT_ME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topic

private Topic topic

user

private User user

count

private int count

date

private java.util.Date date

id

private java.lang.Integer id

createDate

private java.util.Date createDate

message

private Message message

poster

private Poster poster

attachments

private java.util.List attachments
Constructor Detail

PostImpl

public PostImpl()
Creates a new PostImpl object.

Method Detail

getTopic

public Topic getTopic()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getTopic in interface Post
Returns:
DOCUMENT_ME

setTopic

public void setTopic(Topic topic)
DOCUMENT_ME

Specified by:
setTopic in interface Post
Parameters:
topic - DOCUMENT_ME

getUser

public User getUser()
DOCUMENT_ME

Returns:
DOCUMENT_ME

setUser

public void setUser(User user)
DOCUMENT_ME

Parameters:
user - DOCUMENT_ME

getEditCount

public int getEditCount()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getEditCount in interface Post
Returns:
DOCUMENT_ME

setEditCount

public void setEditCount(int count)
DOCUMENT_ME

Specified by:
setEditCount in interface Post
Parameters:
count - DOCUMENT_ME

getEditDate

public java.util.Date getEditDate()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getEditDate in interface Post
Returns:
DOCUMENT_ME

setEditDate

public void setEditDate(java.util.Date date)
DOCUMENT_ME

Specified by:
setEditDate in interface Post
Parameters:
date - DOCUMENT_ME

getId

public java.lang.Integer getId()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getId in interface Post
Returns:
DOCUMENT_ME

setId

public void setId(java.lang.Integer id)
DOCUMENT_ME

Parameters:
id - DOCUMENT_ME

getCreateDate

public java.util.Date getCreateDate()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getCreateDate in interface Post
Returns:
DOCUMENT_ME

setCreateDate

public void setCreateDate(java.util.Date createDate)
DOCUMENT_ME

Specified by:
setCreateDate in interface Post
Parameters:
createDate - DOCUMENT_ME

getMessage

public Message getMessage()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getMessage in interface Post
Returns:
DOCUMENT_ME

setMessage

public void setMessage(Message message)
DOCUMENT_ME

Specified by:
setMessage in interface Post
Parameters:
message - DOCUMENT_ME

getPoster

public Poster getPoster()
Description copied from interface: Post
DOCUMENT_ME

Specified by:
getPoster in interface Post
Returns:
DOCUMENT_ME

setPoster

public void setPoster(Poster poster)
DOCUMENT_ME

Specified by:
setPoster in interface Post
Parameters:
poster - DOCUMENT_ME

getAttachments

public java.util.List getAttachments()
Specified by:
getAttachments in interface Post

setAttachments

public void setAttachments(java.util.List attachments)

addAttachment

public void addAttachment(Attachment attachment)
Specified by:
addAttachment in interface Post