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="AssetVocabularyLocalServiceUtil.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 AssetVocabularyLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetVocabularyLocalService
32   * @generated
33   */
34  public class AssetVocabularyLocalServiceWrapper
35      implements AssetVocabularyLocalService {
36      public AssetVocabularyLocalServiceWrapper(
37          AssetVocabularyLocalService assetVocabularyLocalService) {
38          _assetVocabularyLocalService = assetVocabularyLocalService;
39      }
40  
41      public com.liferay.portlet.asset.model.AssetVocabulary addAssetVocabulary(
42          com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _assetVocabularyLocalService.addAssetVocabulary(assetVocabulary);
45      }
46  
47      public com.liferay.portlet.asset.model.AssetVocabulary createAssetVocabulary(
48          long vocabularyId) {
49          return _assetVocabularyLocalService.createAssetVocabulary(vocabularyId);
50      }
51  
52      public void deleteAssetVocabulary(long vocabularyId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _assetVocabularyLocalService.deleteAssetVocabulary(vocabularyId);
56      }
57  
58      public void deleteAssetVocabulary(
59          com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _assetVocabularyLocalService.deleteAssetVocabulary(assetVocabulary);
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 _assetVocabularyLocalService.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 _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
78          long vocabularyId)
79          throws com.liferay.portal.kernel.exception.PortalException,
80              com.liferay.portal.kernel.exception.SystemException {
81          return _assetVocabularyLocalService.getAssetVocabulary(vocabularyId);
82      }
83  
84      public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
85          int start, int end)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _assetVocabularyLocalService.getAssetVocabularies(start, end);
88      }
89  
90      public int getAssetVocabulariesCount()
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _assetVocabularyLocalService.getAssetVocabulariesCount();
93      }
94  
95      public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
96          com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary);
99      }
100 
101     public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
102         com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
103         boolean merge)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary,
106             merge);
107     }
108 
109     public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
110         java.lang.String uuid, long userId,
111         java.util.Map<java.util.Locale, String> titleMap,
112         java.util.Map<java.util.Locale, String> descriptionMap,
113         java.lang.String settings,
114         com.liferay.portal.service.ServiceContext serviceContext)
115         throws com.liferay.portal.kernel.exception.PortalException,
116             com.liferay.portal.kernel.exception.SystemException {
117         return _assetVocabularyLocalService.addVocabulary(uuid, userId,
118             titleMap, descriptionMap, settings, serviceContext);
119     }
120 
121     public void addVocabularyResources(
122         com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
123         boolean addCommunityPermissions, boolean addGuestPermissions)
124         throws com.liferay.portal.kernel.exception.PortalException,
125             com.liferay.portal.kernel.exception.SystemException {
126         _assetVocabularyLocalService.addVocabularyResources(vocabulary,
127             addCommunityPermissions, addGuestPermissions);
128     }
129 
130     public void addVocabularyResources(
131         com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
132         java.lang.String[] communityPermissions,
133         java.lang.String[] guestPermissions)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         _assetVocabularyLocalService.addVocabularyResources(vocabulary,
137             communityPermissions, guestPermissions);
138     }
139 
140     public void deleteVocabulary(
141         com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
142         throws com.liferay.portal.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.SystemException {
144         _assetVocabularyLocalService.deleteVocabulary(vocabulary);
145     }
146 
147     public void deleteVocabulary(long vocabularyId)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException {
150         _assetVocabularyLocalService.deleteVocabulary(vocabularyId);
151     }
152 
153     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
154         long companyId)
155         throws com.liferay.portal.kernel.exception.SystemException {
156         return _assetVocabularyLocalService.getCompanyVocabularies(companyId);
157     }
158 
159     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
160         long[] groupIds)
161         throws com.liferay.portal.kernel.exception.PortalException,
162             com.liferay.portal.kernel.exception.SystemException {
163         return _assetVocabularyLocalService.getGroupsVocabularies(groupIds);
164     }
165 
166     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
167         long groupId)
168         throws com.liferay.portal.kernel.exception.PortalException,
169             com.liferay.portal.kernel.exception.SystemException {
170         return _assetVocabularyLocalService.getGroupVocabularies(groupId);
171     }
172 
173     public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
174         long groupId, java.lang.String name)
175         throws com.liferay.portal.kernel.exception.PortalException,
176             com.liferay.portal.kernel.exception.SystemException {
177         return _assetVocabularyLocalService.getGroupVocabulary(groupId, name);
178     }
179 
180     public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
181         long vocabularyId)
182         throws com.liferay.portal.kernel.exception.PortalException,
183             com.liferay.portal.kernel.exception.SystemException {
184         return _assetVocabularyLocalService.getVocabulary(vocabularyId);
185     }
186 
187     public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
188         long vocabularyId, java.util.Map<java.util.Locale, String> titleMap,
189         java.util.Map<java.util.Locale, String> descriptionMap,
190         java.lang.String settings,
191         com.liferay.portal.service.ServiceContext serviceContext)
192         throws com.liferay.portal.kernel.exception.PortalException,
193             com.liferay.portal.kernel.exception.SystemException {
194         return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
195             titleMap, descriptionMap, settings, serviceContext);
196     }
197 
198     public AssetVocabularyLocalService getWrappedAssetVocabularyLocalService() {
199         return _assetVocabularyLocalService;
200     }
201 
202     private AssetVocabularyLocalService _assetVocabularyLocalService;
203 }