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()
36 .countByG_C_C_A_DT(groupId, companyId, code, active,
37 discountType, andOperator);
38 }
39
40 public static java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> findByG_C_C_A_DT(
41 long groupId, long companyId, java.lang.String code, boolean active,
42 java.lang.String discountType, boolean andOperator, int begin, int end)
43 throws com.liferay.portal.SystemException {
44 return getFinder()
45 .findByG_C_C_A_DT(groupId, companyId, code, active,
46 discountType, andOperator, begin, end);
47 }
48
49 public static ShoppingCouponFinder getFinder() {
50 return _getUtil()._finder;
51 }
52
53 public void setFinder(ShoppingCouponFinder finder) {
54 _finder = finder;
55 }
56
57 private static ShoppingCouponFinderUtil _getUtil() {
58 if (_util == null) {
59 _util = (ShoppingCouponFinderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
60 }
61
62 return _util;
63 }
64
65 private static final String _UTIL = ShoppingCouponFinderUtil.class.getName();
66 private static ShoppingCouponFinderUtil _util;
67 private ShoppingCouponFinder _finder;
68 }