当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PosterImpl - JBOSS Portal 2.6 API 英文版文档
org.jboss.portlet.forums.impl
Class PosterImpl
java.lang.Object
org.jboss.portlet.forums.impl.PosterImpl
- All Implemented Interfaces:
- Poster
- public class PosterImpl
- extends java.lang.Object
- implements Poster
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet, Thomas Heute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private java.lang.Integer id
userId
private java.lang.String userId
user
private User user
nbPosts
private int nbPosts
PosterImpl
public PosterImpl()
- Creates a new
PosterImpl
object.
PosterImpl
public PosterImpl(java.lang.String userId)
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
setPostCount
private void setPostCount(int nbPosts)
incrementPostCount
public void incrementPostCount()
- DOCUMENT_ME
- Specified by:
incrementPostCount
in interface Poster