info.magnolia.module.forum.admin.command
Class AbstractForumCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.commands.impl.BaseRepositoryCommand
info.magnolia.module.forum.admin.command.AbstractForumCommand
- All Implemented Interfaces:
- info.magnolia.commands.chain.Command, Cloneable
- Direct Known Subclasses:
- DeleteForumCommand, DeleteMessageCommand, DeleteThreadCommand, InvalidateMessageCommand, LockForumCommand, LockThreadCommand, UnlockForumCommand, UnlockThreadCommand, ValidateMessageCommand
public abstract class AbstractForumCommand
- extends info.magnolia.commands.impl.BaseRepositoryCommand
Parent command for all forum related commands. Currently only sets forum manager.
Fields inherited from class info.magnolia.commands.MgnlCommand |
log |
Fields inherited from interface info.magnolia.commands.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Method Summary |
boolean |
execute(info.magnolia.context.Context ctx)
|
protected abstract void |
execute(ForumManager forumManager,
info.magnolia.cms.core.Content node)
|
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 |
AbstractForumCommand
public AbstractForumCommand()
execute
public boolean execute(info.magnolia.context.Context ctx)
throws Exception
- Specified by:
execute
in class info.magnolia.commands.MgnlCommand
- Throws:
Exception
execute
protected abstract void execute(ForumManager forumManager,
info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.