1
14
15 package com.liferay.portlet.shopping.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.shopping.model.ShoppingOrderItem;
20
21
34 public interface ShoppingOrderItemPersistence extends BasePersistence<ShoppingOrderItem> {
35 public void cacheResult(
36 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> shoppingOrderItems);
40
41 public com.liferay.portlet.shopping.model.ShoppingOrderItem create(
42 long orderItemId);
43
44 public com.liferay.portlet.shopping.model.ShoppingOrderItem remove(
45 long orderItemId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.shopping.NoSuchOrderItemException;
48
49 public com.liferay.portlet.shopping.model.ShoppingOrderItem updateImpl(
50 com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByPrimaryKey(
55 long orderItemId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.shopping.NoSuchOrderItemException;
58
59 public com.liferay.portlet.shopping.model.ShoppingOrderItem fetchByPrimaryKey(
60 long orderItemId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findByOrderId(
64 long orderId)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findByOrderId(
68 long orderId, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findByOrderId(
72 long orderId, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_First(
77 long orderId,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.shopping.NoSuchOrderItemException;
81
82 public com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_Last(
83 long orderId,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.shopping.NoSuchOrderItemException;
87
88 public com.liferay.portlet.shopping.model.ShoppingOrderItem[] findByOrderId_PrevAndNext(
89 long orderItemId, long orderId,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.shopping.NoSuchOrderItemException;
93
94 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findAll()
95 throws com.liferay.portal.kernel.exception.SystemException;
96
97 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findAll(
98 int start, int end)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.shopping.model.ShoppingOrderItem> findAll(
102 int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public void removeByOrderId(long orderId)
107 throws com.liferay.portal.kernel.exception.SystemException;
108
109 public void removeAll()
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public int countByOrderId(long orderId)
113 throws com.liferay.portal.kernel.exception.SystemException;
114
115 public int countAll()
116 throws com.liferay.portal.kernel.exception.SystemException;
117 }