|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface SocialActivityInterpreterLocalService
The interface for the social activity interpreter local service.
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.
SocialActivityInterpreterLocalServiceUtil
,
SocialActivityInterpreterLocalServiceBaseImpl
,
SocialActivityInterpreterLocalServiceImpl
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. |
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. |
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanvoid addActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter
- the activity interpretervoid deleteActivityInterpreter(SocialActivityInterpreter activityInterpreter)
activityInterpreter
- the activity interpreterSocialActivityFeedEntry 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
found
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |