org.jboss.portlet.forums.impl
Class PosterImpl

java.lang.Object
  extended by org.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.Integer userId)
           
 
Method Summary
 java.lang.Integer getID()
           
 int getPostCount()
          DOCUMENT_ME
 User getUser()
          DOCUMENT_ME
 java.lang.Integer 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.Integer 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.Integer 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.Integer getUserID()
This column has the unique constraints as it reflects the user id.

Returns:
Returns the id.

setUserID

public void setUserID(java.lang.Integer 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