Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.forum
Interface JiveContentObject

All Superinterfaces:
JiveObject, com.jivesoftware.forum.Taggable, Watchable
All Known Subinterfaces:
ForumMessage, ForumThread

public interface JiveContentObject
extends JiveObject, Watchable, com.jivesoftware.forum.Taggable


Field Summary
static RenderStrategy PLAIN_STRATEGY
           
 
Method Summary
 java.lang.String getBody()
          Return a summary of the jive object content.
 java.util.Date getCreationDate()
          Gets the creation date of the jive object
 java.util.Date getModificationDate()
          Gets the modification date of the jive object
 java.lang.String getPlainBody()
          Returns the body of the jive object content with no markup applied.
 java.lang.String getPlainSubject()
          Returns the title of the jive object content with no markup applied
 java.lang.String getSubject()
          Return the title of the jive object content
 java.lang.String getUnfilteredBody()
          Returns the body, bypassing any active filters.
 java.lang.String getUnfilteredSubject()
          Returns the subject, bypassing any active filters.
 User getUser()
          Returns the user who authored of the jive object.
 
Methods inherited from interface com.jivesoftware.base.JiveObject
getID, getObjectType
 

Field Detail

PLAIN_STRATEGY

static final RenderStrategy PLAIN_STRATEGY
Method Detail

getSubject

java.lang.String getSubject()
Return the title of the jive object content

Returns:
the title of the jive object content

getPlainSubject

java.lang.String getPlainSubject()
Returns the title of the jive object content with no markup applied

Returns:
the title of the jive object content with no markup applied

getBody

java.lang.String getBody()
Return a summary of the jive object content.

Returns:
a summary of the jive object content.

getPlainBody

java.lang.String getPlainBody()
Returns the body of the jive object content with no markup applied. In the case of a document with a binary body the text returned will be the document summary.

Returns:
the body of the jive object content with no markup applied

getUser

User getUser()
Returns the user who authored of the jive object.

Returns:
the author of the jive object.

getCreationDate

java.util.Date getCreationDate()
Gets the creation date of the jive object

Returns:
the date the jive object was created

getModificationDate

java.util.Date getModificationDate()
Gets the modification date of the jive object

Returns:
the date the jive object was last modified

getUnfilteredSubject

java.lang.String getUnfilteredSubject()
Returns the subject, bypassing any active filters. Because filters often provide security, this method should be used with caution. In particular, you should avoid showing unfiltered data in an environment where embedded HTML might be interpreted.

Unfiltered content is necessary for a few reasons. One is when saving Jive content to another persistence mechanism such as an XML format.

Returns:
the unfiltered subject of the object.

getUnfilteredBody

java.lang.String getUnfilteredBody()
Returns the body, bypassing any active filters. Because filters often provide security, this method should be used with caution. In particular, you should avoid showing unfiltered data in an environment where embedded HTML might be interpreted.

Unfiltered content is necessary for a few reasons. One is when saving Jive content to another persistence mechanism such as an XML format.

Returns:
the unfiltered body of this object.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.