|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap
org.json.simple.JSONObject
org.exoplatform.social.client.core.model.ModelImpl
org.exoplatform.social.client.core.model.RestCommentImpl
public class RestCommentImpl
Implementation of RestComment.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface org.exoplatform.social.client.api.model.RestComment |
|---|
RestComment.Field |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.social.client.core.model.ModelImpl |
|---|
propertyChanges |
| Constructor Summary | |
|---|---|
RestCommentImpl()
Constructor without any params. |
|
RestCommentImpl(String id,
String identityId,
String activityId,
Long postedTime,
String createdAt)
Constructor. |
|
| 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()
Gets the identity who commented. |
String |
getIdentityId()
Gets identity id who posted this comment. |
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 identityId)
Sets identity id who posted this comment. |
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 class org.exoplatform.social.client.core.model.ModelImpl |
|---|
addPropertyChangeListener, addToListField, findPropertyChangeListeners, getField, getFieldAsList, getFieldAsMap, getFieldAsString, getFieldNames, hasField, isFieldMultikeyed, isFieldMultivalued, removePropertyChangeListener, setField |
| Methods inherited from class org.json.simple.JSONObject |
|---|
escape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONString |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public RestCommentImpl()
public RestCommentImpl(String id,
String identityId,
String activityId,
Long postedTime,
String createdAt)
id - the comment ididentityId - the identity idactivityId - the activity idpostedTime - the posted time| Method Detail |
|---|
public String getId()
getId in interface RestCommentpublic void setId(String id)
setId in interface RestCommentid - the comment idpublic String getIdentityId()
getIdentityId in interface RestCommentpublic void setIdentityId(String identityId)
setIdentityId in interface RestCommentidentityId - the identity idpublic String getActivityId()
getActivityId in interface RestCommentpublic void setActivityId(String activityId)
setActivityId in interface RestCommentactivityId - the activity idpublic String getText()
getText in interface RestCommentpublic void setText(String content)
setText in interface RestCommentcontent - the comment contentpublic Long getPostedTime()
getPostedTime in interface RestCommentpublic void setPostedTime(Long postedTime)
setPostedTime in interface RestCommentpostedTime - the posted time of this comment.public String getCreatedAt()
getCreatedAt in interface RestCommentpublic void setCreatedAt(String createdAt)
setCreatedAt in interface RestCommentcreatedAt - the time string valuepublic RestActivity getActivity()
getActivity in interface RestCommentpublic RestIdentity getIdentity()
getIdentity in interface RestCommentpublic RestIdentity getPosterIdentity()
getPosterIdentity in interface RestCommentpublic void setPosterIdentity(RestIdentity restIdentity)
setPosterIdentity in interface RestComment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||