001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetCategoryLocalServiceWrapper
027 implements AssetCategoryLocalService {
028 public AssetCategoryLocalServiceWrapper(
029 AssetCategoryLocalService assetCategoryLocalService) {
030 _assetCategoryLocalService = assetCategoryLocalService;
031 }
032
033
040 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
041 com.liferay.portlet.asset.model.AssetCategory assetCategory)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _assetCategoryLocalService.addAssetCategory(assetCategory);
044 }
045
046
052 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
053 long categoryId) {
054 return _assetCategoryLocalService.createAssetCategory(categoryId);
055 }
056
057
064 public void deleteAssetCategory(long categoryId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _assetCategoryLocalService.deleteAssetCategory(categoryId);
068 }
069
070
076 public void deleteAssetCategory(
077 com.liferay.portlet.asset.model.AssetCategory assetCategory)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _assetCategoryLocalService.deleteAssetCategory(assetCategory);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
114 }
115
116
130 @SuppressWarnings("rawtypes")
131 public java.util.List dynamicQuery(
132 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133 int end,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
137 end, orderByComparator);
138 }
139
140
147 public long dynamicQueryCount(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
151 }
152
153
161 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
162 long categoryId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 return _assetCategoryLocalService.getAssetCategory(categoryId);
166 }
167
168
177 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
178 java.lang.String uuid, long groupId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
182 groupId);
183 }
184
185
197 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
198 int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return _assetCategoryLocalService.getAssetCategories(start, end);
201 }
202
203
209 public int getAssetCategoriesCount()
210 throws com.liferay.portal.kernel.exception.SystemException {
211 return _assetCategoryLocalService.getAssetCategoriesCount();
212 }
213
214
221 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
222 com.liferay.portlet.asset.model.AssetCategory assetCategory)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
225 }
226
227
235 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
236 com.liferay.portlet.asset.model.AssetCategory assetCategory,
237 boolean merge)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
240 merge);
241 }
242
243 public com.liferay.portlet.asset.model.AssetCategory addCategory(
244 long userId, long parentCategoryId,
245 java.util.Map<java.util.Locale, java.lang.String> titleMap,
246 long vocabularyId, java.lang.String[] categoryProperties,
247 com.liferay.portal.service.ServiceContext serviceContext)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
251 titleMap, vocabularyId, categoryProperties, serviceContext);
252 }
253
254 public void addCategoryResources(
255 com.liferay.portlet.asset.model.AssetCategory category,
256 boolean addCommunityPermissions, boolean addGuestPermissions)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 _assetCategoryLocalService.addCategoryResources(category,
260 addCommunityPermissions, addGuestPermissions);
261 }
262
263 public void addCategoryResources(
264 com.liferay.portlet.asset.model.AssetCategory category,
265 java.lang.String[] communityPermissions,
266 java.lang.String[] guestPermissions)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException {
269 _assetCategoryLocalService.addCategoryResources(category,
270 communityPermissions, guestPermissions);
271 }
272
273 public void deleteCategory(
274 com.liferay.portlet.asset.model.AssetCategory category)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 _assetCategoryLocalService.deleteCategory(category);
278 }
279
280 public void deleteCategory(long categoryId)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 _assetCategoryLocalService.deleteCategory(categoryId);
284 }
285
286 public void deleteVocabularyCategories(long vocabularyId)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
290 }
291
292 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
293 throws com.liferay.portal.kernel.exception.SystemException {
294 return _assetCategoryLocalService.getCategories();
295 }
296
297 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
298 long classNameId, long classPK)
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return _assetCategoryLocalService.getCategories(classNameId, classPK);
301 }
302
303 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
304 java.lang.String className, long classPK)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _assetCategoryLocalService.getCategories(className, classPK);
307 }
308
309 public com.liferay.portlet.asset.model.AssetCategory getCategory(
310 long categoryId)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 return _assetCategoryLocalService.getCategory(categoryId);
314 }
315
316 public long[] getCategoryIds(java.lang.String className, long classPK)
317 throws com.liferay.portal.kernel.exception.SystemException {
318 return _assetCategoryLocalService.getCategoryIds(className, classPK);
319 }
320
321 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
322 long parentCategoryId, int start, int end,
323 com.liferay.portal.kernel.util.OrderByComparator obc)
324 throws com.liferay.portal.kernel.exception.SystemException {
325 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
326 start, end, obc);
327 }
328
329 public int getChildCategoriesCount(long parentCategoryId)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
332 }
333
334 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
335 long entryId)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _assetCategoryLocalService.getEntryCategories(entryId);
338 }
339
340 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
341 long vocabularyId, int start, int end,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
345 start, end, obc);
346 }
347
348 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
349 long parentCategoryId, long vocabularyId, int start, int end,
350 com.liferay.portal.kernel.util.OrderByComparator obc)
351 throws com.liferay.portal.kernel.exception.SystemException {
352 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
353 vocabularyId, start, end, obc);
354 }
355
356 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
357 long vocabularyId, int start, int end,
358 com.liferay.portal.kernel.util.OrderByComparator obc)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
361 start, end, obc);
362 }
363
364 public void mergeCategories(long fromCategoryId, long toCategoryId)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
368 }
369
370 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
371 java.lang.String name, java.lang.String[] categoryProperties,
372 int start, int end)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _assetCategoryLocalService.search(groupId, name,
375 categoryProperties, start, end);
376 }
377
378 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
379 long userId, long categoryId, long parentCategoryId,
380 java.util.Map<java.util.Locale, java.lang.String> titleMap,
381 long vocabularyId, java.lang.String[] categoryProperties,
382 com.liferay.portal.service.ServiceContext serviceContext)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException {
385 return _assetCategoryLocalService.updateCategory(userId, categoryId,
386 parentCategoryId, titleMap, vocabularyId, categoryProperties,
387 serviceContext);
388 }
389
390 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
391 return _assetCategoryLocalService;
392 }
393
394 private AssetCategoryLocalService _assetCategoryLocalService;
395 }