public class UserBlogData extends BlogData implements Serializable
Constructor and Description |
---|
UserBlogData() |
UserBlogData(BlogRole userRole,
String nameIdentifier,
String description,
Long blogId,
String title,
Date lastModificationDate) |
UserBlogData(UserBlogData otherBean)
Copies constructor from other UserBlogData
|
Modifier and Type | Method and Description |
---|---|
void |
copy(UserBlogData otherBean)
Copies all properties from the argument value object into this value object.
|
BlogRole |
getUserRole() |
void |
setUserRole(BlogRole userRole)
Sets the role the user has in the blog.
|
getCreationDate, getDescription, getLastModificationDate, setCreationDate, setDescription, setLastModificationDate, toString
getAlias, getBlogId, getNameIdentifier, getTitle, setAlias, setBlogId, setNameIdentifier, setTitle
copy, equals, getId, getProperties, getProperty, hashCode, setId, setProperty
public UserBlogData()
public UserBlogData(BlogRole userRole, String nameIdentifier, String description, Long blogId, String title, Date lastModificationDate)
public UserBlogData(UserBlogData otherBean)
otherBean
- , cannot be null
NullPointerException
- if the argument is null
public void copy(UserBlogData otherBean)
public BlogRole getUserRole()
public void setUserRole(BlogRole userRole)
userRole
- the role of the userCopyright © 2019 Communote team. All rights reserved.