com.liferay.portlet.messageboards.social
Class MBThreadActivityInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialActivityInterpreter
com.liferay.portlet.messageboards.social.MBThreadActivityInterpreter
- All Implemented Interfaces:
- SocialActivityInterpreter
public class MBThreadActivityInterpreter
- extends BaseSocialActivityInterpreter
Method Summary |
protected String |
getBody(SocialActivity activity,
ServiceContext serviceContext)
|
String[] |
getClassNames()
|
protected MBMessage |
getMessage(SocialActivity activity)
|
protected String |
getPath(SocialActivity activity,
ServiceContext serviceContext)
|
protected Object[] |
getTitleArguments(String groupName,
SocialActivity activity,
String link,
String title,
ServiceContext serviceContext)
|
protected String |
getTitlePattern(String groupName,
SocialActivity activity)
|
protected boolean |
hasPermissions(PermissionChecker permissionChecker,
SocialActivity activity,
String actionId,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.social.model.BaseSocialActivityInterpreter |
addNoSuchEntryRedirect, buildLink, cleanContent, doInterpret, doInterpret, doInterpret, getActivitySetId, getEntryTitle, getGroupName, getGroupName, getJSONValue, getJSONValue, getLink, getSelector, getTitle, getUserName, getUserName, getValue, getViewEntryPortletURL, hasPermission, interpret, interpret, updateActivitySet, wrapLink, wrapLink |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBThreadActivityInterpreter
public MBThreadActivityInterpreter()
getClassNames
public String[] getClassNames()
getBody
protected String getBody(SocialActivity activity,
ServiceContext serviceContext)
throws Exception
- Overrides:
getBody
in class BaseSocialActivityInterpreter
- Throws:
Exception
getMessage
protected MBMessage getMessage(SocialActivity activity)
throws Exception
- Throws:
Exception
getPath
protected String getPath(SocialActivity activity,
ServiceContext serviceContext)
throws Exception
- Overrides:
getPath
in class BaseSocialActivityInterpreter
- Throws:
Exception
getTitleArguments
protected Object[] getTitleArguments(String groupName,
SocialActivity activity,
String link,
String title,
ServiceContext serviceContext)
- Overrides:
getTitleArguments
in class BaseSocialActivityInterpreter
getTitlePattern
protected String getTitlePattern(String groupName,
SocialActivity activity)
- Overrides:
getTitlePattern
in class BaseSocialActivityInterpreter
hasPermissions
protected boolean hasPermissions(PermissionChecker permissionChecker,
SocialActivity activity,
String actionId,
ServiceContext serviceContext)
throws Exception
- Overrides:
hasPermissions
in class BaseSocialActivityInterpreter
- Throws:
Exception