public class ActivityRestOut extends HashMap<String,Object>
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivityRestOut.Field |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ActivityRestOut()
Default constructor, used by JAX-RS.
|
ActivityRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity activity,
String portalContainerName) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic ActivityRestOut()
public ActivityRestOut(org.exoplatform.social.core.activity.model.ExoSocialActivity activity,
String portalContainerName)
public String getId()
public void setId(String id)
public String getTitle()
public void setTitle(String title)
public String getBody()
public void setBody(String body)
public Float getPriority()
public void setPriority(Float priority)
public String getAppId()
public void setAppId(String appId)
public String getType()
public void setType(String type)
public Long getPostedTime()
public Long getLastUpdatedTime()
public void setPostedTime(Long postedTime)
public void setLastUpdatedTime(Long updatedTime)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public String getTitleId()
public void setTitleId(String titleId)
public Boolean getLiked()
public void setLiked(Boolean liked)
public ArrayList<IdentityRestOut> getLikedByIdentities()
public void setLikedByIdentities(List<IdentityRestOut> likedByIdentities)
public List<CommentRestOut> getComments()
public void setComments(List<CommentRestOut> comments)
public Integer getTotalNumberOfComments()
public void setTotalNumberOfComments(Integer numberOfComments)
public IdentityRestOut getPosterIdentity()
public void setPosterIdentity(IdentityRestOut posterIdentity)
public String getIdentityId()
public void setIdentityId(String identityId)
public ActivityStreamRestOut getActivityStream()
public void setActivityStream(ActivityStreamRestOut activityStream)
public Integer getTotalNumberOfLikes()
public void setTotalNumberOfLikes(Integer totalNumberOfLikes)
public void setNumberOfLikes(int numberOfLikes,
org.exoplatform.social.core.activity.model.ExoSocialActivity activity,
String portalContainerName)
numberOfLikes - the number of likesactivity - the existing activityportalContainerName - the portal container namepublic void setNumberOfComments(int numberOfComments,
org.exoplatform.social.core.activity.model.ExoSocialActivity activity,
String portalContainerName)
numberOfComments - the number of commentsactivity - the existing activityportalContainerName - the portal container nameCopyright © 2003–2015 eXo Platform SAS. All rights reserved.