Liferay 6.1.2-ce-ga3

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

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

This class is 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.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 SocialActivityInterpreterLocalService getWrappedService()
           
 SocialActivityInterpreterLocalService getWrappedSocialActivityInterpreterLocalService()
          Deprecated. Renamed to getWrappedService()
 SocialActivityFeedEntry interpret(SocialActivity activity, ThemeDisplay themeDisplay)
          Creates a human readable activity feed entry for the activity using an available compatible activity interpreter.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
           
 void setWrappedSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.social.service.SocialActivityInterpreterLocalService)
 
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

interpret

public SocialActivityFeedEntry interpret(SocialActivity activity,
                                         ThemeDisplay themeDisplay)
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
themeDisplay - the theme display needed by interpreters to create links and get localized text fragments
Returns:
the activity feed that is a human readable form of the activity record or null if a compatible interpreter is not found

getWrappedSocialActivityInterpreterLocalService

public SocialActivityInterpreterLocalService getWrappedSocialActivityInterpreterLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedSocialActivityInterpreterLocalService

public void setWrappedSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Deprecated. Renamed to 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.1.2-ce-ga3