1
22
23 package com.liferay.portlet.shopping.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface ShoppingItemPricePersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> shoppingItemPrices);
46
47 public void clearCache();
48
49 public com.liferay.portlet.shopping.model.ShoppingItemPrice create(
50 long itemPriceId);
51
52 public com.liferay.portlet.shopping.model.ShoppingItemPrice remove(
53 long itemPriceId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.shopping.NoSuchItemPriceException;
56
57 public com.liferay.portlet.shopping.model.ShoppingItemPrice remove(
58 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.shopping.model.ShoppingItemPrice update(
65 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.shopping.model.ShoppingItemPrice update(
81 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.shopping.model.ShoppingItemPrice updateImpl(
85 com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByPrimaryKey(
89 long itemPriceId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.shopping.NoSuchItemPriceException;
92
93 public com.liferay.portlet.shopping.model.ShoppingItemPrice fetchByPrimaryKey(
94 long itemPriceId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
97 long itemId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
100 long itemId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findByItemId(
104 long itemId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_First(
109 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.shopping.NoSuchItemPriceException;
112
113 public com.liferay.portlet.shopping.model.ShoppingItemPrice findByItemId_Last(
114 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.shopping.NoSuchItemPriceException;
117
118 public com.liferay.portlet.shopping.model.ShoppingItemPrice[] findByItemId_PrevAndNext(
119 long itemPriceId, long itemId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.shopping.NoSuchItemPriceException;
123
124 public java.util.List<Object> findWithDynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<Object> findWithDynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.SystemException;
131
132 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll()
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
136 int start, int end) throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> findAll(
139 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException;
141
142 public void removeByItemId(long itemId)
143 throws com.liferay.portal.SystemException;
144
145 public void removeAll() throws com.liferay.portal.SystemException;
146
147 public int countByItemId(long itemId)
148 throws com.liferay.portal.SystemException;
149
150 public int countAll() throws com.liferay.portal.SystemException;
151 }