Liferay 6.2-ce-ga5

com.liferay.portlet.social.model.impl
Class SocialActivityInterpreterImpl

java.lang.Object
  extended by com.liferay.portlet.social.model.impl.SocialActivityInterpreterImpl
All Implemented Interfaces:
SocialActivityInterpreter

public class SocialActivityInterpreterImpl
extends Object
implements SocialActivityInterpreter


Constructor Summary
SocialActivityInterpreterImpl(String portletId, SocialActivityInterpreter activityInterpreter)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivityInterpreterImpl

public SocialActivityInterpreterImpl(String portletId,
                                     SocialActivityInterpreter activityInterpreter)
Method Detail

getClassNames

public String[] getClassNames()
Specified by:
getClassNames in interface SocialActivityInterpreter

getPortletId

public String getPortletId()

getSelector

public String getSelector()
Specified by:
getSelector in interface SocialActivityInterpreter

hasClassName

public boolean hasClassName(String className)

hasPermission

public boolean hasPermission(PermissionChecker permissionChecker,
                             SocialActivity activity,
                             String actionId,
                             ServiceContext serviceContext)
                      throws Exception
Specified by:
hasPermission in interface SocialActivityInterpreter
Throws:
Exception

interpret

public SocialActivityFeedEntry interpret(SocialActivity activity,
                                         ServiceContext serviceContext)
Specified by:
interpret in interface SocialActivityInterpreter

interpret

public SocialActivityFeedEntry interpret(SocialActivitySet activitySet,
                                         ServiceContext serviceContext)
Specified by:
interpret in interface SocialActivityInterpreter

updateActivitySet

public void updateActivitySet(long activityId)
                       throws PortalException,
                              SystemException
Specified by:
updateActivitySet in interface SocialActivityInterpreter
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5