Records that a person was tagged into a post, which is how mentions in a comment, question or reply are tracked. One row is created per tagged profile per post, and it carries the optional message that accompanied the mention. Tags are looked up by post, or by post within the current organisation, and are deleted outright rather than soft deleted.
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| comment | String | Optional message that went with the mention, as entered by the person who created the tag. Null when the tag carried no message. |
| createdDate | Date | When the tag was created, which is the time the mention was posted. Used to list tags newest first, and may be null on older rows. |
| id | long | Database identifier for this tag, assigned when the row is first saved. |
| post | Post | The post the user is tagged on, which may be a comment, a question or a reply. Tags are always looked up through this post. |
| taggedProfile | Profile | The profile that was tagged, in other words the person being mentioned rather than the person who wrote the post. |
Methods
getId()
Returns: long
Database identifier for this tag, assigned when the row is first saved.
getPost()
Returns: Post
The post the user is tagged on, which may be a comment, a question or a reply. Tags are always looked up through this post.
getCreatedDate()
Returns: Date
When the tag was created, which is the time the mention was posted. Used to list tags newest first, and may be null on older rows.
getTaggedProfile()
Returns: Profile
The profile that was tagged, in other words the person being mentioned rather than the person who wrote the post.
getComment()
Returns: String
Optional message that went with the mention, as entered by the person who created the tag. Null when the tag carried no message.