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 MDRRuleGroupLocalServiceUtil {
038
043
044
051 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addMDRRuleGroup(
052 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 return getService().addMDRRuleGroup(mdrRuleGroup);
055 }
056
057
063 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup createMDRRuleGroup(
064 long ruleGroupId) {
065 return getService().createMDRRuleGroup(ruleGroupId);
066 }
067
068
076 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
077 long ruleGroupId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return getService().deleteMDRRuleGroup(ruleGroupId);
081 }
082
083
090 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
091 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return getService().deleteMDRRuleGroup(mdrRuleGroup);
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.MDRRuleGroup fetchMDRRuleGroup(
187 long ruleGroupId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return getService().fetchMDRRuleGroup(ruleGroupId);
190 }
191
192
200 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndCompanyId(
201 java.lang.String uuid, long companyId)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return getService().fetchMDRRuleGroupByUuidAndCompanyId(uuid, companyId);
204 }
205
206
214 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndGroupId(
215 java.lang.String uuid, long groupId)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return getService().fetchMDRRuleGroupByUuidAndGroupId(uuid, groupId);
218 }
219
220
228 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroup(
229 long ruleGroupId)
230 throws com.liferay.portal.kernel.exception.PortalException,
231 com.liferay.portal.kernel.exception.SystemException {
232 return getService().getMDRRuleGroup(ruleGroupId);
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.MDRRuleGroup getMDRRuleGroupByUuidAndCompanyId(
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().getMDRRuleGroupByUuidAndCompanyId(uuid, companyId);
256 }
257
258
267 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(
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().getMDRRuleGroupByUuidAndGroupId(uuid, groupId);
272 }
273
274
286 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getMDRRuleGroups(
287 int start, int end)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return getService().getMDRRuleGroups(start, end);
290 }
291
292
298 public static int getMDRRuleGroupsCount()
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return getService().getMDRRuleGroupsCount();
301 }
302
303
310 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(
311 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return getService().updateMDRRuleGroup(mdrRuleGroup);
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.MDRRuleGroup addRuleGroup(
335 long groupId,
336 java.util.Map<java.util.Locale, java.lang.String> nameMap,
337 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
338 com.liferay.portal.service.ServiceContext serviceContext)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 return getService()
342 .addRuleGroup(groupId, nameMap, descriptionMap,
343 serviceContext);
344 }
345
346 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
347 long ruleGroupId, long groupId,
348 com.liferay.portal.service.ServiceContext serviceContext)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return getService().copyRuleGroup(ruleGroupId, groupId, serviceContext);
352 }
353
354 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
355 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup,
356 long groupId, com.liferay.portal.service.ServiceContext serviceContext)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return getService().copyRuleGroup(ruleGroup, groupId, serviceContext);
360 }
361
362 public static void deleteRuleGroup(long ruleGroupId)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 getService().deleteRuleGroup(ruleGroupId);
365 }
366
367 public static void deleteRuleGroup(
368 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 getService().deleteRuleGroup(ruleGroup);
371 }
372
373 public static void deleteRuleGroups(long groupId)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 getService().deleteRuleGroups(groupId);
376 }
377
378 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
379 long ruleGroupId)
380 throws com.liferay.portal.kernel.exception.SystemException {
381 return getService().fetchRuleGroup(ruleGroupId);
382 }
383
384 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
385 long ruleGroupId)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 return getService().getRuleGroup(ruleGroupId);
389 }
390
391 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
392 long groupId)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 return getService().getRuleGroups(groupId);
395 }
396
397 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
398 long groupId, int start, int end)
399 throws com.liferay.portal.kernel.exception.SystemException {
400 return getService().getRuleGroups(groupId, start, end);
401 }
402
403 public static int getRuleGroupsCount(long groupId)
404 throws com.liferay.portal.kernel.exception.SystemException {
405 return getService().getRuleGroupsCount(groupId);
406 }
407
408
412 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
413 long groupId, java.lang.String name, boolean andOperator, int start,
414 int end) throws com.liferay.portal.kernel.exception.SystemException {
415 return getService().search(groupId, name, andOperator, start, end);
416 }
417
418 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
419 long groupId, java.lang.String name,
420 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
421 boolean andOperator, int start, int end)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return getService()
424 .search(groupId, name, params, andOperator, start, end);
425 }
426
427
431 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
432 long groupId, java.lang.String keywords, boolean andOperator,
433 int start, int end)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return getService()
436 .searchByKeywords(groupId, keywords, andOperator, start, end);
437 }
438
439 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
440 long groupId, java.lang.String keywords,
441 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
442 boolean andOperator, int start, int end)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return getService()
445 .searchByKeywords(groupId, keywords, params, andOperator,
446 start, end);
447 }
448
449
453 public static int searchByKeywordsCount(long groupId,
454 java.lang.String keywords, boolean andOperator)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return getService().searchByKeywordsCount(groupId, keywords, andOperator);
457 }
458
459 public static int searchByKeywordsCount(long groupId,
460 java.lang.String keywords,
461 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
462 boolean andOperator)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return getService()
465 .searchByKeywordsCount(groupId, keywords, params, andOperator);
466 }
467
468
472 public static int searchCount(long groupId, java.lang.String name,
473 boolean andOperator)
474 throws com.liferay.portal.kernel.exception.SystemException {
475 return getService().searchCount(groupId, name, andOperator);
476 }
477
478 public static int searchCount(long groupId, java.lang.String name,
479 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
480 boolean andOperator)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return getService().searchCount(groupId, name, params, andOperator);
483 }
484
485 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
486 long ruleGroupId,
487 java.util.Map<java.util.Locale, java.lang.String> nameMap,
488 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
489 com.liferay.portal.service.ServiceContext serviceContext)
490 throws com.liferay.portal.kernel.exception.PortalException,
491 com.liferay.portal.kernel.exception.SystemException {
492 return getService()
493 .updateRuleGroup(ruleGroupId, nameMap, descriptionMap,
494 serviceContext);
495 }
496
497 public static MDRRuleGroupLocalService getService() {
498 if (_service == null) {
499 _service = (MDRRuleGroupLocalService)PortalBeanLocatorUtil.locate(MDRRuleGroupLocalService.class.getName());
500
501 ReferenceRegistry.registerReference(MDRRuleGroupLocalServiceUtil.class,
502 "_service");
503 }
504
505 return _service;
506 }
507
508
511 public void setService(MDRRuleGroupLocalService service) {
512 }
513
514 private static MDRRuleGroupLocalService _service;
515 }