lumis.content.core
Class ContentComment

Package class diagram package ContentComment
java.lang.Object
  extended by lumis.content.core.ContentComment
All Implemented Interfaces:
Serializable

@StableMinor(version="5.5",
             sinceVersion="4.2")
public class ContentComment
extends Object
implements Serializable

A comment done for a content in a specific locale.

Since:
4.2.0
See Also:
Serialized Form

Constructor Summary
ContentComment()
           
 
Method Summary
 String getCommentText()
          Returns this comment's text.
 ContentLocale getContentLocale()
          Returns the ContentLocale this comment belongs to.
 String getCreatedBy()
          Returns the identifier of the principal that created this object.
 Date getCreatedDateTime()
          Returns the date-time this comment was created.
 void setCommentText(String commentText)
          Sets this comment's text.
 void setCreatedBy(String createdBy)
          Sets the principal that created this object.
 void setCreatedDateTime(Date createdDateTime)
          Returns the date-time this comment was created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentComment

public ContentComment()
Method Detail

getCreatedBy

public String getCreatedBy()
Returns the identifier of the principal that created this object.

Returns:
the principal identifier.
Since:
4.2.0

setCreatedBy

public void setCreatedBy(String createdBy)
Sets the principal that created this object.

Parameters:
createdBy - the principal identifier.
Since:
4.2.0

getCreatedDateTime

public Date getCreatedDateTime()
Returns the date-time this comment was created.

Returns:
the date-time this comment was created.
Since:
4.2.0

setCreatedDateTime

public void setCreatedDateTime(Date createdDateTime)
Returns the date-time this comment was created.

Parameters:
createdDateTime - the date-time this comment was created.
Since:
4.2.0

getCommentText

public String getCommentText()
Returns this comment's text.

Returns:
this comment's text.
Since:
4.2.0

setCommentText

public void setCommentText(String commentText)
Sets this comment's text.

Parameters:
commentText - the text to set.
Since:
4.2.0

getContentLocale

public ContentLocale getContentLocale()
Returns the ContentLocale this comment belongs to.

Returns:
the contentLocale.
Since:
4.2.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.