org.exoplatform.social.service.rest.api.models
Class CommentRestOut
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.exoplatform.social.service.rest.api.models.CommentRestOut
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class CommentRestOut
- extends HashMap<String,Object>
The comment model for Social Rest APIs.
- Since:
- 1.2.3
- Author:
- phuonglm
- See Also:
- Serialized Form
|
Constructor Summary |
CommentRestOut()
Default constructor |
CommentRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity,
String portalContainerName)
Construct Comments model ExoSocialActivity |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
CommentRestOut
public CommentRestOut()
- Default constructor
CommentRestOut
public CommentRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity,
String portalContainerName)
- Construct Comments model ExoSocialActivity
- Parameters:
commentActivity -
getId
public String getId()
setId
public void setId(String id)
getPosterIdentity
public IdentityRestOut getPosterIdentity()
setPosterIdentity
public void setPosterIdentity(IdentityRestOut posterIdentity)
setPosterIdentity
public void setPosterIdentity(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity,
String portalContainerName)
getText
public String getText()
setText
public void setText(String text)
getPostedTime
public Long getPostedTime()
setPostedTime
public void setPostedTime(Long postedTime)
getCreatedAt
public String getCreatedAt()
setCreatedAt
public void setCreatedAt(String createdAt)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.