1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service;
16  
17  
18  /**
19   * <a href="AssetVocabularyServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AssetVocabularyService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetVocabularyService
32   * @generated
33   */
34  public class AssetVocabularyServiceWrapper implements AssetVocabularyService {
35      public AssetVocabularyServiceWrapper(
36          AssetVocabularyService assetVocabularyService) {
37          _assetVocabularyService = assetVocabularyService;
38      }
39  
40      public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
41          java.util.Map<java.util.Locale, String> titleMap,
42          java.util.Map<java.util.Locale, String> descriptionMap,
43          java.lang.String settings,
44          com.liferay.portal.service.ServiceContext serviceContext)
45          throws com.liferay.portal.kernel.exception.PortalException,
46              com.liferay.portal.kernel.exception.SystemException {
47          return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
48              settings, serviceContext);
49      }
50  
51      public void deleteVocabulary(long vocabularyId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _assetVocabularyService.deleteVocabulary(vocabularyId);
55      }
56  
57      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
58          long companyId)
59          throws com.liferay.portal.kernel.exception.PortalException,
60              com.liferay.portal.kernel.exception.SystemException {
61          return _assetVocabularyService.getCompanyVocabularies(companyId);
62      }
63  
64      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
65          long[] groupIds)
66          throws com.liferay.portal.kernel.exception.PortalException,
67              com.liferay.portal.kernel.exception.SystemException {
68          return _assetVocabularyService.getGroupsVocabularies(groupIds);
69      }
70  
71      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
72          long groupId)
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException {
75          return _assetVocabularyService.getGroupVocabularies(groupId);
76      }
77  
78      public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
79          long vocabularyId)
80          throws com.liferay.portal.kernel.exception.PortalException,
81              com.liferay.portal.kernel.exception.SystemException {
82          return _assetVocabularyService.getVocabulary(vocabularyId);
83      }
84  
85      public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
86          long vocabularyId, java.util.Map<java.util.Locale, String> titleMap,
87          java.util.Map<java.util.Locale, String> descriptionMap,
88          java.lang.String settings,
89          com.liferay.portal.service.ServiceContext serviceContext)
90          throws com.liferay.portal.kernel.exception.PortalException,
91              com.liferay.portal.kernel.exception.SystemException {
92          return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
93              descriptionMap, settings, serviceContext);
94      }
95  
96      public AssetVocabularyService getWrappedAssetVocabularyService() {
97          return _assetVocabularyService;
98      }
99  
100     private AssetVocabularyService _assetVocabularyService;
101 }