001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class MDRActionServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
059 long ruleGroupInstanceId,
060 java.util.Map<java.util.Locale, java.lang.String> nameMap,
061 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
062 java.lang.String type, java.lang.String typeSettings,
063 com.liferay.portal.service.ServiceContext serviceContext)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 return getService()
067 .addAction(ruleGroupInstanceId, nameMap, descriptionMap,
068 type, typeSettings, serviceContext);
069 }
070
071 public static com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
072 long ruleGroupInstanceId,
073 java.util.Map<java.util.Locale, java.lang.String> nameMap,
074 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
075 java.lang.String type,
076 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
077 com.liferay.portal.service.ServiceContext serviceContext)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return getService()
081 .addAction(ruleGroupInstanceId, nameMap, descriptionMap,
082 type, typeSettingsProperties, serviceContext);
083 }
084
085 public static void deleteAction(long actionId)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 getService().deleteAction(actionId);
089 }
090
091 public static com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
092 long actionId)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException {
095 return getService().fetchAction(actionId);
096 }
097
098 public static com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
099 long actionId)
100 throws com.liferay.portal.kernel.exception.PortalException,
101 com.liferay.portal.kernel.exception.SystemException {
102 return getService().getAction(actionId);
103 }
104
105 public static com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
106 long actionId,
107 java.util.Map<java.util.Locale, java.lang.String> nameMap,
108 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
109 java.lang.String type, java.lang.String typeSettings,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return getService()
114 .updateAction(actionId, nameMap, descriptionMap, type,
115 typeSettings, serviceContext);
116 }
117
118 public static com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
119 long actionId,
120 java.util.Map<java.util.Locale, java.lang.String> nameMap,
121 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
122 java.lang.String type,
123 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 return getService()
128 .updateAction(actionId, nameMap, descriptionMap, type,
129 typeSettingsProperties, serviceContext);
130 }
131
132 public static MDRActionService getService() {
133 if (_service == null) {
134 _service = (MDRActionService)PortalBeanLocatorUtil.locate(MDRActionService.class.getName());
135
136 ReferenceRegistry.registerReference(MDRActionServiceUtil.class,
137 "_service");
138 }
139
140 return _service;
141 }
142
143
146 public void setService(MDRActionService service) {
147 }
148
149 private static MDRActionService _service;
150 }