1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25
31 public interface ShoppingOrderPersistence {
32 public com.liferay.portlet.shopping.model.ShoppingOrder create(long orderId);
33
34 public com.liferay.portlet.shopping.model.ShoppingOrder remove(long orderId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.shopping.NoSuchOrderException;
37
38 public com.liferay.portlet.shopping.model.ShoppingOrder remove(
39 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.shopping.model.ShoppingOrder update(
43 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.shopping.model.ShoppingOrder update(
47 com.liferay.portlet.shopping.model.ShoppingOrder shoppingOrder,
48 boolean merge) throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.shopping.model.ShoppingOrder findByPrimaryKey(
51 long orderId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.shopping.NoSuchOrderException;
54
55 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByPrimaryKey(
56 long orderId) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.shopping.model.ShoppingOrder findByNumber(
59 java.lang.String number)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.shopping.NoSuchOrderException;
62
63 public com.liferay.portlet.shopping.model.ShoppingOrder fetchByNumber(
64 java.lang.String number) throws com.liferay.portal.SystemException;
65
66 public java.util.List findByG_U_PPPS(long groupId, long userId,
67 java.lang.String ppPaymentStatus)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findByG_U_PPPS(long groupId, long userId,
71 java.lang.String ppPaymentStatus, int begin, int end)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List findByG_U_PPPS(long groupId, long userId,
75 java.lang.String ppPaymentStatus, int begin, int end,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_First(
80 long groupId, long userId, java.lang.String ppPaymentStatus,
81 com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.shopping.NoSuchOrderException;
84
85 public com.liferay.portlet.shopping.model.ShoppingOrder findByG_U_PPPS_Last(
86 long groupId, long userId, java.lang.String ppPaymentStatus,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.shopping.NoSuchOrderException;
90
91 public com.liferay.portlet.shopping.model.ShoppingOrder[] findByG_U_PPPS_PrevAndNext(
92 long orderId, long groupId, long userId,
93 java.lang.String ppPaymentStatus,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.shopping.NoSuchOrderException;
97
98 public java.util.List findWithDynamicQuery(
99 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List findWithDynamicQuery(
103 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
104 int begin, int end) throws com.liferay.portal.SystemException;
105
106 public java.util.List findAll() throws com.liferay.portal.SystemException;
107
108 public java.util.List findAll(int begin, int end)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List findAll(int begin, int end,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException;
114
115 public void removeByNumber(java.lang.String number)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.shopping.NoSuchOrderException;
118
119 public void removeByG_U_PPPS(long groupId, long userId,
120 java.lang.String ppPaymentStatus)
121 throws com.liferay.portal.SystemException;
122
123 public void removeAll() throws com.liferay.portal.SystemException;
124
125 public int countByNumber(java.lang.String number)
126 throws com.liferay.portal.SystemException;
127
128 public int countByG_U_PPPS(long groupId, long userId,
129 java.lang.String ppPaymentStatus)
130 throws com.liferay.portal.SystemException;
131
132 public int countAll() throws com.liferay.portal.SystemException;
133 }