|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.domain.WsComment
public class WsComment
This object represents a Contour comment.
| Constructor Summary | |
|---|---|
WsComment()
Creates an empty WsComment object. |
|
WsComment(java.lang.String commentText,
java.lang.Integer documentId)
Creates a new WsComment object with the given comment text and document id. |
|
WsComment(java.lang.String commentText,
java.lang.Integer scopeId,
java.lang.Integer refId)
Creates a new WsComment object with the given comment text and reference/scope values. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getActive()
|
java.lang.String |
getAvatar()
|
java.util.List<WsComment> |
getChildComments()
|
java.lang.String |
getCommentText()
Gets the text of the comment. |
java.lang.Integer |
getCommentType()
|
java.lang.Integer |
getCreatedBy()
|
java.util.Date |
getCreatedDate()
|
java.lang.Integer |
getDocumentId()
Gets the id of the document associated with this comment. |
java.lang.String |
getDocumentKey()
|
java.lang.String |
getDocumentName()
|
java.lang.Integer |
getDocumentVersionId()
|
java.util.Calendar |
getEntryDate()
Gets the date the comment was made. |
java.lang.Long |
getId()
Gets the comment's id. |
java.lang.Boolean |
getImportant()
|
java.lang.Integer |
getOriginDocumentId()
|
java.lang.Integer |
getParentId()
Gets the id of the parent of this comment. |
java.lang.Integer |
getRefId()
Gets the comment's reference id. |
java.lang.Integer |
getRevisionSequence()
|
java.lang.Integer |
getScopeId()
Gets the comment's scopeId. |
java.lang.Integer |
getStatus()
|
java.lang.Integer |
getThreadId()
|
java.util.Date |
getThreadUpdatedDate()
|
java.lang.Integer |
getUpdatedBy()
|
WsUser |
getUser()
Gets the user who made the comment. |
java.util.List<java.lang.Integer> |
getUserIdsWhoLiked()
|
void |
setActive(java.lang.Boolean active)
|
void |
setAvatar(java.lang.String avatar)
|
void |
setChildComments(java.util.List<WsComment> childComments)
|
void |
setCommentText(java.lang.String commentText)
Sets the text of the comment. |
void |
setCommentType(java.lang.Integer commentType)
|
void |
setCreatedBy(java.lang.Integer createdBy)
|
void |
setCreatedDate(java.util.Date createdDate)
|
void |
setDocumentId(java.lang.Integer documentId)
Sets the id of the document associated with this comment. |
void |
setDocumentKey(java.lang.String documentKey)
|
void |
setDocumentName(java.lang.String documentName)
|
void |
setDocumentVersionId(java.lang.Integer documentVersionId)
|
void |
setEntryDate(java.util.Calendar entryDate)
Sets the date the comment was made. |
void |
setId(java.lang.Long id)
Sets the comment's id. |
void |
setImportant(java.lang.Boolean important)
|
void |
setOriginDocumentId(java.lang.Integer originDocumentId)
|
void |
setParentId(java.lang.Integer parentId)
Sets the id of the parent of this comment. |
void |
setRefId(java.lang.Integer refId)
Sets the comment's reference id. |
void |
setRevisionSequence(java.lang.Integer revisionSequence)
|
void |
setScopeId(java.lang.Integer scope)
Sets the comment's scopeId. |
void |
setStatus(java.lang.Integer status)
|
void |
setThreadId(java.lang.Integer threadId)
|
void |
setThreadUpdatedDate(java.util.Date threadUpdatedDate)
|
void |
setUpdatedBy(java.lang.Integer updatedBy)
|
void |
setUser(WsUser user)
Sets the user who made the comment. |
void |
setUserIdsWhoLiked(java.util.List<java.lang.Integer> userIdsWhoLiked)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsComment()
public WsComment(java.lang.String commentText,
java.lang.Integer scopeId,
java.lang.Integer refId)
commentText - text of the commentscopeId - scope of the element associated with the commentrefId - id associated with the comment
public WsComment(java.lang.String commentText,
java.lang.Integer documentId)
commentText - text of the commentdocumentId - id of the document associated with the comment| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the id to setpublic java.lang.String getCommentText()
public void setCommentText(java.lang.String commentText)
commentText - the comment to setpublic WsUser getUser()
public void setUser(WsUser user)
user - the user to setpublic java.lang.Integer getScopeId()
WsScopepublic void setScopeId(java.lang.Integer scope)
scopeId - the scopeId to setWsScopepublic java.lang.Integer getRefId()
public void setRefId(java.lang.Integer refId)
refId - the reference id to setpublic java.util.Calendar getEntryDate()
public void setEntryDate(java.util.Calendar entryDate)
entryDate - date of the commentpublic java.lang.Integer getDocumentId()
public void setDocumentId(java.lang.Integer documentId)
documentId - id of the associated documentpublic java.lang.Integer getParentId()
public void setParentId(java.lang.Integer parentId)
parentId - id of the parent commentpublic java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
public java.lang.Integer getCommentType()
public void setCommentType(java.lang.Integer commentType)
public java.lang.String getAvatar()
public void setAvatar(java.lang.String avatar)
public java.lang.String getDocumentName()
public void setDocumentName(java.lang.String documentName)
public java.lang.String getDocumentKey()
public void setDocumentKey(java.lang.String documentKey)
public java.lang.Integer getDocumentVersionId()
public void setDocumentVersionId(java.lang.Integer documentVersionId)
public java.lang.Integer getOriginDocumentId()
public void setOriginDocumentId(java.lang.Integer originDocumentId)
public java.lang.Integer getThreadId()
public void setThreadId(java.lang.Integer threadId)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date createdDate)
public java.util.Date getThreadUpdatedDate()
public void setThreadUpdatedDate(java.util.Date threadUpdatedDate)
public java.lang.Integer getCreatedBy()
public void setCreatedBy(java.lang.Integer createdBy)
public java.lang.Integer getUpdatedBy()
public void setUpdatedBy(java.lang.Integer updatedBy)
public java.lang.Integer getRevisionSequence()
public void setRevisionSequence(java.lang.Integer revisionSequence)
public java.util.List<java.lang.Integer> getUserIdsWhoLiked()
public void setUserIdsWhoLiked(java.util.List<java.lang.Integer> userIdsWhoLiked)
public java.util.List<WsComment> getChildComments()
public void setChildComments(java.util.List<WsComment> childComments)
public java.lang.Boolean getImportant()
public void setImportant(java.lang.Boolean important)
public java.lang.Integer getStatus()
public void setStatus(java.lang.Integer status)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||