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      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _assetVocabularyLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
76              end);
77      }
78  
79      @SuppressWarnings("unchecked")
80      public java.util.List dynamicQuery(
81          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
82          int end,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
86              end, orderByComparator);
87      }
88  
89      public long dynamicQueryCount(
90          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _assetVocabularyLocalService.dynamicQueryCount(dynamicQuery);
93      }
94  
95      public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
96          long vocabularyId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _assetVocabularyLocalService.getAssetVocabulary(vocabularyId);
100     }
101 
102     public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndGroupId(
103         java.lang.String uuid, long groupId)
104         throws com.liferay.portal.kernel.exception.PortalException,
105             com.liferay.portal.kernel.exception.SystemException {
106         return _assetVocabularyLocalService.getAssetVocabularyByUuidAndGroupId(uuid,
107             groupId);
108     }
109 
110     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
111         int start, int end)
112         throws com.liferay.portal.kernel.exception.SystemException {
113         return _assetVocabularyLocalService.getAssetVocabularies(start, end);
114     }
115 
116     public int getAssetVocabulariesCount()
117         throws com.liferay.portal.kernel.exception.SystemException {
118         return _assetVocabularyLocalService.getAssetVocabulariesCount();
119     }
120 
121     public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
122         com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
123         throws com.liferay.portal.kernel.exception.SystemException {
124         return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary);
125     }
126 
127     public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
128         com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
129         boolean merge)
130         throws com.liferay.portal.kernel.exception.SystemException {
131         return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary,
132             merge);
133     }
134 
135     public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
136         java.lang.String uuid, long userId,
137         java.util.Map<java.util.Locale, java.lang.String> titleMap,
138         java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
139         java.lang.String settings,
140         com.liferay.portal.service.ServiceContext serviceContext)
141         throws com.liferay.portal.kernel.exception.PortalException,
142             com.liferay.portal.kernel.exception.SystemException {
143         return _assetVocabularyLocalService.addVocabulary(uuid, userId,
144             titleMap, descriptionMap, settings, serviceContext);
145     }
146 
147     public void addVocabularyResources(
148         com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
149         boolean addCommunityPermissions, boolean addGuestPermissions)
150         throws com.liferay.portal.kernel.exception.PortalException,
151             com.liferay.portal.kernel.exception.SystemException {
152         _assetVocabularyLocalService.addVocabularyResources(vocabulary,
153             addCommunityPermissions, addGuestPermissions);
154     }
155 
156     public void addVocabularyResources(
157         com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
158         java.lang.String[] communityPermissions,
159         java.lang.String[] guestPermissions)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException {
162         _assetVocabularyLocalService.addVocabularyResources(vocabulary,
163             communityPermissions, guestPermissions);
164     }
165 
166     public void deleteVocabulary(
167         com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
168         throws com.liferay.portal.kernel.exception.PortalException,
169             com.liferay.portal.kernel.exception.SystemException {
170         _assetVocabularyLocalService.deleteVocabulary(vocabulary);
171     }
172 
173     public void deleteVocabulary(long vocabularyId)
174         throws com.liferay.portal.kernel.exception.PortalException,
175             com.liferay.portal.kernel.exception.SystemException {
176         _assetVocabularyLocalService.deleteVocabulary(vocabularyId);
177     }
178 
179     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
180         long companyId)
181         throws com.liferay.portal.kernel.exception.SystemException {
182         return _assetVocabularyLocalService.getCompanyVocabularies(companyId);
183     }
184 
185     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
186         long[] groupIds)
187         throws com.liferay.portal.kernel.exception.PortalException,
188             com.liferay.portal.kernel.exception.SystemException {
189         return _assetVocabularyLocalService.getGroupsVocabularies(groupIds);
190     }
191 
192     public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
193         long groupId)
194         throws com.liferay.portal.kernel.exception.PortalException,
195             com.liferay.portal.kernel.exception.SystemException {
196         return _assetVocabularyLocalService.getGroupVocabularies(groupId);
197     }
198 
199     public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
200         long groupId, java.lang.String name)
201         throws com.liferay.portal.kernel.exception.PortalException,
202             com.liferay.portal.kernel.exception.SystemException {
203         return _assetVocabularyLocalService.getGroupVocabulary(groupId, name);
204     }
205 
206     public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
207         long vocabularyId)
208         throws com.liferay.portal.kernel.exception.PortalException,
209             com.liferay.portal.kernel.exception.SystemException {
210         return _assetVocabularyLocalService.getVocabulary(vocabularyId);
211     }
212 
213     public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
214         long vocabularyId,
215         java.util.Map<java.util.Locale, java.lang.String> titleMap,
216         java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
217         java.lang.String settings,
218         com.liferay.portal.service.ServiceContext serviceContext)
219         throws com.liferay.portal.kernel.exception.PortalException,
220             com.liferay.portal.kernel.exception.SystemException {
221         return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
222             titleMap, descriptionMap, settings, serviceContext);
223     }
224 
225     public AssetVocabularyLocalService getWrappedAssetVocabularyLocalService() {
226         return _assetVocabularyLocalService;
227     }
228 
229     private AssetVocabularyLocalService _assetVocabularyLocalService;
230 }