public class Blog extends Object implements Serializable, Followable, Propertyable, Taggable
A blog is just a blog with single user tagged items.
| Modifier and Type | Class and Description |
|---|---|
static class |
Blog.Factory
Constructs new instances of
Blog. |
| Constructor and Description |
|---|
Blog() |
| Modifier and Type | Method and Description |
|---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Blog instance and all identifiers for this
entity equal the identifiers of the argument entity. |
Set<Blog> |
getChildren() |
Timestamp |
getCrawlLastModificationDate()
The last modification date of the blog.
|
Timestamp |
getCreationDate()
The creation date of the blog.
|
String |
getDescription()
The description of the blog.
|
Set<ExternalObject> |
getExternalObjects() |
GlobalId |
getFollowId() |
GlobalId |
getGlobalId() |
Long |
getId() |
Timestamp |
getLastModificationDate()
The last modification date of the blog.
|
Set<BlogMember> |
getMembers() |
String |
getNameIdentifier()
The identifier of the blog.
|
Set<Blog> |
getParents() |
Set<BlogProperty> |
getProperties()
Properties
|
Set<Tag> |
getTags() |
String |
getTitle()
The title of the blog.
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
boolean |
isAllCanRead()
Return whether all Communote users are allowed to read the notes of this topic.
|
boolean |
isAllCanWrite() |
boolean |
isCreateSystemNotes()
whether notes with creation source 'SYSTEM' will be created in this blog.
|
boolean |
isPublicAccess()
This option determines whether a blog can be accesses by public or not.
|
boolean |
isToplevelTopic() |
void |
setAllCanRead(boolean allCanRead) |
void |
setAllCanWrite(boolean allCanWrite) |
void |
setChildren(Set<Blog> children) |
void |
setCrawlLastModificationDate(Timestamp crawlLastModificationDate) |
void |
setCreateSystemNotes(boolean createSystemNotes) |
void |
setCreationDate(Timestamp creationDate) |
void |
setDescription(String description) |
void |
setExternalObjects(Set<ExternalObject> externalObjects) |
void |
setGlobalId(GlobalId globalId) |
void |
setId(Long id) |
void |
setLastModificationDate(Timestamp lastModificationDate) |
void |
setMembers(Set<BlogMember> members) |
void |
setNameIdentifier(String nameIdentifier) |
void |
setParents(Set<Blog> parents) |
void |
setProperties(Set<BlogProperty> properties) |
void |
setPublicAccess(boolean publicAccess) |
void |
setTags(Set<Tag> tags) |
void |
setTitle(String title) |
void |
setToplevelTopic(boolean toplevelTopic) |
public String attributesToString()
public boolean equals(Object object)
true if the argument is an Blog instance and all identifiers for this
entity equal the identifiers of the argument entity. Returns false otherwise.public Timestamp getCrawlLastModificationDate()
The last modification date of the blog.
public Timestamp getCreationDate()
The creation date of the blog.
public String getDescription()
The description of the blog.
public Set<ExternalObject> getExternalObjects()
public GlobalId getFollowId()
getFollowId in interface Followablepublic GlobalId getGlobalId()
getGlobalId in interface GlobalIdentifiablepublic Long getId()
public Timestamp getLastModificationDate()
The last modification date of the blog.
public Set<BlogMember> getMembers()
public String getNameIdentifier()
The identifier of the blog.
public Set<BlogProperty> getProperties()
PropertyableProperties
getProperties in interface Propertyablepublic String getTitle()
The title of the blog.
public int hashCode()
public boolean isAllCanRead()
isAllCanWrite() returns true, this method returns true too.public boolean isAllCanWrite()
public boolean isCreateSystemNotes()
whether notes with creation source 'SYSTEM' will be created in this blog.
public boolean isPublicAccess()
This option determines whether a blog can be accesses by public or not. Default is false.
public boolean isToplevelTopic()
public void setAllCanRead(boolean allCanRead)
public void setAllCanWrite(boolean allCanWrite)
public void setCrawlLastModificationDate(Timestamp crawlLastModificationDate)
public void setCreateSystemNotes(boolean createSystemNotes)
public void setCreationDate(Timestamp creationDate)
public void setDescription(String description)
public void setExternalObjects(Set<ExternalObject> externalObjects)
public void setGlobalId(GlobalId globalId)
setGlobalId in interface GlobalIdentifiablepublic void setId(Long id)
public void setLastModificationDate(Timestamp lastModificationDate)
public void setMembers(Set<BlogMember> members)
public void setNameIdentifier(String nameIdentifier)
public void setProperties(Set<BlogProperty> properties)
public void setPublicAccess(boolean publicAccess)
public void setTitle(String title)
public void setToplevelTopic(boolean toplevelTopic)
Copyright © 2019 Communote team. All rights reserved.