info.magnolia.module.forum.frontend.action
Class ThreadView<RD extends info.magnolia.rendering.template.RenderableDefinition>
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RD>
info.magnolia.module.forum.frontend.action.AbstractThreadAction<RD>
info.magnolia.module.forum.frontend.action.ThreadView<RD>
- Type Parameters:
RD
- - an instance of RenderableDefinition
- All Implemented Interfaces:
- info.magnolia.rendering.model.RenderingModel<RD>
public class ThreadView<RD extends info.magnolia.rendering.template.RenderableDefinition>
- extends AbstractThreadAction<RD>
Action to see all messages on a thread.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl |
content, contentMap, definition, parentModel |
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
SKIP_RENDERING |
Constructor Summary |
ThreadView(javax.jcr.Node content,
RD renderable,
info.magnolia.rendering.model.RenderingModel<?> parent)
|
ThreadView(javax.jcr.Node content,
RD renderable,
info.magnolia.rendering.model.RenderingModel<?> parent,
ForumManager forumManager,
ForumConfiguration config)
|
Methods inherited from class info.magnolia.module.forum.frontend.action.AbstractThreadAction |
getForum, getForumId, getThread, getThreadId, isAllowedToPost, isAnonymous, isShowingUnvalidatedMessages, setForumId, setThreadId, setupForumIdFromContent, setupThreadIdFromContent |
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl |
getContent, getDef, getDefinition, getNode, getParent, getRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTYNAME
protected static final String PROPERTYNAME
- See Also:
- Constant Field Values
ThreadView
public ThreadView(javax.jcr.Node content,
RD renderable,
info.magnolia.rendering.model.RenderingModel<?> parent)
ThreadView
public ThreadView(javax.jcr.Node content,
RD renderable,
info.magnolia.rendering.model.RenderingModel<?> parent,
ForumManager forumManager,
ForumConfiguration config)
setMessages
protected void setMessages(PagedResult messages)
setPage
public void setPage(long page)
execute
public String execute()
- Description copied from class:
AbstractThreadAction
- Initializes forum and thread properties with given ids.
- Specified by:
execute
in interface info.magnolia.rendering.model.RenderingModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
- Overrides:
execute
in class AbstractThreadAction<RD extends info.magnolia.rendering.template.RenderableDefinition>
getMessages
public Collection<javax.jcr.Node> getMessages()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getPageCount
public long getPageCount()
getmissingDataExceptionMessage
public String getmissingDataExceptionMessage()
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.