当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
NotificationInterceptor - JBOSS Portal 2.6 API 英文版文档
org.jboss.portlet.forums.interceptors
Class NotificationInterceptor
java.lang.Object
org.jboss.portlet.forums.command.filter.AbstractCommandFilter
org.jboss.portlet.forums.interceptors.NotificationInterceptor
- All Implemented Interfaces:
- CommandFilter
- public class NotificationInterceptor
- extends AbstractCommandFilter
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_POST
private static final int MODE_POST
- See Also:
- Constant Field Values
MODE_REPLY
private static final int MODE_REPLY
- See Also:
- Constant Field Values
MODE_REPOST
private static final int MODE_REPOST
- See Also:
- Constant Field Values
forumsModule
private ForumsModule forumsModule
mailTemplates
private TemplateLoader mailTemplates
from
private java.lang.String from
executor
private EDU.oswego.cs.dl.util.concurrent.QueuedExecutor executor
mailModule
private MailModule mailModule
tm
private javax.transaction.TransactionManager tm
NotificationInterceptor
public NotificationInterceptor(ForumsModule module)
stop
public void stop()
setFrom
public void setFrom(java.lang.String from)
getMailTemplates
public TemplateLoader getMailTemplates()
filter
public Result filter(Command cmd)
throws CommandException
- Throws:
CommandException
schedule
private void schedule(JBossActionRequest request,
JBossActionResponse response,
Post post,
int mode)
getFrom
private java.lang.String getFrom(Post post)