|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.service.SocialActivityInterpreterLocalServiceUtil
@ProviderType public class SocialActivityInterpreterLocalServiceUtil
Provides the local service utility for SocialActivityInterpreter. This utility wraps
SocialActivityInterpreterLocalServiceImpl and is the
primary access point for service operations in application layer code running
on the local server. 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,
SocialActivityInterpreterLocalServiceBaseImpl,
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 Map<String,List<SocialActivityInterpreter>> |
getActivityInterpreters()
|
static List<SocialActivityInterpreter> |
getActivityInterpreters(String selector)
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
static SocialActivityInterpreterLocalService |
getService()
|
static SocialActivityFeedEntry |
interpret(SocialActivity activity,
ThemeDisplay themeDisplay)
Deprecated. As of 6.2.0, replaced by interpret(String,
SocialActivity, ServiceContext) |
static SocialActivityFeedEntry |
interpret(String selector,
SocialActivity activity,
ServiceContext serviceContext)
Creates a human readable activity feed entry for the activity using an available compatible activity interpreter. |
static SocialActivityFeedEntry |
interpret(String selector,
SocialActivitySet activitySet,
ServiceContext serviceContext)
|
static void |
updateActivitySet(long activityId)
|
| 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 void addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter - the activity interpreterpublic static void deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter - the activity interpreterpublic static Map<String,List<SocialActivityInterpreter>> getActivityInterpreters()
public static List<SocialActivityInterpreter> getActivityInterpreters(String selector)
public static String getOSGiServiceIdentifier()
@Deprecated
public static SocialActivityFeedEntry interpret(SocialActivity activity,
ThemeDisplay themeDisplay)
interpret(String,
SocialActivity, ServiceContext)
public static SocialActivityFeedEntry interpret(String selector,
SocialActivity activity,
ServiceContext serviceContext)
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.
selector - the context in which the activity interpreter is usedactivity - the activity to be translated to human readable formserviceContext - the service context to be applied
null if a compatible interpreter is not
found
public static SocialActivityFeedEntry interpret(String selector,
SocialActivitySet activitySet,
ServiceContext serviceContext)
public static void updateActivitySet(long activityId)
throws PortalException
PortalExceptionpublic static SocialActivityInterpreterLocalService getService()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||