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

PropertyReturnsDescription
commentStringOptional message that went with the mention, as entered by the person who created the tag. Null when the tag carried no message.
createdDateDateWhen 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.
idlongDatabase identifier for this tag, assigned when the row is first saved.
postPostThe post the user is tagged on, which may be a comment, a question or a reply. Tags are always looked up through this post.
taggedProfileProfileThe 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.