001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AssetCategoryServiceWrapper implements AssetCategoryService,
030 ServiceWrapper<AssetCategoryService> {
031 public AssetCategoryServiceWrapper(
032 AssetCategoryService assetCategoryService) {
033 _assetCategoryService = assetCategoryService;
034 }
035
036 @Override
037 public com.liferay.portlet.asset.model.AssetCategory addCategory(
038 long parentCategoryId,
039 java.util.Map<java.util.Locale, java.lang.String> titleMap,
040 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041 long vocabularyId, java.lang.String[] categoryProperties,
042 com.liferay.portal.service.ServiceContext serviceContext)
043 throws com.liferay.portal.kernel.exception.PortalException {
044 return _assetCategoryService.addCategory(parentCategoryId, titleMap,
045 descriptionMap, vocabularyId, categoryProperties, serviceContext);
046 }
047
048 @Override
049 public com.liferay.portlet.asset.model.AssetCategory addCategory(
050 java.lang.String title, long vocabularyId,
051 com.liferay.portal.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException {
053 return _assetCategoryService.addCategory(title, vocabularyId,
054 serviceContext);
055 }
056
057 @Override
058 public void deleteCategories(long[] categoryIds)
059 throws com.liferay.portal.kernel.exception.PortalException {
060 _assetCategoryService.deleteCategories(categoryIds);
061 }
062
063
066 @Deprecated
067 @Override
068 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(
069 long[] categoryIds,
070 com.liferay.portal.service.ServiceContext serviceContext)
071 throws com.liferay.portal.kernel.exception.PortalException {
072 return _assetCategoryService.deleteCategories(categoryIds,
073 serviceContext);
074 }
075
076 @Override
077 public void deleteCategory(long categoryId)
078 throws com.liferay.portal.kernel.exception.PortalException {
079 _assetCategoryService.deleteCategory(categoryId);
080 }
081
082
087 @Override
088 public java.lang.String getBeanIdentifier() {
089 return _assetCategoryService.getBeanIdentifier();
090 }
091
092 @Override
093 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
094 java.lang.String className, long classPK)
095 throws com.liferay.portal.kernel.exception.PortalException {
096 return _assetCategoryService.getCategories(className, classPK);
097 }
098
099 @Override
100 public com.liferay.portlet.asset.model.AssetCategory getCategory(
101 long categoryId)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 return _assetCategoryService.getCategory(categoryId);
104 }
105
106 @Override
107 public java.lang.String getCategoryPath(long categoryId)
108 throws com.liferay.portal.kernel.exception.PortalException {
109 return _assetCategoryService.getCategoryPath(categoryId);
110 }
111
112 @Override
113 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
114 long parentCategoryId)
115 throws com.liferay.portal.kernel.exception.PortalException {
116 return _assetCategoryService.getChildCategories(parentCategoryId);
117 }
118
119 @Override
120 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
121 long parentCategoryId, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
123 throws com.liferay.portal.kernel.exception.PortalException {
124 return _assetCategoryService.getChildCategories(parentCategoryId,
125 start, end, obc);
126 }
127
128
132 @Deprecated
133 @Override
134 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
135 long groupId, java.lang.String name, long[] vocabularyIds, int start,
136 int end) throws com.liferay.portal.kernel.exception.PortalException {
137 return _assetCategoryService.getJSONSearch(groupId, name,
138 vocabularyIds, start, end);
139 }
140
141
146 @Deprecated
147 @Override
148 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
149 long groupId, java.lang.String name, long vocabularyId, int start,
150 int end,
151 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
152 throws com.liferay.portal.kernel.exception.PortalException {
153 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
154 vocabularyId, start, end, obc);
155 }
156
157
162 @Deprecated
163 @Override
164 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
165 long vocabularyId, int start, int end,
166 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
167 throws com.liferay.portal.kernel.exception.PortalException {
168 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
169 start, end, obc);
170 }
171
172 @Override
173 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
174 long groupId, java.lang.String name, long vocabularyId, int start,
175 int end,
176 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
177 return _assetCategoryService.getVocabularyCategories(groupId, name,
178 vocabularyId, start, end, obc);
179 }
180
181 @Override
182 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
183 long groupId, long parentCategoryId, long vocabularyId, int start,
184 int end,
185 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
186 return _assetCategoryService.getVocabularyCategories(groupId,
187 parentCategoryId, vocabularyId, start, end, obc);
188 }
189
190 @Override
191 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
192 long parentCategoryId, long vocabularyId, int start, int end,
193 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
194 throws com.liferay.portal.kernel.exception.PortalException {
195 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
196 vocabularyId, start, end, obc);
197 }
198
199 @Override
200 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
201 long vocabularyId, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
203 throws com.liferay.portal.kernel.exception.PortalException {
204 return _assetCategoryService.getVocabularyCategories(vocabularyId,
205 start, end, obc);
206 }
207
208 @Override
209 public int getVocabularyCategoriesCount(long groupId,
210 java.lang.String name, long vocabularyId) {
211 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
212 name, vocabularyId);
213 }
214
215 @Override
216 public int getVocabularyCategoriesCount(long groupId, long parentCategory,
217 long vocabularyId) {
218 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
219 parentCategory, vocabularyId);
220 }
221
222 @Override
223 public int getVocabularyCategoriesCount(long groupId, long vocabularyId) {
224 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
225 vocabularyId);
226 }
227
228 @Override
229 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
230 long groupId, java.lang.String name, long vocabularyId, int start,
231 int end,
232 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
233 throws com.liferay.portal.kernel.exception.PortalException {
234 return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
235 name, vocabularyId, start, end, obc);
236 }
237
238 @Override
239 public com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
240 long vocabularyId, int start, int end,
241 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
242 throws com.liferay.portal.kernel.exception.PortalException {
243 return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
244 start, end, obc);
245 }
246
247 @Override
248 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
249 long groupId, long vocabularyId, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
251 return _assetCategoryService.getVocabularyRootCategories(groupId,
252 vocabularyId, start, end, obc);
253 }
254
255
260 @Deprecated
261 @Override
262 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
263 long vocabularyId, int start, int end,
264 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
265 throws com.liferay.portal.kernel.exception.PortalException {
266 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
267 start, end, obc);
268 }
269
270 @Override
271 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) {
272 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
273 vocabularyId);
274 }
275
276 @Override
277 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
278 long categoryId, long parentCategoryId, long vocabularyId,
279 com.liferay.portal.service.ServiceContext serviceContext)
280 throws com.liferay.portal.kernel.exception.PortalException {
281 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
282 vocabularyId, serviceContext);
283 }
284
285 @Override
286 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
287 long groupId, java.lang.String keywords, long vocabularyId, int start,
288 int end,
289 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc) {
290 return _assetCategoryService.search(groupId, keywords, vocabularyId,
291 start, end, obc);
292 }
293
294 @Override
295 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
296 java.lang.String name, java.lang.String[] categoryProperties,
297 int start, int end)
298 throws com.liferay.portal.kernel.exception.PortalException {
299 return _assetCategoryService.search(groupId, name, categoryProperties,
300 start, end);
301 }
302
303 @Override
304 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
305 java.lang.String name, long[] vocabularyIds, int start, int end)
306 throws com.liferay.portal.kernel.exception.PortalException {
307 return _assetCategoryService.search(groupIds, name, vocabularyIds,
308 start, end);
309 }
310
311 @Override
312 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
313 long groupId, java.lang.String title, long parentCategoryId,
314 long vocabularyId, int start, int end)
315 throws com.liferay.portal.kernel.exception.PortalException {
316 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
317 parentCategoryId, vocabularyId, start, end);
318 }
319
320 @Override
321 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
322 long groupId, java.lang.String title, long vocabularyId, int start,
323 int end) throws com.liferay.portal.kernel.exception.PortalException {
324 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
325 vocabularyId, start, end);
326 }
327
328 @Override
329 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
330 long[] groupIds, java.lang.String title, long[] parentCategoryIds,
331 long[] vocabularyIds, int start, int end)
332 throws com.liferay.portal.kernel.exception.PortalException {
333 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
334 parentCategoryIds, vocabularyIds, start, end);
335 }
336
337 @Override
338 public com.liferay.portlet.asset.model.AssetCategoryDisplay searchCategoriesDisplay(
339 long[] groupIds, java.lang.String title, long[] vocabularyIds,
340 int start, int end)
341 throws com.liferay.portal.kernel.exception.PortalException {
342 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
343 vocabularyIds, start, end);
344 }
345
346
351 @Override
352 public void setBeanIdentifier(java.lang.String beanIdentifier) {
353 _assetCategoryService.setBeanIdentifier(beanIdentifier);
354 }
355
356 @Override
357 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
358 long categoryId, long parentCategoryId,
359 java.util.Map<java.util.Locale, java.lang.String> titleMap,
360 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
361 long vocabularyId, java.lang.String[] categoryProperties,
362 com.liferay.portal.service.ServiceContext serviceContext)
363 throws com.liferay.portal.kernel.exception.PortalException {
364 return _assetCategoryService.updateCategory(categoryId,
365 parentCategoryId, titleMap, descriptionMap, vocabularyId,
366 categoryProperties, serviceContext);
367 }
368
369
372 @Deprecated
373 public AssetCategoryService getWrappedAssetCategoryService() {
374 return _assetCategoryService;
375 }
376
377
380 @Deprecated
381 public void setWrappedAssetCategoryService(
382 AssetCategoryService assetCategoryService) {
383 _assetCategoryService = assetCategoryService;
384 }
385
386 @Override
387 public AssetCategoryService getWrappedService() {
388 return _assetCategoryService;
389 }
390
391 @Override
392 public void setWrappedService(AssetCategoryService assetCategoryService) {
393 _assetCategoryService = assetCategoryService;
394 }
395
396 private AssetCategoryService _assetCategoryService;
397 }