1
14
15 package com.liferay.portlet.shopping.service;
16
17
18
34 public class ShoppingItemLocalServiceWrapper implements ShoppingItemLocalService {
35 public ShoppingItemLocalServiceWrapper(
36 ShoppingItemLocalService shoppingItemLocalService) {
37 _shoppingItemLocalService = shoppingItemLocalService;
38 }
39
40 public com.liferay.portlet.shopping.model.ShoppingItem addShoppingItem(
41 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
42 throws com.liferay.portal.SystemException {
43 return _shoppingItemLocalService.addShoppingItem(shoppingItem);
44 }
45
46 public com.liferay.portlet.shopping.model.ShoppingItem createShoppingItem(
47 long itemId) {
48 return _shoppingItemLocalService.createShoppingItem(itemId);
49 }
50
51 public void deleteShoppingItem(long itemId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _shoppingItemLocalService.deleteShoppingItem(itemId);
55 }
56
57 public void deleteShoppingItem(
58 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
59 throws com.liferay.portal.SystemException {
60 _shoppingItemLocalService.deleteShoppingItem(shoppingItem);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return _shoppingItemLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.SystemException {
80 return _shoppingItemLocalService.dynamicQuery(dynamicQuery, start, end,
81 orderByComparator);
82 }
83
84 public int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return _shoppingItemLocalService.dynamicQueryCount(dynamicQuery);
88 }
89
90 public com.liferay.portlet.shopping.model.ShoppingItem getShoppingItem(
91 long itemId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return _shoppingItemLocalService.getShoppingItem(itemId);
95 }
96
97 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getShoppingItems(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return _shoppingItemLocalService.getShoppingItems(start, end);
100 }
101
102 public int getShoppingItemsCount()
103 throws com.liferay.portal.SystemException {
104 return _shoppingItemLocalService.getShoppingItemsCount();
105 }
106
107 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
108 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
109 throws com.liferay.portal.SystemException {
110 return _shoppingItemLocalService.updateShoppingItem(shoppingItem);
111 }
112
113 public com.liferay.portlet.shopping.model.ShoppingItem updateShoppingItem(
114 com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
115 boolean merge) throws com.liferay.portal.SystemException {
116 return _shoppingItemLocalService.updateShoppingItem(shoppingItem, merge);
117 }
118
119 public void addBookItems(long userId, long categoryId,
120 java.lang.String[] isbns)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 _shoppingItemLocalService.addBookItems(userId, categoryId, isbns);
124 }
125
126 public com.liferay.portlet.shopping.model.ShoppingItem addItem(
127 long userId, long categoryId, java.lang.String sku,
128 java.lang.String name, java.lang.String description,
129 java.lang.String properties, java.lang.String fieldsQuantities,
130 boolean requiresShipping, int stockQuantity, boolean featured,
131 java.lang.Boolean sale, boolean smallImage,
132 java.lang.String smallImageURL, java.io.File smallFile,
133 boolean mediumImage, java.lang.String mediumImageURL,
134 java.io.File mediumFile, boolean largeImage,
135 java.lang.String largeImageURL, java.io.File largeFile,
136 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
137 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
138 com.liferay.portal.service.ServiceContext serviceContext)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException {
141 return _shoppingItemLocalService.addItem(userId, categoryId, sku, name,
142 description, properties, fieldsQuantities, requiresShipping,
143 stockQuantity, featured, sale, smallImage, smallImageURL,
144 smallFile, mediumImage, mediumImageURL, mediumFile, largeImage,
145 largeImageURL, largeFile, itemFields, itemPrices, serviceContext);
146 }
147
148 public void addItemResources(long itemId, boolean addCommunityPermissions,
149 boolean addGuestPermissions)
150 throws com.liferay.portal.PortalException,
151 com.liferay.portal.SystemException {
152 _shoppingItemLocalService.addItemResources(itemId,
153 addCommunityPermissions, addGuestPermissions);
154 }
155
156 public void addItemResources(long itemId,
157 java.lang.String[] communityPermissions,
158 java.lang.String[] guestPermissions)
159 throws com.liferay.portal.PortalException,
160 com.liferay.portal.SystemException {
161 _shoppingItemLocalService.addItemResources(itemId,
162 communityPermissions, guestPermissions);
163 }
164
165 public void addItemResources(
166 com.liferay.portlet.shopping.model.ShoppingCategory category,
167 com.liferay.portlet.shopping.model.ShoppingItem item,
168 boolean addCommunityPermissions, boolean addGuestPermissions)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException {
171 _shoppingItemLocalService.addItemResources(category, item,
172 addCommunityPermissions, addGuestPermissions);
173 }
174
175 public void addItemResources(
176 com.liferay.portlet.shopping.model.ShoppingCategory category,
177 com.liferay.portlet.shopping.model.ShoppingItem item,
178 java.lang.String[] communityPermissions,
179 java.lang.String[] guestPermissions)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 _shoppingItemLocalService.addItemResources(category, item,
183 communityPermissions, guestPermissions);
184 }
185
186 public void deleteItem(long itemId)
187 throws com.liferay.portal.PortalException,
188 com.liferay.portal.SystemException {
189 _shoppingItemLocalService.deleteItem(itemId);
190 }
191
192 public void deleteItem(com.liferay.portlet.shopping.model.ShoppingItem item)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 _shoppingItemLocalService.deleteItem(item);
196 }
197
198 public void deleteItems(long categoryId)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 _shoppingItemLocalService.deleteItems(categoryId);
202 }
203
204 public int getCategoriesItemsCount(java.util.List<Long> categoryIds)
205 throws com.liferay.portal.SystemException {
206 return _shoppingItemLocalService.getCategoriesItemsCount(categoryIds);
207 }
208
209 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getFeaturedItems(
210 long groupId, long categoryId, int numOfItems)
211 throws com.liferay.portal.SystemException {
212 return _shoppingItemLocalService.getFeaturedItems(groupId, categoryId,
213 numOfItems);
214 }
215
216 public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
217 throws com.liferay.portal.PortalException,
218 com.liferay.portal.SystemException {
219 return _shoppingItemLocalService.getItem(itemId);
220 }
221
222 public com.liferay.portlet.shopping.model.ShoppingItem getItem(
223 long companyId, java.lang.String sku)
224 throws com.liferay.portal.PortalException,
225 com.liferay.portal.SystemException {
226 return _shoppingItemLocalService.getItem(companyId, sku);
227 }
228
229 public com.liferay.portlet.shopping.model.ShoppingItem getItemByLargeImageId(
230 long largeImageId)
231 throws com.liferay.portal.PortalException,
232 com.liferay.portal.SystemException {
233 return _shoppingItemLocalService.getItemByLargeImageId(largeImageId);
234 }
235
236 public com.liferay.portlet.shopping.model.ShoppingItem getItemByMediumImageId(
237 long mediumImageId)
238 throws com.liferay.portal.PortalException,
239 com.liferay.portal.SystemException {
240 return _shoppingItemLocalService.getItemByMediumImageId(mediumImageId);
241 }
242
243 public com.liferay.portlet.shopping.model.ShoppingItem getItemBySmallImageId(
244 long smallImageId)
245 throws com.liferay.portal.PortalException,
246 com.liferay.portal.SystemException {
247 return _shoppingItemLocalService.getItemBySmallImageId(smallImageId);
248 }
249
250 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
251 long categoryId) throws com.liferay.portal.SystemException {
252 return _shoppingItemLocalService.getItems(categoryId);
253 }
254
255 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(
256 long categoryId, int start, int end,
257 com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.SystemException {
259 return _shoppingItemLocalService.getItems(categoryId, start, end, obc);
260 }
261
262 public int getItemsCount(long categoryId)
263 throws com.liferay.portal.SystemException {
264 return _shoppingItemLocalService.getItemsCount(categoryId);
265 }
266
267 public com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(
268 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
269 throws com.liferay.portal.PortalException,
270 com.liferay.portal.SystemException {
271 return _shoppingItemLocalService.getItemsPrevAndNext(itemId, obc);
272 }
273
274 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getSaleItems(
275 long groupId, long categoryId, int numOfItems)
276 throws com.liferay.portal.SystemException {
277 return _shoppingItemLocalService.getSaleItems(groupId, categoryId,
278 numOfItems);
279 }
280
281 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> search(
282 long groupId, long[] categoryIds, java.lang.String keywords, int start,
283 int end) throws com.liferay.portal.SystemException {
284 return _shoppingItemLocalService.search(groupId, categoryIds, keywords,
285 start, end);
286 }
287
288 public int searchCount(long groupId, long[] categoryIds,
289 java.lang.String keywords) throws com.liferay.portal.SystemException {
290 return _shoppingItemLocalService.searchCount(groupId, categoryIds,
291 keywords);
292 }
293
294 public com.liferay.portlet.shopping.model.ShoppingItem updateItem(
295 long userId, long itemId, long categoryId, java.lang.String sku,
296 java.lang.String name, java.lang.String description,
297 java.lang.String properties, java.lang.String fieldsQuantities,
298 boolean requiresShipping, int stockQuantity, boolean featured,
299 java.lang.Boolean sale, boolean smallImage,
300 java.lang.String smallImageURL, java.io.File smallFile,
301 boolean mediumImage, java.lang.String mediumImageURL,
302 java.io.File mediumFile, boolean largeImage,
303 java.lang.String largeImageURL, java.io.File largeFile,
304 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
305 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
306 com.liferay.portal.service.ServiceContext serviceContext)
307 throws com.liferay.portal.PortalException,
308 com.liferay.portal.SystemException {
309 return _shoppingItemLocalService.updateItem(userId, itemId, categoryId,
310 sku, name, description, properties, fieldsQuantities,
311 requiresShipping, stockQuantity, featured, sale, smallImage,
312 smallImageURL, smallFile, mediumImage, mediumImageURL, mediumFile,
313 largeImage, largeImageURL, largeFile, itemFields, itemPrices,
314 serviceContext);
315 }
316
317 public ShoppingItemLocalService getWrappedShoppingItemLocalService() {
318 return _shoppingItemLocalService;
319 }
320
321 private ShoppingItemLocalService _shoppingItemLocalService;
322 }