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

WatchImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.impl
Class WatchImpl

java.lang.Object
  extended byorg.jboss.portlet.forums.impl.WatchImpl
All Implemented Interfaces:
java.io.Serializable, Watch
Direct Known Subclasses:
ForumWatchImpl, TopicWatchImpl

public class WatchImpl
extends java.lang.Object
implements java.io.Serializable, Watch

Watchers for email notifications.

Version:
$Revision: 5448 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
private  java.lang.Integer id
          .
private  int mode
          .
private  Poster poster
          .
 
Constructor Summary
WatchImpl()
           
 
Method Summary
 java.lang.Integer getId()
          Return the watch ID.
 int getMode()
          Return the mode.
 Poster getPoster()
          Return the poster.
private  void setId(java.lang.Integer id)
          Called by hibernate only.
 void setMode(int mode)
          Set the mode.
 void setPoster(Poster poster)
          Set the poster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private java.lang.Integer id
.


mode

private int mode
.


poster

private Poster poster
.

Constructor Detail

WatchImpl

public WatchImpl()
Method Detail

getId

public java.lang.Integer getId()
Description copied from interface: Watch
Return the watch ID.

Specified by:
getId in interface Watch

setId

private void setId(java.lang.Integer id)
Called by hibernate only.


getPoster

public Poster getPoster()
Description copied from interface: Watch
Return the poster.

Specified by:
getPoster in interface Watch

setPoster

public void setPoster(Poster poster)
Description copied from interface: Watch
Set the poster.

Specified by:
setPoster in interface Watch

getMode

public int getMode()
Description copied from interface: Watch
Return the mode.

Specified by:
getMode in interface Watch

setMode

public void setMode(int mode)
Description copied from interface: Watch
Set the mode.

Specified by:
setMode in interface Watch