|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RestComment
The RestComment model.
| Nested Class Summary | |
|---|---|
static class |
RestComment.Field
The fields that represent the RestComment object in json form. |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Method Summary | |
|---|---|
RestActivity |
getActivity()
Gets the activity is associated with this comment. |
String |
getActivityId()
Gets the activity id which is associated with this comment. |
String |
getCreatedAt()
Gets the created at of this comment as a time string value. |
String |
getId()
Gets the comment id. |
RestIdentity |
getIdentity()
Deprecated. only use with v1-alpha1 |
String |
getIdentityId()
Deprecated. only use with v1-alpha1 |
Long |
getPostedTime()
Gets the posted time of this comment as timestamp value. |
RestIdentity |
getPosterIdentity()
Gets the identity who commented. |
String |
getText()
Gets the comment content. |
void |
setActivityId(String activityId)
Sets the activity which is associated with this comment. |
void |
setCreatedAt(String createdAt)
Sets the created at of this comment as a time string value. |
void |
setId(String id)
Sets the comment id. |
void |
setIdentityId(String identidyId)
Deprecated. only use with v1-alpha1 |
void |
setPostedTime(Long postedTime)
Sets the posted time of this comment as timestamp value. |
void |
setPosterIdentity(RestIdentity restIdentity)
Sets the identity who commented. |
void |
setText(String content)
Sets the comment content. |
| Methods inherited from interface org.exoplatform.social.client.api.model.Model |
|---|
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setField |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from interface org.json.simple.JSONAware |
|---|
toJSONString |
| Methods inherited from interface org.json.simple.JSONStreamAware |
|---|
writeJSONString |
| Method Detail |
|---|
String getId()
void setId(String id)
id - the comment idString getIdentityId()
void setIdentityId(String identidyId)
identidyId - the identity idString getActivityId()
void setActivityId(String activityId)
activityId - the activity idString getText()
void setText(String content)
content - the comment contentLong getPostedTime()
void setPostedTime(Long postedTime)
postedTime - the posted time of this comment.String getCreatedAt()
void setCreatedAt(String createdAt)
createdAt - the time string valueRestActivity getActivity()
RestIdentity getIdentity()
RestIdentity getPosterIdentity()
void setPosterIdentity(RestIdentity restIdentity)
restIdentity -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||