public interface IDiscussion extends IElement, IDeletionSupport, IUriSupport, ISecuritySupport, IProtocolSupport
IPost
,
IForum
,
IForumSpace
Modifier and Type | Method and Description |
---|---|
IPost |
getFirstPost()
Gets discussion first post.
|
IForumSpace |
getForumSpace()
Gets the forum space of the discussion.
|
IPost |
getLastPost()
Gets discussion last post.
|
IForum |
getParentForum()
Gets the parent forum.
|
Collection |
getPosts()
Gets all the posts of the discussion
|
boolean |
isLocked()
Check if the current discussion is locked
|
boolean |
isPinned()
Check if the current discussion is pinned
|
void |
lock()
Lock the current discussion
|
void |
pin()
Pin the current discussion
|
void |
unLock()
Unlock the current discussion
|
void |
unPin()
Remove the pin from the current discussion
|
getId, getModule, getNativeObject, getPath, save
delete
getURI
getProtocolURI, getProtocolURI
Collection getPosts()
Collection
of IPost
objects.IForumSpace getForumSpace()
IForumSpace
object.void pin()
void unPin()
boolean isPinned()
false
otherwise.void lock()
void unLock()
boolean isLocked()
false
otherwise.Copyright © 2021 Visiativ Software. All rights reserved.