|
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.SocialActivityInterpreterLocalServiceUtil
public class SocialActivityInterpreterLocalServiceUtil
The utility for the social activity interpreter local service. This utility wraps com.liferay.portlet.social.service.impl.SocialActivityInterpreterLocalServiceImpl
and is the primary access point for service operations in application layer code running on the local server.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
SocialActivityInterpreterLocalService
,
com.liferay.portlet.social.service.base.SocialActivityInterpreterLocalServiceBaseImpl
,
com.liferay.portlet.social.service.impl.SocialActivityInterpreterLocalServiceImpl
Constructor Summary | |
---|---|
SocialActivityInterpreterLocalServiceUtil()
|
Method Summary | |
---|---|
static void |
addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
Adds the activity interpreter to the list of available interpreters. |
static void |
deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
Removes the activity interpreter from the list of available interpreters. |
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static SocialActivityInterpreterLocalService |
getService()
|
static SocialActivityFeedEntry |
interpret(SocialActivity activity,
ThemeDisplay themeDisplay)
Creates a human readable activity feed entry for the activity using an available compatible activity interpreter. |
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(SocialActivityInterpreterLocalService service)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocialActivityInterpreterLocalServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static void addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter
- the activity interpreterpublic static void deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter
- the activity interpreterpublic static 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.
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 static SocialActivityInterpreterLocalService getService()
public void setService(SocialActivityInterpreterLocalService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |