org.exoplatform.social.service.rest.api.models
Class CommentRestOut

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by 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

Nested Class Summary
static class CommentRestOut.Field
           
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
CommentRestOut()
          Default constructor
CommentRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity, String portalContainerName)
          Construct Comments model ExoSocialActivity
 
Method Summary
 String getCreatedAt()
           
 String getId()
           
 Long getPostedTime()
           
 IdentityRestOut getPosterIdentity()
           
 String getText()
           
 void setCreatedAt(String createdAt)
           
 void setId(String id)
           
 void setPostedTime(Long postedTime)
           
 void setPosterIdentity(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity, String portalContainerName)
           
 void setPosterIdentity(IdentityRestOut posterIdentity)
           
 void setText(String text)
           
 
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, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CommentRestOut

public CommentRestOut()
Default constructor


CommentRestOut

public CommentRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity commentActivity,
                      String portalContainerName)
Construct Comments model ExoSocialActivity

Parameters:
commentActivity -
Method Detail

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.