public class DiscussionThread extends CollaborationSet<Message> implements java.io.Serializable, com.technia.tvc.collaboration.core.model.dao.exalead.cache.search.CacheSearchable
| Modifier and Type | Class and Description |
|---|---|
static class |
DiscussionThread.Sort |
static class |
DiscussionThread.SortType |
| Constructor and Description |
|---|
DiscussionThread() |
DiscussionThread(DiscussionThread thread) |
DiscussionThread(DiscussionThread thread,
boolean cloneMessages) |
DiscussionThread(Identifier threadId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCloud(Cloud cloud)
Add a cloud to the thread.
|
void |
addClouds(java.util.Collection<Cloud> clouds)
Adds a collection of clouds to the thread.
|
void |
addMessage(Message message)
Deprecated.
Use addItem instead
|
void |
addMessageAll(java.util.Collection<Message> messages)
Deprecated.
Use addItems instead
|
void |
addSystemTag(Tags.Tag systemTag)
Add a system tag.
|
void |
addSystemTags(java.util.Collection<Tags.Tag> systemTags)
Add a collection of system tags.
|
void |
addUserTag(java.lang.String userTag)
Add a user tag to the message.
|
void |
addUserTags(java.util.Collection<java.lang.String> userTags)
Add a collection of user tags to the message.
|
void |
clearClouds()
Clears all clouds
|
void |
clearSystemTags()
Clears the system tags for the message.
|
void |
clearUserTags()
Clears user tags of the message.
|
DiscussionThread |
cloneItem() |
boolean |
equals(java.lang.Object obj) |
com.technia.tvc.collaboration.core.model.dao.exalead.cache.search.CacheSearchData |
getCacheSearchData()
Used for getting information that can be used to search a cache
|
java.util.Set<Cloud> |
getClouds()
Gets clouds
|
Message |
getFirst() |
java.util.Collection<Message> |
getItems() |
Message |
getLast() |
java.util.List<Message> |
getMessages()
Deprecated.
Use getItems instead
|
java.lang.String |
getNotificationBody() |
java.lang.String |
getNotificationTemplateName() |
java.lang.String |
getNotificationTitle() |
NotificationType |
getNotificationType() |
Person |
getOwner() |
com.technia.tvc.collaboration.core.model.dao.enovia.access.ReadAccess |
getReadAccess() |
java.lang.String |
getSubject() |
java.util.Set<Tags.Tag> |
getSystemTags()
Get system tags for the message.
|
java.lang.String |
getType() |
java.util.Collection<java.lang.String> |
getUserTags()
Gets the user tags of the message.
|
int |
hashCode() |
boolean |
isImportant() |
boolean |
isPrivate() |
boolean |
isRepliable() |
void |
setImportant(boolean important) |
void |
setPrivate(boolean isPrivate) |
void |
setReadAccess(com.technia.tvc.collaboration.core.model.dao.enovia.access.ReadAccess readAccess) |
void |
setRepliable(boolean repliable) |
void |
setSubject(java.lang.String subject) |
void |
sortMessages(java.util.Comparator<Message> comp)
Deprecated.
Use sort instead
|
java.lang.String |
toString() |
void |
updateSystemTags(java.util.Collection<Tags.Tag> tags)
Update a collection of system tags.
|
addItem, addItems, getCreated, getItem, getLastUpdated, getNotificationSent, getSetId, isFollowup, isWatching, setCreated, setFollowup, setLastUpdated, setWatching, sortaddCollaborationContext, addCollaborationContextId, addCollaborationContexts, clearCollaborationContexts, copyContexts, getCollaborationContexts, getContextIds, getId, getNotificationContentType, setIdpublic DiscussionThread()
public DiscussionThread(Identifier threadId)
public DiscussionThread(DiscussionThread thread)
public DiscussionThread(DiscussionThread thread, boolean cloneMessages)
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public boolean isPrivate()
public void setPrivate(boolean isPrivate)
public boolean isRepliable()
public void setRepliable(boolean repliable)
public boolean isImportant()
public void setImportant(boolean important)
@JSONProperty(exclude=true) public com.technia.tvc.collaboration.core.model.dao.enovia.access.ReadAccess getReadAccess()
public void setReadAccess(com.technia.tvc.collaboration.core.model.dao.enovia.access.ReadAccess readAccess)
@Deprecated public void addMessage(Message message)
message - @Deprecated public void addMessageAll(java.util.Collection<Message> messages)
messages - @Deprecated @JSONProperty(exclude=true) public java.util.List<Message> getMessages()
@JSONProperty(exclude=false) public java.util.Collection<Message> getItems()
getItems in class CollaborationSet<Message>@Deprecated public void sortMessages(java.util.Comparator<Message> comp)
comp - public void addSystemTag(Tags.Tag systemTag)
systemTag - System tag to add.public void addSystemTags(java.util.Collection<Tags.Tag> systemTags)
systemTags - System tags to add.public void updateSystemTags(java.util.Collection<Tags.Tag> tags)
tags - System tags to add.public void clearSystemTags()
@JSONProperty(exclude=false) public java.util.Set<Tags.Tag> getSystemTags()
public void addUserTag(java.lang.String userTag)
userTag - User tag to add.public void addUserTags(java.util.Collection<java.lang.String> userTags)
userTags - User tags to add.public void clearUserTags()
public java.util.Collection<java.lang.String> getUserTags()
public void addCloud(Cloud cloud)
cloud - Cloud to addpublic void addClouds(java.util.Collection<Cloud> clouds)
clouds - Clouds to addpublic void clearClouds()
public java.util.Set<Cloud> getClouds()
@JSONProperty(exclude=true) public com.technia.tvc.collaboration.core.model.dao.exalead.cache.search.CacheSearchData getCacheSearchData()
getCacheSearchData in interface com.technia.tvc.collaboration.core.model.dao.exalead.cache.search.CacheSearchablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getNotificationTitle()
getNotificationTitle in interface com.technia.tvc.collaboration.core.model.Notifiable<CollaborationSet<Message>>public java.lang.String getNotificationBody()
getNotificationBody in interface com.technia.tvc.collaboration.core.model.Notifiable<CollaborationSet<Message>>public java.lang.String getNotificationTemplateName()
getNotificationTemplateName in interface com.technia.tvc.collaboration.core.model.Notifiable<CollaborationSet<Message>>public DiscussionThread cloneItem()
cloneItem in interface com.technia.tvc.collaboration.core.model.CollaborationCloneable<CollaborationSet<Message>>public NotificationType getNotificationType()
getNotificationType in interface com.technia.tvc.collaboration.core.model.Notifiable<CollaborationSet<Message>>public java.lang.String getType()
getType in class CollaborationSet<Message>public Person getOwner()
getOwner in class com.technia.tvc.collaboration.core.model.CollaborationObject<CollaborationSet<Message>>@JSONProperty(exclude=true) public Message getFirst()
@JSONProperty(exclude=true) public Message getLast()
Copyright ? Technia AB. All Rights Reserved.