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

java.lang.Integer getID()
Return the watch ID.


getPoster

Poster getPoster()
Return the poster.


setPoster

void setPoster(Poster poster)
Set the poster.


getMode

int getMode()
Return the mode.


setMode

void setMode(int mode)
Set the mode.