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

PosterImpl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portlet.forums.impl
Class PosterImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.PosterImpl
All Implemented Interfaces:
Poster

public class PosterImpl
extends java.lang.Object
implements Poster


Constructor Summary
PosterImpl()
          Creates a new PosterImpl object.
PosterImpl(java.lang.String userId)
           
 
Method Summary
 java.lang.Integer getId()
           
 int getPostCount()
          DOCUMENT_ME
 User getUser()
          DOCUMENT_ME
 java.lang.String getUserId()
          This column has the unique constraints as it reflects the user id.
 void incrementPostCount()
          DOCUMENT_ME
 void setId(java.lang.Integer id)
           
 void setUserId(java.lang.String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosterImpl

public PosterImpl()
Creates a new PosterImpl object.


PosterImpl

public PosterImpl(java.lang.String userId)
Method Detail

getUser

public User getUser()
DOCUMENT_ME

Specified by:
getUser in interface Poster
Returns:
DOCUMENT_ME

getId

public java.lang.Integer getId()
Specified by:
getId in interface Poster
Returns:
Returns the id.

setId

public void setId(java.lang.Integer id)
Parameters:
id - The id to set.

getUserId

public java.lang.String getUserId()
This column has the unique constraints as it reflects the user id.

Specified by:
getUserId in interface Poster
Returns:
Returns the id.

setUserId

public void setUserId(java.lang.String userId)
Parameters:
userId - The id to set.

getPostCount

public int getPostCount()
Description copied from interface: Poster
DOCUMENT_ME

Specified by:
getPostCount in interface Poster
Returns:
DOCUMENT_ME

incrementPostCount

public void incrementPostCount()
DOCUMENT_ME

Specified by:
incrementPostCount in interface Poster