001
014
015 package com.liferay.portlet.social.model;
016
017 import com.liferay.portal.kernel.util.GetterUtil;
018 import com.liferay.portal.kernel.util.StringPool;
019
020
023 public class SocialActivityFeedEntry {
024
025 public SocialActivityFeedEntry(String title, String body) {
026 this(null, title, body);
027 }
028
029 public SocialActivityFeedEntry(String link, String title, String body) {
030 setLink(link);
031 setTitle(title);
032 setBody(body);
033 }
034
035 public String getPortletId() {
036 return _portletId;
037 }
038
039 public void setPortletId(String portletId) {
040 _portletId = GetterUtil.getString(portletId);
041 }
042
043 public String getLink() {
044 return _link;
045 }
046
047 public void setLink(String link) {
048 _link = GetterUtil.getString(link);
049 }
050
051 public String getTitle() {
052 return _title;
053 }
054
055 public void setTitle(String title) {
056 _title = GetterUtil.getString(title);
057 }
058
059 public String getBody() {
060 return _body;
061 }
062
063 public void setBody(String body) {
064 _body = GetterUtil.getString(body);
065 }
066
067 private String _portletId = StringPool.BLANK;
068 private String _link = StringPool.BLANK;
069 private String _title = StringPool.BLANK;
070 private String _body = StringPool.BLANK;
071
072 }