|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.service.SocialActivityInterpreterLocalServiceWrapper
public class SocialActivityInterpreterLocalServiceWrapper
This class is a wrapper for SocialActivityInterpreterLocalService
.
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 |
---|
public SocialActivityInterpreterLocalServiceWrapper(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Method Detail |
---|
public String getBeanIdentifier()
getBeanIdentifier
in interface SocialActivityInterpreterLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface SocialActivityInterpreterLocalService
beanIdentifier
- the Spring bean ID for this beanpublic void addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
addActivityInterpreter
in interface SocialActivityInterpreterLocalService
activityInterpreter
- the activity interpreterpublic void deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
deleteActivityInterpreter
in interface SocialActivityInterpreterLocalService
activityInterpreter
- the activity interpreterpublic SocialActivityFeedEntry interpret(SocialActivity activity, ThemeDisplay themeDisplay)
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.
interpret
in interface SocialActivityInterpreterLocalService
activity
- the activity to be translated to human readable formthemeDisplay
- the theme display needed by interpreters to create
links and get localized text fragments
null
if a compatible interpreter is not
foundpublic SocialActivityInterpreterLocalService getWrappedSocialActivityInterpreterLocalService()
getWrappedService()
public void setWrappedSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
setWrappedService(com.liferay.portlet.social.service.SocialActivityInterpreterLocalService)
public SocialActivityInterpreterLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<SocialActivityInterpreterLocalService>
public void setWrappedService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
setWrappedService
in interface ServiceWrapper<SocialActivityInterpreterLocalService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |