@Entity(name="SocActivity") public class ActivityEntity extends Object implements Serializable
| Constructor and Description |
|---|
ActivityEntity() |
protected Long posted
public Long getId()
public void setId(Long id)
public String getTitle()
public void setTitle(String title)
public String getType()
public void setType(String type)
public String getTitleId()
public void setTitleId(String titleId)
public Date getPosted()
public void setPosted(Date posted)
public Date getUpdatedDate()
public void setUpdatedDate(Date updatedDate)
public String getPosterId()
public void setPosterId(String posterId)
public String getOwnerId()
public void setOwnerId(String ownerId)
public String getPermaLink()
public void setPermaLink(String permaLink)
public String getAppId()
public void setAppId(String appId)
public String getExternalId()
public void setExternalId(String externalId)
public Boolean getLocked()
public void setLocked(Boolean locked)
public Boolean getHidden()
public void setHidden(Boolean hidden)
public String getBody()
public void setBody(String body)
public void addLiker(String likerId)
public Set<LikerEntity> getLikers()
public List<ActivityEntity> getComments()
public void setComments(List<ActivityEntity> comments)
public void addComment(ActivityEntity comment)
comment - - the comment entitypublic ActivityEntity getParent()
public void setParent(ActivityEntity parent)
public boolean isComment()
public void setComment(boolean comment)
public List<StreamItemEntity> getStreamItems()
public void setStreamItems(List<StreamItemEntity> streamItems)
public void addStreamItem(StreamItemEntity item)
item - the stream itempublic void removeStreamItem(StreamItemEntity item)
public String getProviderId()
public void setProviderId(String providerId)
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.