com.liferay.portlet.social.model
Class BaseSocialActivityInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialActivityInterpreter
- All Implemented Interfaces:
- SocialActivityInterpreter
- Direct Known Subclasses:
- BlogsActivityInterpreter, CalendarActivityInterpreter, DLActivityInterpreter, IGActivityInterpreter, MBActivityInterpreter, PortalActivityInterpreter, TasksActivityInterpreter, 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)
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)
wrapLink
protected String wrapLink(String link,
String text)
wrapLink
protected String wrapLink(String link,
String key,
ThemeDisplay themeDisplay)