001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
022 public class UserGroupFinderUtil {
023 public static int countByC_N_D(long companyId, java.lang.String name,
024 java.lang.String description,
025 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().countByC_N_D(companyId, name, description, params);
028 }
029
030 public static com.liferay.portal.model.UserGroup findByC_N(long companyId,
031 java.lang.String name)
032 throws com.liferay.portal.NoSuchUserGroupException,
033 com.liferay.portal.kernel.exception.SystemException {
034 return getFinder().findByC_N(companyId, name);
035 }
036
037 public static java.util.List<com.liferay.portal.model.UserGroup> findByC_N_D(
038 long companyId, java.lang.String name, java.lang.String description,
039 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
040 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder()
043 .findByC_N_D(companyId, name, description, params, start,
044 end, obc);
045 }
046
047 public static UserGroupFinder getFinder() {
048 if (_finder == null) {
049 _finder = (UserGroupFinder)PortalBeanLocatorUtil.locate(UserGroupFinder.class.getName());
050 }
051
052 return _finder;
053 }
054
055 public void setFinder(UserGroupFinder finder) {
056 _finder = finder;
057 }
058
059 private static UserGroupFinder _finder;
060 }