public interface Comment extends Resource
Resource interface.
This interface can be used to add, view or modify existing comments on the registry.| Modifier and Type | Method and Description |
|---|---|
long |
getCommentID()
Method to get the comment id.
|
String |
getCommentPath()
Method to get the comment path.
|
String |
getText()
Get the comment text.
|
String |
getUser()
Get the commenting user.
|
void |
setCommentID(long commentID)
Method to set the comment id.
|
void |
setCommentPath(String commentPath)
Method to set the comment path.
|
void |
setText(String text)
Set the comment text.
|
void |
setUser(String user)
Set the commenting user.
|
addAspect, addProperty, discard, editPropertyValue, getAspects, getAuthorUserName, getContent, getContentStream, getCreatedTime, getDescription, getId, getLastModified, getLastUpdaterUserName, getMediaType, getParentPath, getPath, getPermanentPath, getProperties, getProperty, getPropertyValues, getState, removeAspect, removeProperty, removePropertyValue, setContent, setContentStream, setDescription, setMediaType, setProperties, setProperty, setPropertyString getText()
void setText(String text)
text - the textString getUser()
void setUser(String user)
user - the commenting userString getCommentPath()
void setCommentPath(String commentPath)
commentPath - the comment pathlong getCommentID()
void setCommentID(long commentID)
commentID - the comment id.Copyright © 2018 WSO2 Inc. All rights reserved.