1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class UserGroupFinderUtil {
32 public static int countByC_N_D(long companyId, java.lang.String name,
33 java.lang.String description,
34 java.util.LinkedHashMap<String, Object> params)
35 throws com.liferay.portal.SystemException {
36 return getFinder().countByC_N_D(companyId, name, description, params);
37 }
38
39 public static com.liferay.portal.model.UserGroup findByC_N(long companyId,
40 java.lang.String name)
41 throws com.liferay.portal.SystemException,
42 com.liferay.portal.NoSuchUserGroupException {
43 return getFinder().findByC_N(companyId, name);
44 }
45
46 public static java.util.List<com.liferay.portal.model.UserGroup> findByC_N_D(
47 long companyId, java.lang.String name, java.lang.String description,
48 java.util.LinkedHashMap<String, Object> params, int begin, int end,
49 com.liferay.portal.kernel.util.OrderByComparator obc)
50 throws com.liferay.portal.SystemException {
51 return getFinder()
52 .findByC_N_D(companyId, name, description, params, begin,
53 end, obc);
54 }
55
56 public static UserGroupFinder getFinder() {
57 return _getUtil()._finder;
58 }
59
60 public void setFinder(UserGroupFinder finder) {
61 _finder = finder;
62 }
63
64 private static UserGroupFinderUtil _getUtil() {
65 if (_util == null) {
66 _util = (UserGroupFinderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
67 }
68
69 return _util;
70 }
71
72 private static final String _UTIL = UserGroupFinderUtil.class.getName();
73 private static UserGroupFinderUtil _util;
74 private UserGroupFinder _finder;
75 }