com.liferay.portlet.social.model
Class BaseSocialActivityInterpreter

java.lang.Object
  extended by 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

Constructor Summary
BaseSocialActivityInterpreter()
           
 
Method Summary
 java.lang.String cleanContent(java.lang.String content)
           
protected abstract  SocialActivityFeedEntry doInterpret(SocialActivity activity, ThemeDisplay themeDisplay)
           
 java.lang.String getUserName(long userId, ThemeDisplay themeDisplay)
           
 SocialActivityFeedEntry interpret(SocialActivity activity, ThemeDisplay themeDisplay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.social.model.SocialActivityInterpreter
getClassNames
 

Constructor Detail

BaseSocialActivityInterpreter

public BaseSocialActivityInterpreter()
Method Detail

cleanContent

public java.lang.String cleanContent(java.lang.String content)

getUserName

public java.lang.String getUserName(long userId,
                                    ThemeDisplay themeDisplay)

interpret

public SocialActivityFeedEntry interpret(SocialActivity activity,
                                         ThemeDisplay themeDisplay)
Specified by:
interpret in interface SocialActivityInterpreter

doInterpret

protected abstract SocialActivityFeedEntry doInterpret(SocialActivity activity,
                                                       ThemeDisplay themeDisplay)
                                                throws java.lang.Exception
Throws:
java.lang.Exception