001
014
015 package com.liferay.portlet.social.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
036 public class SocialRequestInterpreterLocalServiceUtil {
037 public static void addRequestInterpreter(
038 com.liferay.portlet.social.model.SocialRequestInterpreter requestInterpreter) {
039 getService().addRequestInterpreter(requestInterpreter);
040 }
041
042 public static void deleteRequestInterpreter(
043 com.liferay.portlet.social.model.SocialRequestInterpreter requestInterpreter) {
044 getService().deleteRequestInterpreter(requestInterpreter);
045 }
046
047 public static com.liferay.portlet.social.model.SocialRequestFeedEntry interpret(
048 com.liferay.portlet.social.model.SocialRequest request,
049 com.liferay.portal.theme.ThemeDisplay themeDisplay) {
050 return getService().interpret(request, themeDisplay);
051 }
052
053 public static void processConfirmation(
054 com.liferay.portlet.social.model.SocialRequest request,
055 com.liferay.portal.theme.ThemeDisplay themeDisplay) {
056 getService().processConfirmation(request, themeDisplay);
057 }
058
059 public static void processRejection(
060 com.liferay.portlet.social.model.SocialRequest request,
061 com.liferay.portal.theme.ThemeDisplay themeDisplay) {
062 getService().processRejection(request, themeDisplay);
063 }
064
065 public static SocialRequestInterpreterLocalService getService() {
066 if (_service == null) {
067 _service = (SocialRequestInterpreterLocalService)PortalBeanLocatorUtil.locate(SocialRequestInterpreterLocalService.class.getName());
068 }
069
070 return _service;
071 }
072
073 public void setService(SocialRequestInterpreterLocalService service) {
074 _service = service;
075 }
076
077 private static SocialRequestInterpreterLocalService _service;
078 }