public class DetailPostListItem extends CommonPostListItem implements Serializable
Constructor and Description |
---|
DetailPostListItem()
creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
copy(DetailPostListItem otherBean)
Copies all properties from the argument value object into this value object.
|
BlogListItem |
getBlog() |
Date |
getCreationDate() |
Date |
getLastModificationDate() |
int |
getNumberOfComments() |
UserData |
getParentPostAuthor() |
Long |
getParentPostId() |
String |
getTags() |
UserData |
getUser() |
void |
setBlog(BlogListItem blog)
Sets the blog of the note
|
void |
setCreationDate(Date creationDate)
Sets the creation date of the note
|
void |
setLastModificationDate(Date lastModificationDate)
Sets the last modification date of the note
|
void |
setNumberOfComments(int numberOfComments)
Sets the number of direct comments including DMs the current user might not be able to read
and excluding comments on comments
|
void |
setParentPostAuthor(UserData parentPostAuthor)
Sets the author of the parent note
|
void |
setParentPostId(Long parentPostId)
Sets the ID of the parent note
|
void |
setTags(String tags)
sets the tags
|
void |
setUser(UserData user)
Sets the author
|
copy, getPostId, getText, setPostId, setText
copy, equals, getId, getProperties, getProperty, hashCode, setId, setProperty
public void copy(DetailPostListItem otherBean)
otherBean
- the object to copy frompublic BlogListItem getBlog()
public Date getCreationDate()
public Date getLastModificationDate()
public int getNumberOfComments()
public UserData getParentPostAuthor()
public Long getParentPostId()
public String getTags()
public UserData getUser()
public void setBlog(BlogListItem blog)
blog
- a list item with details about the blog of the notepublic void setCreationDate(Date creationDate)
creationDate
- the date the note was createdpublic void setLastModificationDate(Date lastModificationDate)
lastModificationDate
- the date of the last modification of the notepublic void setNumberOfComments(int numberOfComments)
numberOfComments
- total number of direct commentspublic void setParentPostAuthor(UserData parentPostAuthor)
parentPostAuthor
- a list item with details about the author of the parent notepublic void setParentPostId(Long parentPostId)
parentPostId
- the ID of the parent notepublic void setTags(String tags)
tags
- the tags of the note as CSVpublic void setUser(UserData user)
user
- a list item with details about the author of the noteCopyright © 2019 Communote team. All rights reserved.