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 Object
- implements SocialActivityInterpreter
|
Method Summary |
protected String |
cleanContent(String content)
Deprecated. |
protected abstract SocialActivityFeedEntry |
doInterpret(SocialActivity activity,
ThemeDisplay themeDisplay)
|
protected String |
getGroupName(long groupId,
ThemeDisplay themeDisplay)
|
protected String |
getUserName(long userId,
ThemeDisplay themeDisplay)
|
protected String |
getValue(String extraData,
String key,
String defaultValue)
|
SocialActivityFeedEntry |
interpret(SocialActivitySet activitySet,
ThemeDisplay themeDisplay)
|
SocialActivityFeedEntry |
interpret(SocialActivity activity,
ThemeDisplay themeDisplay)
|
protected String |
wrapLink(String link,
String text)
|
protected String |
wrapLink(String link,
String key,
ThemeDisplay themeDisplay)
|
| 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
interpret
public SocialActivityFeedEntry interpret(SocialActivitySet activitySet,
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)