Liferay 6.2-ce-ga5

com.liferay.portlet.social.service
Class SocialActivityInterpreterLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialActivityInterpreterLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, ServiceWrapper<SocialActivityInterpreterLocalService>, SocialActivityInterpreterLocalService

@ProviderType
public class SocialActivityInterpreterLocalServiceWrapper
extends Object
implements SocialActivityInterpreterLocalService, ServiceWrapper<SocialActivityInterpreterLocalService>

Provides a wrapper for SocialActivityInterpreterLocalService.

See Also:
SocialActivityInterpreterLocalService

Constructor Summary
SocialActivityInterpreterLocalServiceWrapper(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
           
 
Method Summary
 void addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
          Adds the activity interpreter to the list of available interpreters.
 void deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
          Removes the activity interpreter from the list of available interpreters.
 Map<String,List<SocialActivityInterpreter>> getActivityInterpreters()
           
 List<SocialActivityInterpreter> getActivityInterpreters(String selector)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 SocialActivityInterpreterLocalService getWrappedService()
           
 SocialActivityInterpreterLocalService getWrappedSocialActivityInterpreterLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 SocialActivityFeedEntry interpret(SocialActivity activity, ThemeDisplay themeDisplay)
          Deprecated. As of 6.2.0, replaced by interpret(String, SocialActivity, ServiceContext)
 SocialActivityFeedEntry interpret(String selector, SocialActivity activity, ServiceContext serviceContext)
          Creates a human readable activity feed entry for the activity using an available compatible activity interpreter.
 SocialActivityFeedEntry interpret(String selector, SocialActivitySet activitySet, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
           
 void setWrappedSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.social.service.SocialActivityInterpreterLocalService)
 void updateActivitySet(long activityId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialActivityInterpreterLocalServiceWrapper

public SocialActivityInterpreterLocalServiceWrapper(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface SocialActivityInterpreterLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface SocialActivityInterpreterLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addActivityInterpreter

public void addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
Adds the activity interpreter to the list of available interpreters.

Specified by:
addActivityInterpreter in interface SocialActivityInterpreterLocalService
Parameters:
activityInterpreter - the activity interpreter

deleteActivityInterpreter

public void deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
Removes the activity interpreter from the list of available interpreters.

Specified by:
deleteActivityInterpreter in interface SocialActivityInterpreterLocalService
Parameters:
activityInterpreter - the activity interpreter

getActivityInterpreters

public Map<String,List<SocialActivityInterpreter>> getActivityInterpreters()
Specified by:
getActivityInterpreters in interface SocialActivityInterpreterLocalService

getActivityInterpreters

public List<SocialActivityInterpreter> getActivityInterpreters(String selector)
Specified by:
getActivityInterpreters in interface SocialActivityInterpreterLocalService

interpret

public SocialActivityFeedEntry interpret(SocialActivity activity,
                                         ThemeDisplay themeDisplay)
Deprecated. As of 6.2.0, replaced by interpret(String, SocialActivity, ServiceContext)

Specified by:
interpret in interface SocialActivityInterpreterLocalService

interpret

public SocialActivityFeedEntry interpret(String selector,
                                         SocialActivity activity,
                                         ServiceContext serviceContext)
Creates a human readable activity feed entry for the activity using an available compatible activity interpreter.

This method finds the appropriate interpreter for the activity by going through the available interpreters and asking them if they can handle the asset type of the activity.

Specified by:
interpret in interface SocialActivityInterpreterLocalService
Parameters:
activity - the activity to be translated to human readable form
Returns:
the activity feed that is a human readable form of the activity record or null if a compatible interpreter is not found

interpret

public SocialActivityFeedEntry interpret(String selector,
                                         SocialActivitySet activitySet,
                                         ServiceContext serviceContext)
Specified by:
interpret in interface SocialActivityInterpreterLocalService

updateActivitySet

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

getWrappedSocialActivityInterpreterLocalService

public SocialActivityInterpreterLocalService getWrappedSocialActivityInterpreterLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedSocialActivityInterpreterLocalService

public void setWrappedSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.social.service.SocialActivityInterpreterLocalService)


getWrappedService

public SocialActivityInterpreterLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<SocialActivityInterpreterLocalService>

setWrappedService

public void setWrappedService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<SocialActivityInterpreterLocalService>

Liferay 6.2-ce-ga5