public interface IPost extends IElement, IDeletionSupport, IUriSupport
IForum, 
IDiscussion| Modifier and Type | Method and Description | 
|---|---|
IUser | 
getCreatedBy()
Gets the creator of the resource. 
 | 
Date | 
getCreatedDate()
Gets the created date. 
 | 
String | 
getDescription()
Gets the description of the post. 
 | 
IDiscussion | 
getDiscussion()
Gets the parent discussion. 
 | 
String | 
getLabel()
Gets the label of the post. 
 | 
IUser | 
getModifiedBy()
Gets the last user who modified the resource. 
 | 
Date | 
getModifiedDate()
Gets the modified date. 
 | 
IForum | 
getParentForum()
Gets the parent forum. 
 | 
Collection | 
getPosts()
Gets all the posts of the discussion 
 | 
boolean | 
isPrivate()
Check if the post is private 
 | 
void | 
setDescription(String description)
Sets the description of the post. 
 | 
void | 
setLabel(String label)
Sets the label of the post. 
 | 
void | 
setPrivate(boolean isPrivate)
Sets the port as private. 
 | 
getId, getModule, getNativeObject, getPath, savedeletegetURIvoid setLabel(String label)
label - The new label to set the post with.boolean isPrivate()
void setPrivate(boolean isPrivate)
isPrivate - void setDescription(String description)
description - The new description to set the post with.IUser getModifiedBy()
IUser object.Collection getPosts()
IPost objects.IDiscussion getDiscussion()
IDiscussion object.Copyright © 2019 Visiativ Software. All rights reserved.