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