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

Watch - JBOSS Portal 2.4 API 英文版文档


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.