001
014
015 package com.liferay.portlet.social.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
034 public class SocialActivityInterpreterLocalServiceUtil {
035
040
041
046 public static java.lang.String getBeanIdentifier() {
047 return getService().getBeanIdentifier();
048 }
049
050
055 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
056 getService().setBeanIdentifier(beanIdentifier);
057 }
058
059
064 public static void addActivityInterpreter(
065 com.liferay.portlet.social.model.SocialActivityInterpreter activityInterpreter) {
066 getService().addActivityInterpreter(activityInterpreter);
067 }
068
069
074 public static void deleteActivityInterpreter(
075 com.liferay.portlet.social.model.SocialActivityInterpreter activityInterpreter) {
076 getService().deleteActivityInterpreter(activityInterpreter);
077 }
078
079 public static java.util.Map<java.lang.String, java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter>> getActivityInterpreters() {
080 return getService().getActivityInterpreters();
081 }
082
083 public static java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter> getActivityInterpreters(
084 java.lang.String selector) {
085 return getService().getActivityInterpreters(selector);
086 }
087
088
092 public static com.liferay.portlet.social.model.SocialActivityFeedEntry interpret(
093 com.liferay.portlet.social.model.SocialActivity activity,
094 com.liferay.portal.theme.ThemeDisplay themeDisplay) {
095 return getService().interpret(activity, themeDisplay);
096 }
097
098
113 public static com.liferay.portlet.social.model.SocialActivityFeedEntry interpret(
114 java.lang.String selector,
115 com.liferay.portlet.social.model.SocialActivity activity,
116 com.liferay.portal.service.ServiceContext serviceContext) {
117 return getService().interpret(selector, activity, serviceContext);
118 }
119
120 public static com.liferay.portlet.social.model.SocialActivityFeedEntry interpret(
121 java.lang.String selector,
122 com.liferay.portlet.social.model.SocialActivitySet activitySet,
123 com.liferay.portal.service.ServiceContext serviceContext) {
124 return getService().interpret(selector, activitySet, serviceContext);
125 }
126
127 public static void updateActivitySet(long activityId)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 getService().updateActivitySet(activityId);
131 }
132
133 public static SocialActivityInterpreterLocalService getService() {
134 if (_service == null) {
135 _service = (SocialActivityInterpreterLocalService)PortalBeanLocatorUtil.locate(SocialActivityInterpreterLocalService.class.getName());
136
137 ReferenceRegistry.registerReference(SocialActivityInterpreterLocalServiceUtil.class,
138 "_service");
139 }
140
141 return _service;
142 }
143
144
147 public void setService(SocialActivityInterpreterLocalService service) {
148 }
149
150 private static SocialActivityInterpreterLocalService _service;
151 }