org.jboss.portlet.forums.model
Interface Watch

All Known Subinterfaces:
ForumWatch, TopicWatch
All Known Implementing Classes:
ForumWatchImpl, TopicWatchImpl, WatchImpl

public interface Watch

An abstraction concept of watch which denotes a relationship between a poster and an item.


Method Summary
 java.lang.Integer getId()
          Return the watch ID.
 int getMode()
          Return the mode.
 Poster getPoster()
          Return the poster.
 void setMode(int mode)
          Set the mode.
 void setPoster(Poster poster)
          Set the poster.
 

Method Detail

getId

public java.lang.Integer getId()
Return the watch ID.


getPoster

public Poster getPoster()
Return the poster.


setPoster

public void setPoster(Poster poster)
Set the poster.


getMode

public int getMode()
Return the mode.


setMode

public void setMode(int mode)
Set the mode.