public class BlogManagementForm extends Object
Constructor and Description |
---|
BlogManagementForm(DetailBlogListItem item)
Basic constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get the form action.
|
String |
getBlogEmail()
Returns the email address of the blog.
|
String |
getBlogEmailSuffix()
|
Long |
getBlogId() |
String |
getBlogMailTo()
Returns the mailto string to be inserted as href value for the link of the email address of
the blog.
|
Map<String,Object> |
getBlogProperties() |
<T> T |
getBlogProperty(String key) |
String |
getDescription() |
String |
getNameIdentifier() |
Long |
getParentTopicId() |
String |
getTags()
Get the tags of the blog, separated by ","
|
String |
getTitle() |
boolean |
isCreateSystemNotes()
whether notes with creation source 'SYSTEM' will be created in this blog
|
boolean |
isCurrentUserFollowsBlog() |
boolean |
isMailFetchingEnabled()
wrapper for
MailBasedPostingHelper.isMailFetchingEnabled() |
boolean |
isRootTopic() |
boolean |
isSingleAddressMode()
Wrapper for
|
boolean |
isToplevelTopic() |
void |
setAction(String action)
Set the form action
|
void |
setBlogId(Long blogId) |
void |
setBlogProperties(Map<String,Object> blogProperties) |
void |
setCreateSystemNotes(boolean createSystemNotes)
Define whether notes with creation source 'SYSTEM' should be created in this blog
|
void |
setCurrentUserFollowsBlog(boolean currentUserFollowsBlog)
define whether the current user follows this blog
|
void |
setDescription(String description) |
void |
setDetailBlogListItem(DetailBlogListItem listItem) |
void |
setNameIdentifier(String nameIdentifier) |
void |
setParentTopicId(Long parentTopicId) |
void |
setTags(String tags)
Set the tags of the blog, where they are represented by a comma separated String.
|
void |
setTitle(String title) |
void |
setToplevelTopic(boolean toplevelTopic) |
public BlogManagementForm(DetailBlogListItem item)
item
- optional list item to populate the formpublic String getAction()
public String getBlogEmail()
public String getBlogEmailSuffix()
public Long getBlogId()
public String getBlogMailTo()
public <T> T getBlogProperty(String key)
T
- Type of the object.key
- The key.public String getDescription()
public String getNameIdentifier()
public Long getParentTopicId()
public String getTags()
public String getTitle()
public boolean isCreateSystemNotes()
public boolean isCurrentUserFollowsBlog()
true
if the current user follows this blog, otherwise false
public boolean isMailFetchingEnabled()
MailBasedPostingHelper.isMailFetchingEnabled()
public boolean isRootTopic()
public boolean isSingleAddressMode()
public boolean isToplevelTopic()
true
if the topic is a top level topic (inside the directory), otherwise
false
public void setAction(String action)
action
- New action of this formpublic void setBlogId(Long blogId)
blogId
- the blogId to setpublic void setBlogProperties(Map<String,Object> blogProperties)
blogProperties
- the blogProperties to setpublic void setCreateSystemNotes(boolean createSystemNotes)
createSystemNotes
- true if notes with creation source 'SYSTEM' should be created in this blogpublic void setCurrentUserFollowsBlog(boolean currentUserFollowsBlog)
currentUserFollowsBlog
- true
if the current user follows this blog, otherwise false
public void setDescription(String description)
description
- the description to setpublic void setDetailBlogListItem(DetailBlogListItem listItem)
listItem
- the listItem to setpublic void setNameIdentifier(String nameIdentifier)
nameIdentifier
- the nameIdentifier to setpublic void setParentTopicId(Long parentTopicId)
parentTopicId
- Id of parent topic.public void setTags(String tags)
tags
- Comma separated String of the blog tagspublic void setTitle(String title)
title
- the title to setpublic void setToplevelTopic(boolean toplevelTopic)
toplevelTopic
- true if the topic is a top level topic (inside the directory)Copyright © 2019 Communote team. All rights reserved.