com.liferay.portlet.social.model
Class BaseSocialActivityInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialActivityInterpreter
- All Implemented Interfaces:
- SocialActivityInterpreter
- Direct Known Subclasses:
- BlogsActivityInterpreter, BookmarksActivityInterpreter, CalendarActivityInterpreter, DLActivityInterpreter, MBActivityInterpreter, PortalActivityInterpreter, WikiActivityInterpreter
public abstract class BaseSocialActivityInterpreter
- extends Object
- implements SocialActivityInterpreter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSocialActivityInterpreter
public BaseSocialActivityInterpreter()
interpret
public SocialActivityFeedEntry interpret(SocialActivity activity,
ThemeDisplay themeDisplay)
- Specified by:
interpret
in interface SocialActivityInterpreter
cleanContent
protected String cleanContent(String content)
- Deprecated.
doInterpret
protected abstract SocialActivityFeedEntry doInterpret(SocialActivity activity,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception
getGroupName
protected String getGroupName(long groupId,
ThemeDisplay themeDisplay)
getUserName
protected String getUserName(long userId,
ThemeDisplay themeDisplay)
getValue
protected String getValue(String extraData,
String key,
String defaultValue)
wrapLink
protected String wrapLink(String link,
String text)
wrapLink
protected String wrapLink(String link,
String key,
ThemeDisplay themeDisplay)