public class SocialActivityInterpreterImpl extends Object implements SocialActivityInterpreter
Constructor and Description |
---|
SocialActivityInterpreterImpl(String portletId,
SocialActivityInterpreter activityInterpreter) |
Modifier and Type | Method and Description |
---|---|
String[] |
getClassNames() |
String |
getPortletId() |
String |
getSelector() |
boolean |
hasClassName(String className) |
boolean |
hasPermission(PermissionChecker permissionChecker,
SocialActivity activity,
String actionId,
ServiceContext serviceContext) |
SocialActivityFeedEntry |
interpret(SocialActivity activity,
ServiceContext serviceContext) |
SocialActivityFeedEntry |
interpret(SocialActivitySet activitySet,
ServiceContext serviceContext) |
void |
updateActivitySet(long activityId) |
public SocialActivityInterpreterImpl(String portletId, SocialActivityInterpreter activityInterpreter)
public String[] getClassNames()
getClassNames
in interface SocialActivityInterpreter
public String getPortletId()
public String getSelector()
getSelector
in interface SocialActivityInterpreter
public boolean hasClassName(String className)
public boolean hasPermission(PermissionChecker permissionChecker, SocialActivity activity, String actionId, ServiceContext serviceContext) throws Exception
hasPermission
in interface SocialActivityInterpreter
Exception
public SocialActivityFeedEntry interpret(SocialActivity activity, ServiceContext serviceContext)
interpret
in interface SocialActivityInterpreter
public SocialActivityFeedEntry interpret(SocialActivitySet activitySet, ServiceContext serviceContext)
interpret
in interface SocialActivityInterpreter
public void updateActivitySet(long activityId) throws PortalException
updateActivitySet
in interface SocialActivityInterpreter
PortalException