public class WsComment extends Object
Constructor and Description |
---|
WsComment()
Creates an empty WsComment object.
|
WsComment(String commentText,
Integer documentId)
Creates a new WsComment object with the given comment text and document id.
|
WsComment(String commentText,
Integer scopeId,
Integer refId)
Creates a new WsComment object with the given comment text and reference/scope values.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getActive() |
String |
getAvatar() |
List<WsComment> |
getChildComments() |
String |
getCommentText()
Gets the text of the comment.
|
Integer |
getCommentType() |
Integer |
getCreatedBy() |
Date |
getCreatedDate() |
Integer |
getDocumentId()
Gets the id of the document associated with this comment.
|
String |
getDocumentKey() |
String |
getDocumentName() |
Integer |
getDocumentVersionId() |
Calendar |
getEntryDate()
Gets the date the comment was made.
|
Long |
getId()
Gets the comment's id.
|
Boolean |
getImportant() |
Integer |
getOriginDocumentId() |
Integer |
getParentId()
Gets the id of the parent of this comment.
|
Integer |
getRefId()
Gets the comment's reference id.
|
Integer |
getRevisionSequence() |
Integer |
getScopeId()
Gets the comment's scopeId.
|
Integer |
getStatus() |
Integer |
getThreadId() |
Date |
getThreadUpdatedDate() |
Integer |
getUpdatedBy() |
WsUser |
getUser()
Gets the user who made the comment.
|
List<Integer> |
getUserIdsWhoLiked() |
void |
setActive(Boolean active) |
void |
setAvatar(String avatar) |
void |
setChildComments(List<WsComment> childComments) |
void |
setCommentText(String commentText)
Sets the text of the comment.
|
void |
setCommentType(Integer commentType) |
void |
setCreatedBy(Integer createdBy) |
void |
setCreatedDate(Date createdDate) |
void |
setDocumentId(Integer documentId)
Sets the id of the document associated with this comment.
|
void |
setDocumentKey(String documentKey) |
void |
setDocumentName(String documentName) |
void |
setDocumentVersionId(Integer documentVersionId) |
void |
setEntryDate(Calendar entryDate)
Sets the date the comment was made.
|
void |
setId(Long id)
Sets the comment's id.
|
void |
setImportant(Boolean important) |
void |
setOriginDocumentId(Integer originDocumentId) |
void |
setParentId(Integer parentId)
Sets the id of the parent of this comment.
|
void |
setRefId(Integer refId)
Sets the comment's reference id.
|
void |
setRevisionSequence(Integer revisionSequence) |
void |
setScopeId(Integer scopeId)
Sets the comment's scopeId.
|
void |
setStatus(Integer status) |
void |
setThreadId(Integer threadId) |
void |
setThreadUpdatedDate(Date threadUpdatedDate) |
void |
setUpdatedBy(Integer updatedBy) |
void |
setUser(WsUser user)
Sets the user who made the comment.
|
void |
setUserIdsWhoLiked(List<Integer> userIdsWhoLiked) |
public WsComment()
public WsComment(String commentText, Integer scopeId, Integer refId)
commentText
- text of the commentscopeId
- scope of the element associated with the commentrefId
- id associated with the commentpublic Long getId()
public void setId(Long id)
id
- the id to setpublic String getCommentText()
public void setCommentText(String commentText)
commentText
- the comment to setpublic WsUser getUser()
public void setUser(WsUser user)
user
- the user to setpublic Integer getScopeId()
WsScope
public void setScopeId(Integer scopeId)
scopeId
- the scopeId to setWsScope
public Integer getRefId()
public void setRefId(Integer refId)
refId
- the reference id to setpublic Calendar getEntryDate()
public void setEntryDate(Calendar entryDate)
entryDate
- date of the commentpublic Integer getDocumentId()
public void setDocumentId(Integer documentId)
documentId
- id of the associated documentpublic Integer getParentId()
public void setParentId(Integer parentId)
parentId
- id of the parent commentpublic Boolean getActive()
public void setActive(Boolean active)
public Integer getCommentType()
public void setCommentType(Integer commentType)
public String getAvatar()
public void setAvatar(String avatar)
public String getDocumentName()
public void setDocumentName(String documentName)
public String getDocumentKey()
public void setDocumentKey(String documentKey)
public Integer getDocumentVersionId()
public void setDocumentVersionId(Integer documentVersionId)
public Integer getOriginDocumentId()
public void setOriginDocumentId(Integer originDocumentId)
public Integer getThreadId()
public void setThreadId(Integer threadId)
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
public Date getThreadUpdatedDate()
public void setThreadUpdatedDate(Date threadUpdatedDate)
public Integer getCreatedBy()
public void setCreatedBy(Integer createdBy)
public Integer getUpdatedBy()
public void setUpdatedBy(Integer updatedBy)
public Integer getRevisionSequence()
public void setRevisionSequence(Integer revisionSequence)
public Boolean getImportant()
public void setImportant(Boolean important)
public Integer getStatus()
public void setStatus(Integer status)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.