info.magnolia.module.forum.admin.command
Class LockForumCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.commands.impl.BaseRepositoryCommand
          extended by info.magnolia.module.forum.admin.command.AbstractForumCommand
              extended by info.magnolia.module.forum.admin.command.LockForumCommand
All Implemented Interfaces:
info.magnolia.commands.chain.Command, Cloneable

public class LockForumCommand
extends AbstractForumCommand

Command to lock the forum. Locking a forum prevents further publishing of messages in all forum threads.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface info.magnolia.commands.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
LockForumCommand()
           
 
Method Summary
protected  void execute(ForumManager forumManager, info.magnolia.cms.core.Content node)
           
 
Methods inherited from class info.magnolia.module.forum.admin.command.AbstractForumCommand
execute
 
Methods inherited from class info.magnolia.commands.impl.BaseRepositoryCommand
getJCRNode, getNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
 
Methods inherited from class info.magnolia.commands.MgnlCommand
clone, execute, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockForumCommand

public LockForumCommand()
Method Detail

execute

protected void execute(ForumManager forumManager,
                       info.magnolia.cms.core.Content node)
                throws javax.jcr.RepositoryException
Specified by:
execute in class AbstractForumCommand
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.