|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.comments.impl.CommentEntry
public class CommentEntry
Field Summary | |
---|---|
protected IAttachmentItem[] |
attachments
|
protected PortalItemModel |
comment
|
Constructor Summary | |
---|---|
CommentEntry()
|
|
CommentEntry(IThingID thingID)
|
Method Summary | |
---|---|
IAttachmentItem[] |
getAttachments()
Returns list of attachments for this comment |
String |
getDisplayText()
Returns processed text for the comment suitable for display |
String |
getID()
Returns unique ID for this comment entry |
String |
getText()
Returns original text for comment |
Date |
getTimestamp()
Returns timestamp for the comment |
String |
getUserDisplayName()
Returns display name of the user made the comment |
String |
getUserID()
Returns ID of the user made the comment |
boolean |
isHtmlText()
|
protected static String |
processPlainText(String s)
Adds html formatting to plain text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PortalItemModel comment
protected IAttachmentItem[] attachments
Constructor Detail |
---|
public CommentEntry()
public CommentEntry(IThingID thingID) throws Exception
Exception
Method Detail |
---|
public boolean isHtmlText()
public String getUserDisplayName()
ICommentEntry
getUserDisplayName
in interface ICommentEntry
public String getUserID()
ICommentEntry
getUserID
in interface ICommentEntry
public Date getTimestamp()
ICommentEntry
getTimestamp
in interface ICommentEntry
public String getText()
ICommentEntry
getText
in interface ICommentEntry
public String getDisplayText()
ICommentEntry
getDisplayText
in interface ICommentEntry
protected static String processPlainText(String s)
public IAttachmentItem[] getAttachments() throws Exception
ICommentEntry
getAttachments
in interface ICommentEntry
Exception
public String getID()
ICommentEntry
getID
in interface ICommentEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |