001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class MDRActionLocalServiceUtil {
038
043
044
051 public static com.liferay.portlet.mobiledevicerules.model.MDRAction addMDRAction(
052 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 return getService().addMDRAction(mdrAction);
055 }
056
057
063 public static com.liferay.portlet.mobiledevicerules.model.MDRAction createMDRAction(
064 long actionId) {
065 return getService().createMDRAction(actionId);
066 }
067
068
076 public static com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
077 long actionId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return getService().deleteMDRAction(actionId);
081 }
082
083
090 public static com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
091 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return getService().deleteMDRAction(mdrAction);
094 }
095
096 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
097 return getService().dynamicQuery();
098 }
099
100
107 @SuppressWarnings("rawtypes")
108 public static java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return getService().dynamicQuery(dynamicQuery);
112 }
113
114
127 @SuppressWarnings("rawtypes")
128 public static java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return getService().dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @SuppressWarnings("rawtypes")
149 public static java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return getService()
155 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
156 }
157
158
165 public static long dynamicQueryCount(
166 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167 throws com.liferay.portal.kernel.exception.SystemException {
168 return getService().dynamicQueryCount(dynamicQuery);
169 }
170
171
179 public static long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return getService().dynamicQueryCount(dynamicQuery, projection);
184 }
185
186 public static com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRAction(
187 long actionId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return getService().fetchMDRAction(actionId);
190 }
191
192
200 public static com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRActionByUuidAndCompanyId(
201 java.lang.String uuid, long companyId)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return getService().fetchMDRActionByUuidAndCompanyId(uuid, companyId);
204 }
205
206
214 public static com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRActionByUuidAndGroupId(
215 java.lang.String uuid, long groupId)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return getService().fetchMDRActionByUuidAndGroupId(uuid, groupId);
218 }
219
220
228 public static com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRAction(
229 long actionId)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 return getService().getMDRAction(actionId);
233 }
234
235 public static com.liferay.portal.model.PersistedModel getPersistedModel(
236 java.io.Serializable primaryKeyObj)
237 throws com.liferay.portal.kernel.exception.PortalException,
238 com.liferay.portal.kernel.exception.SystemException {
239 return getService().getPersistedModel(primaryKeyObj);
240 }
241
242
251 public static com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRActionByUuidAndCompanyId(
252 java.lang.String uuid, long companyId)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return getService().getMDRActionByUuidAndCompanyId(uuid, companyId);
256 }
257
258
267 public static com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRActionByUuidAndGroupId(
268 java.lang.String uuid, long groupId)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException {
271 return getService().getMDRActionByUuidAndGroupId(uuid, groupId);
272 }
273
274
286 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActions(
287 int start, int end)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return getService().getMDRActions(start, end);
290 }
291
292
298 public static int getMDRActionsCount()
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return getService().getMDRActionsCount();
301 }
302
303
310 public static com.liferay.portlet.mobiledevicerules.model.MDRAction updateMDRAction(
311 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return getService().updateMDRAction(mdrAction);
314 }
315
316
321 public static java.lang.String getBeanIdentifier() {
322 return getService().getBeanIdentifier();
323 }
324
325
330 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
331 getService().setBeanIdentifier(beanIdentifier);
332 }
333
334 public static com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
335 long ruleGroupInstanceId,
336 java.util.Map<java.util.Locale, java.lang.String> nameMap,
337 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
338 java.lang.String type, java.lang.String typeSettings,
339 com.liferay.portal.service.ServiceContext serviceContext)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException {
342 return getService()
343 .addAction(ruleGroupInstanceId, nameMap, descriptionMap,
344 type, typeSettings, serviceContext);
345 }
346
347 public static com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
348 long ruleGroupInstanceId,
349 java.util.Map<java.util.Locale, java.lang.String> nameMap,
350 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
351 java.lang.String type,
352 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
353 com.liferay.portal.service.ServiceContext serviceContext)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return getService()
357 .addAction(ruleGroupInstanceId, nameMap, descriptionMap,
358 type, typeSettingsProperties, serviceContext);
359 }
360
361 public static void deleteAction(long actionId)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 getService().deleteAction(actionId);
364 }
365
366 public static void deleteAction(
367 com.liferay.portlet.mobiledevicerules.model.MDRAction action)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 getService().deleteAction(action);
370 }
371
372 public static void deleteActions(long ruleGroupInstanceId)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 getService().deleteActions(ruleGroupInstanceId);
375 }
376
377 public static com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
378 long actionId)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return getService().fetchAction(actionId);
381 }
382
383 public static com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
384 long actionId)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException {
387 return getService().getAction(actionId);
388 }
389
390 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
391 long ruleGroupInstanceId)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return getService().getActions(ruleGroupInstanceId);
394 }
395
396 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
397 long ruleGroupInstanceId, int start, int end)
398 throws com.liferay.portal.kernel.exception.SystemException {
399 return getService().getActions(ruleGroupInstanceId, start, end);
400 }
401
402 public static int getActionsCount(long ruleGroupInstanceId)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return getService().getActionsCount(ruleGroupInstanceId);
405 }
406
407 public static com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
408 long actionId,
409 java.util.Map<java.util.Locale, java.lang.String> nameMap,
410 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
411 java.lang.String type, java.lang.String typeSettings,
412 com.liferay.portal.service.ServiceContext serviceContext)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 return getService()
416 .updateAction(actionId, nameMap, descriptionMap, type,
417 typeSettings, serviceContext);
418 }
419
420 public static com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
421 long actionId,
422 java.util.Map<java.util.Locale, java.lang.String> nameMap,
423 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
424 java.lang.String type,
425 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
426 com.liferay.portal.service.ServiceContext serviceContext)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 return getService()
430 .updateAction(actionId, nameMap, descriptionMap, type,
431 typeSettingsProperties, serviceContext);
432 }
433
434 public static MDRActionLocalService getService() {
435 if (_service == null) {
436 _service = (MDRActionLocalService)PortalBeanLocatorUtil.locate(MDRActionLocalService.class.getName());
437
438 ReferenceRegistry.registerReference(MDRActionLocalServiceUtil.class,
439 "_service");
440 }
441
442 return _service;
443 }
444
445
448 public void setService(MDRActionLocalService service) {
449 }
450
451 private static MDRActionLocalService _service;
452 }