public class BlogData extends MinimalBlogData implements Serializable
| Constructor and Description |
|---|
BlogData()
constructor
|
BlogData(Long id)
constructor
|
BlogData(String alias,
Long id,
String title,
Date lastModificationDate)
constructor.
|
BlogData(String alias,
Long id,
String title,
Date creationDate,
Date lastModificationDate)
constructor.
|
BlogData(String alias,
String description,
Long id,
String title,
Date lastModificationDate)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreationDate() |
String |
getDescription() |
Date |
getLastModificationDate() |
void |
setCreationDate(Date creationDate)
Set the creation date of the blog
|
void |
setDescription(String description)
Set the description of the topic
|
void |
setLastModificationDate(Date lastModificationDate)
Set the date of the last modification of the topic
|
String |
toString() |
getAlias, getBlogId, getNameIdentifier, getTitle, setAlias, setBlogId, setNameIdentifier, setTitlecopy, equals, getId, getProperties, getProperty, hashCode, setId, setPropertypublic BlogData()
public BlogData(Long id)
id - the ID of the topicpublic BlogData(String alias, Long id, String title, Date lastModificationDate)
alias - the alias of the topicid - the ID of the topictitle - the title of the topiclastModificationDate - the date at which the topic was last modifiedpublic BlogData(String alias, Long id, String title, Date creationDate, Date lastModificationDate)
alias - the alias of the topicid - the ID of the topictitle - the title of the topiccreationDate - the creation date of the topiclastModificationDate - the date at which the topic was last modifiedpublic Date getCreationDate()
public String getDescription()
public Date getLastModificationDate()
public void setCreationDate(Date creationDate)
creationDate - the creation date of the blogpublic void setDescription(String description)
description - the description of the topicpublic void setLastModificationDate(Date lastModificationDate)
lastModificationDate - the date at which the topic was last modifiedpublic String toString()
toString in class MinimalBlogDataCopyright © 2019 Communote team. All rights reserved.