com.liferay.portlet.social.model
Class BaseSocialActivityInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialActivityInterpreter
- All Implemented Interfaces:
- SocialActivityInterpreter
public abstract class BaseSocialActivityInterpreter
- extends java.lang.Object
- implements SocialActivityInterpreter
View Source
- Author:
- Brian Wing Shun Chan, Ryan Park
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 java.lang.String cleanContent(java.lang.String content)
doInterpret
protected abstract SocialActivityFeedEntry doInterpret(SocialActivity activity,
ThemeDisplay themeDisplay)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGroupName
protected java.lang.String getGroupName(long groupId,
ThemeDisplay themeDisplay)
getUserName
protected java.lang.String getUserName(long userId,
ThemeDisplay themeDisplay)
wrapLink
protected java.lang.String wrapLink(java.lang.String link,
java.lang.String text)
wrapLink
protected java.lang.String wrapLink(java.lang.String link,
java.lang.String key,
ThemeDisplay themeDisplay)