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
034 public class MDRRuleGroupLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addMDRRuleGroup(
049 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addMDRRuleGroup(mdrRuleGroup);
052 }
053
054
060 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup createMDRRuleGroup(
061 long ruleGroupId) {
062 return getService().createMDRRuleGroup(ruleGroupId);
063 }
064
065
073 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
074 long ruleGroupId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return getService().deleteMDRRuleGroup(ruleGroupId);
078 }
079
080
087 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
088 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return getService().deleteMDRRuleGroup(mdrRuleGroup);
091 }
092
093 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return getService().dynamicQuery();
095 }
096
097
104 @SuppressWarnings("rawtypes")
105 public static java.util.List dynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().dynamicQuery(dynamicQuery);
109 }
110
111
124 @SuppressWarnings("rawtypes")
125 public static java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return getService().dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @SuppressWarnings("rawtypes")
146 public static java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getService()
152 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153 }
154
155
162 public static long dynamicQueryCount(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getService().dynamicQueryCount(dynamicQuery);
166 }
167
168
176 public static long dynamicQueryCount(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178 com.liferay.portal.kernel.dao.orm.Projection projection)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().dynamicQueryCount(dynamicQuery, projection);
181 }
182
183 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroup(
184 long ruleGroupId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return getService().fetchMDRRuleGroup(ruleGroupId);
187 }
188
189
197 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndCompanyId(
198 java.lang.String uuid, long companyId)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return getService().fetchMDRRuleGroupByUuidAndCompanyId(uuid, companyId);
201 }
202
203
211 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndGroupId(
212 java.lang.String uuid, long groupId)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return getService().fetchMDRRuleGroupByUuidAndGroupId(uuid, groupId);
215 }
216
217
225 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroup(
226 long ruleGroupId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return getService().getMDRRuleGroup(ruleGroupId);
230 }
231
232 public static com.liferay.portal.model.PersistedModel getPersistedModel(
233 java.io.Serializable primaryKeyObj)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 return getService().getPersistedModel(primaryKeyObj);
237 }
238
239
248 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndCompanyId(
249 java.lang.String uuid, long companyId)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 return getService().getMDRRuleGroupByUuidAndCompanyId(uuid, companyId);
253 }
254
255
264 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(
265 java.lang.String uuid, long groupId)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return getService().getMDRRuleGroupByUuidAndGroupId(uuid, groupId);
269 }
270
271
283 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getMDRRuleGroups(
284 int start, int end)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 return getService().getMDRRuleGroups(start, end);
287 }
288
289
295 public static int getMDRRuleGroupsCount()
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return getService().getMDRRuleGroupsCount();
298 }
299
300
307 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(
308 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
309 throws com.liferay.portal.kernel.exception.SystemException {
310 return getService().updateMDRRuleGroup(mdrRuleGroup);
311 }
312
313
318 public static java.lang.String getBeanIdentifier() {
319 return getService().getBeanIdentifier();
320 }
321
322
327 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
328 getService().setBeanIdentifier(beanIdentifier);
329 }
330
331 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
332 long groupId,
333 java.util.Map<java.util.Locale, java.lang.String> nameMap,
334 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
335 com.liferay.portal.service.ServiceContext serviceContext)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 return getService()
339 .addRuleGroup(groupId, nameMap, descriptionMap,
340 serviceContext);
341 }
342
343 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
344 long ruleGroupId, long groupId,
345 com.liferay.portal.service.ServiceContext serviceContext)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return getService().copyRuleGroup(ruleGroupId, groupId, serviceContext);
349 }
350
351 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
352 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup,
353 long groupId, com.liferay.portal.service.ServiceContext serviceContext)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return getService().copyRuleGroup(ruleGroup, groupId, serviceContext);
357 }
358
359 public static void deleteRuleGroup(long ruleGroupId)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 getService().deleteRuleGroup(ruleGroupId);
362 }
363
364 public static void deleteRuleGroup(
365 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 getService().deleteRuleGroup(ruleGroup);
368 }
369
370 public static void deleteRuleGroups(long groupId)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 getService().deleteRuleGroups(groupId);
373 }
374
375 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
376 long ruleGroupId)
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return getService().fetchRuleGroup(ruleGroupId);
379 }
380
381 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
382 long ruleGroupId)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 return getService().getRuleGroup(ruleGroupId);
386 }
387
388 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
389 long groupId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return getService().getRuleGroups(groupId);
392 }
393
394 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
395 long groupId, int start, int end)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return getService().getRuleGroups(groupId, start, end);
398 }
399
400 public static int getRuleGroupsCount(long groupId)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return getService().getRuleGroupsCount(groupId);
403 }
404
405
409 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
410 long groupId, java.lang.String name, boolean andOperator, int start,
411 int end) throws com.liferay.portal.kernel.exception.SystemException {
412 return getService().search(groupId, name, andOperator, start, end);
413 }
414
415 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
416 long groupId, java.lang.String name,
417 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
418 boolean andOperator, int start, int end)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return getService()
421 .search(groupId, name, params, andOperator, start, end);
422 }
423
424
428 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
429 long groupId, java.lang.String keywords, boolean andOperator,
430 int start, int end)
431 throws com.liferay.portal.kernel.exception.SystemException {
432 return getService()
433 .searchByKeywords(groupId, keywords, andOperator, start, end);
434 }
435
436 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
437 long groupId, java.lang.String keywords,
438 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
439 boolean andOperator, int start, int end)
440 throws com.liferay.portal.kernel.exception.SystemException {
441 return getService()
442 .searchByKeywords(groupId, keywords, params, andOperator,
443 start, end);
444 }
445
446
450 public static int searchByKeywordsCount(long groupId,
451 java.lang.String keywords, boolean andOperator)
452 throws com.liferay.portal.kernel.exception.SystemException {
453 return getService().searchByKeywordsCount(groupId, keywords, andOperator);
454 }
455
456 public static int searchByKeywordsCount(long groupId,
457 java.lang.String keywords,
458 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
459 boolean andOperator)
460 throws com.liferay.portal.kernel.exception.SystemException {
461 return getService()
462 .searchByKeywordsCount(groupId, keywords, params, andOperator);
463 }
464
465
469 public static int searchCount(long groupId, java.lang.String name,
470 boolean andOperator)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 return getService().searchCount(groupId, name, andOperator);
473 }
474
475 public static int searchCount(long groupId, java.lang.String name,
476 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
477 boolean andOperator)
478 throws com.liferay.portal.kernel.exception.SystemException {
479 return getService().searchCount(groupId, name, params, andOperator);
480 }
481
482 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
483 long ruleGroupId,
484 java.util.Map<java.util.Locale, java.lang.String> nameMap,
485 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
486 com.liferay.portal.service.ServiceContext serviceContext)
487 throws com.liferay.portal.kernel.exception.PortalException,
488 com.liferay.portal.kernel.exception.SystemException {
489 return getService()
490 .updateRuleGroup(ruleGroupId, nameMap, descriptionMap,
491 serviceContext);
492 }
493
494 public static MDRRuleGroupLocalService getService() {
495 if (_service == null) {
496 _service = (MDRRuleGroupLocalService)PortalBeanLocatorUtil.locate(MDRRuleGroupLocalService.class.getName());
497
498 ReferenceRegistry.registerReference(MDRRuleGroupLocalServiceUtil.class,
499 "_service");
500 }
501
502 return _service;
503 }
504
505
508 public void setService(MDRRuleGroupLocalService service) {
509 }
510
511 private static MDRRuleGroupLocalService _service;
512 }