1
14
15 package com.liferay.portlet.shopping.service;
16
17
18
34 public class ShoppingCategoryLocalServiceWrapper
35 implements ShoppingCategoryLocalService {
36 public ShoppingCategoryLocalServiceWrapper(
37 ShoppingCategoryLocalService shoppingCategoryLocalService) {
38 _shoppingCategoryLocalService = shoppingCategoryLocalService;
39 }
40
41 public com.liferay.portlet.shopping.model.ShoppingCategory addShoppingCategory(
42 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _shoppingCategoryLocalService.addShoppingCategory(shoppingCategory);
45 }
46
47 public com.liferay.portlet.shopping.model.ShoppingCategory createShoppingCategory(
48 long categoryId) {
49 return _shoppingCategoryLocalService.createShoppingCategory(categoryId);
50 }
51
52 public void deleteShoppingCategory(long categoryId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _shoppingCategoryLocalService.deleteShoppingCategory(categoryId);
56 }
57
58 public void deleteShoppingCategory(
59 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _shoppingCategoryLocalService.deleteShoppingCategory(shoppingCategory);
62 }
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.kernel.exception.SystemException {
67 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery);
68 }
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.kernel.exception.SystemException {
73 return _shoppingCategoryLocalService.dynamicQuery(dynamicQuery, start,
74 end);
75 }
76
77 public com.liferay.portlet.shopping.model.ShoppingCategory getShoppingCategory(
78 long categoryId)
79 throws com.liferay.portal.kernel.exception.PortalException,
80 com.liferay.portal.kernel.exception.SystemException {
81 return _shoppingCategoryLocalService.getShoppingCategory(categoryId);
82 }
83
84 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getShoppingCategories(
85 int start, int end)
86 throws com.liferay.portal.kernel.exception.SystemException {
87 return _shoppingCategoryLocalService.getShoppingCategories(start, end);
88 }
89
90 public int getShoppingCategoriesCount()
91 throws com.liferay.portal.kernel.exception.SystemException {
92 return _shoppingCategoryLocalService.getShoppingCategoriesCount();
93 }
94
95 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
96 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory)
97 throws com.liferay.portal.kernel.exception.SystemException {
98 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory);
99 }
100
101 public com.liferay.portlet.shopping.model.ShoppingCategory updateShoppingCategory(
102 com.liferay.portlet.shopping.model.ShoppingCategory shoppingCategory,
103 boolean merge)
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return _shoppingCategoryLocalService.updateShoppingCategory(shoppingCategory,
106 merge);
107 }
108
109 public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(
110 long userId, long parentCategoryId, java.lang.String name,
111 java.lang.String description,
112 com.liferay.portal.service.ServiceContext serviceContext)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException {
115 return _shoppingCategoryLocalService.addCategory(userId,
116 parentCategoryId, name, description, serviceContext);
117 }
118
119 public void addCategoryResources(long categoryId,
120 boolean addCommunityPermissions, boolean addGuestPermissions)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 _shoppingCategoryLocalService.addCategoryResources(categoryId,
124 addCommunityPermissions, addGuestPermissions);
125 }
126
127 public void addCategoryResources(long categoryId,
128 java.lang.String[] communityPermissions,
129 java.lang.String[] guestPermissions)
130 throws com.liferay.portal.kernel.exception.PortalException,
131 com.liferay.portal.kernel.exception.SystemException {
132 _shoppingCategoryLocalService.addCategoryResources(categoryId,
133 communityPermissions, guestPermissions);
134 }
135
136 public void addCategoryResources(
137 com.liferay.portlet.shopping.model.ShoppingCategory category,
138 boolean addCommunityPermissions, boolean addGuestPermissions)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 _shoppingCategoryLocalService.addCategoryResources(category,
142 addCommunityPermissions, addGuestPermissions);
143 }
144
145 public void addCategoryResources(
146 com.liferay.portlet.shopping.model.ShoppingCategory category,
147 java.lang.String[] communityPermissions,
148 java.lang.String[] guestPermissions)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 _shoppingCategoryLocalService.addCategoryResources(category,
152 communityPermissions, guestPermissions);
153 }
154
155 public void deleteCategories(long groupId)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 _shoppingCategoryLocalService.deleteCategories(groupId);
159 }
160
161 public void deleteCategory(long categoryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 _shoppingCategoryLocalService.deleteCategory(categoryId);
165 }
166
167 public void deleteCategory(
168 com.liferay.portlet.shopping.model.ShoppingCategory category)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 _shoppingCategoryLocalService.deleteCategory(category);
172 }
173
174 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
175 long groupId)
176 throws com.liferay.portal.kernel.exception.SystemException {
177 return _shoppingCategoryLocalService.getCategories(groupId);
178 }
179
180 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(
181 long groupId, long parentCategoryId, int start, int end)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _shoppingCategoryLocalService.getCategories(groupId,
184 parentCategoryId, start, end);
185 }
186
187 public int getCategoriesCount(long groupId, long parentCategoryId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _shoppingCategoryLocalService.getCategoriesCount(groupId,
190 parentCategoryId);
191 }
192
193 public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(
194 long categoryId)
195 throws com.liferay.portal.kernel.exception.PortalException,
196 com.liferay.portal.kernel.exception.SystemException {
197 return _shoppingCategoryLocalService.getCategory(categoryId);
198 }
199
200 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
201 long categoryId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _shoppingCategoryLocalService.getParentCategories(categoryId);
205 }
206
207 public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getParentCategories(
208 com.liferay.portlet.shopping.model.ShoppingCategory category)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return _shoppingCategoryLocalService.getParentCategories(category);
212 }
213
214 public com.liferay.portlet.shopping.model.ShoppingCategory getParentCategory(
215 com.liferay.portlet.shopping.model.ShoppingCategory category)
216 throws com.liferay.portal.kernel.exception.PortalException,
217 com.liferay.portal.kernel.exception.SystemException {
218 return _shoppingCategoryLocalService.getParentCategory(category);
219 }
220
221 public void getSubcategoryIds(java.util.List<Long> categoryIds,
222 long groupId, long categoryId)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 _shoppingCategoryLocalService.getSubcategoryIds(categoryIds, groupId,
225 categoryId);
226 }
227
228 public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(
229 long categoryId, long parentCategoryId, java.lang.String name,
230 java.lang.String description, boolean mergeWithParentCategory,
231 com.liferay.portal.service.ServiceContext serviceContext)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 return _shoppingCategoryLocalService.updateCategory(categoryId,
235 parentCategoryId, name, description, mergeWithParentCategory,
236 serviceContext);
237 }
238
239 public ShoppingCategoryLocalService getWrappedShoppingCategoryLocalService() {
240 return _shoppingCategoryLocalService;
241 }
242
243 private ShoppingCategoryLocalService _shoppingCategoryLocalService;
244 }