1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25
31 public class ShoppingCouponFinderUtil {
32 public static int countByG_C_C_A_DT(long groupId, long companyId,
33 java.lang.String code, boolean active, java.lang.String discountType,
34 boolean andOperator) throws com.liferay.portal.SystemException {
35 return getFinder().countByG_C_C_A_DT(groupId, companyId, code, active,
36 discountType, andOperator);
37 }
38
39 public static java.util.List findByG_C_C_A_DT(long groupId, long companyId,
40 java.lang.String code, boolean active, java.lang.String discountType,
41 boolean andOperator, int begin, int end)
42 throws com.liferay.portal.SystemException {
43 return getFinder().findByG_C_C_A_DT(groupId, companyId, code, active,
44 discountType, andOperator, begin, end);
45 }
46
47 public static ShoppingCouponFinder getFinder() {
48 return _getUtil()._finder;
49 }
50
51 public void setFinder(ShoppingCouponFinder finder) {
52 _finder = finder;
53 }
54
55 private static ShoppingCouponFinderUtil _getUtil() {
56 if (_util == null) {
57 _util = (ShoppingCouponFinderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
58 }
59
60 return _util;
61 }
62
63 private static final String _UTIL = ShoppingCouponFinderUtil.class.getName();
64 private static ShoppingCouponFinderUtil _util;
65 private ShoppingCouponFinder _finder;
66 }