001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetVocabularyService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetVocabularyService
026     * @generated
027     */
028    @ProviderType
029    public class AssetVocabularyServiceWrapper implements AssetVocabularyService,
030            ServiceWrapper<AssetVocabularyService> {
031            public AssetVocabularyServiceWrapper(
032                    AssetVocabularyService assetVocabularyService) {
033                    _assetVocabularyService = assetVocabularyService;
034            }
035    
036            @Override
037            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
038                    java.lang.String title,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _assetVocabularyService.addVocabulary(title, serviceContext);
042            }
043    
044            @Override
045            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
046                    java.lang.String title,
047                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
048                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
049                    java.lang.String settings,
050                    com.liferay.portal.service.ServiceContext serviceContext)
051                    throws com.liferay.portal.kernel.exception.PortalException {
052                    return _assetVocabularyService.addVocabulary(title, titleMap,
053                            descriptionMap, settings, serviceContext);
054            }
055    
056            /**
057            * @deprecated As of 6.1.0 {@link #addVocabulary(String, Map, Map, String,
058            ServiceContext)}
059            */
060            @Deprecated
061            @Override
062            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
063                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
064                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
065                    java.lang.String settings,
066                    com.liferay.portal.service.ServiceContext serviceContext)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
069                            settings, serviceContext);
070            }
071    
072            /**
073            * @deprecated As of 6.2.0, Replaced by {@link #deleteVocabularies(long[],
074            ServiceContext)}
075            */
076            @Deprecated
077            @Override
078            public void deleteVocabularies(long[] vocabularyIds)
079                    throws com.liferay.portal.kernel.exception.PortalException {
080                    _assetVocabularyService.deleteVocabularies(vocabularyIds);
081            }
082    
083            @Override
084            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> deleteVocabularies(
085                    long[] vocabularyIds,
086                    com.liferay.portal.service.ServiceContext serviceContext)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    return _assetVocabularyService.deleteVocabularies(vocabularyIds,
089                            serviceContext);
090            }
091    
092            @Override
093            public void deleteVocabulary(long vocabularyId)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    _assetVocabularyService.deleteVocabulary(vocabularyId);
096            }
097    
098            /**
099            * Returns the Spring bean ID for this bean.
100            *
101            * @return the Spring bean ID for this bean
102            */
103            @Override
104            public java.lang.String getBeanIdentifier() {
105                    return _assetVocabularyService.getBeanIdentifier();
106            }
107    
108            /**
109            * @deprecated As of 7.0.0, with no direct replacement
110            */
111            @Deprecated
112            @Override
113            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
114                    long companyId)
115                    throws com.liferay.portal.kernel.exception.PortalException {
116                    return _assetVocabularyService.getCompanyVocabularies(companyId);
117            }
118    
119            @Override
120            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
121                    long groupId)
122                    throws com.liferay.portal.kernel.exception.PortalException {
123                    return _assetVocabularyService.getGroupVocabularies(groupId);
124            }
125    
126            @Override
127            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
128                    long groupId, boolean createDefaultVocabulary)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _assetVocabularyService.getGroupVocabularies(groupId,
131                            createDefaultVocabulary);
132            }
133    
134            @Override
135            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
136                    long groupId, boolean createDefaultVocabulary, int start, int end,
137                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
138                    throws com.liferay.portal.kernel.exception.PortalException {
139                    return _assetVocabularyService.getGroupVocabularies(groupId,
140                            createDefaultVocabulary, start, end, obc);
141            }
142    
143            @Override
144            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
145                    long groupId, java.lang.String name, int start, int end,
146                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
147                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
148                            start, end, obc);
149            }
150    
151            @Override
152            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
153                    long groupId, int start, int end,
154                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
155                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
156                            end, obc);
157            }
158    
159            @Override
160            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
161                    long[] groupIds) {
162                    return _assetVocabularyService.getGroupVocabularies(groupIds);
163            }
164    
165            @Override
166            public int getGroupVocabulariesCount(long groupId) {
167                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
168            }
169    
170            @Override
171            public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
172                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
173            }
174    
175            @Override
176            public int getGroupVocabulariesCount(long[] groupIds) {
177                    return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
178            }
179    
180            @Override
181            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
182                    long groupId, java.lang.String name, int start, int end,
183                    boolean addDefaultVocabulary,
184                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
185                    throws com.liferay.portal.kernel.exception.PortalException {
186                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
187                            name, start, end, addDefaultVocabulary, obc);
188            }
189    
190            @Override
191            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
192                    long groupId, java.lang.String name, int start, int end,
193                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
194                    throws com.liferay.portal.kernel.exception.PortalException {
195                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
196                            name, start, end, obc);
197            }
198    
199            @Override
200            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
201                    long[] groupIds) {
202                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
203            }
204    
205            @Override
206            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
207                    long[] groupIds, java.lang.String className) {
208                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
209            }
210    
211            @Override
212            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
213                    long[] groupIds, java.lang.String className, long classTypePK) {
214                    return _assetVocabularyService.getGroupsVocabularies(groupIds,
215                            className, classTypePK);
216            }
217    
218            /**
219            * @deprecated As of 6.2.0, with no direct replacement
220            */
221            @Deprecated
222            @Override
223            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
224                    long groupId, java.lang.String name, int start, int end,
225                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
226                    throws com.liferay.portal.kernel.exception.PortalException {
227                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
228                            start, end, obc);
229            }
230    
231            /**
232            * @deprecated As of 7.0.0, replaced by {@link
233            #AssetUtil.filterVocabularyIds(PermissionChecker, long[])}
234            */
235            @Deprecated
236            @Override
237            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
238                    long[] vocabularyIds)
239                    throws com.liferay.portal.kernel.exception.PortalException {
240                    return _assetVocabularyService.getVocabularies(vocabularyIds);
241            }
242    
243            @Override
244            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
245                    long vocabularyId)
246                    throws com.liferay.portal.kernel.exception.PortalException {
247                    return _assetVocabularyService.getVocabulary(vocabularyId);
248            }
249    
250            @Override
251            public com.liferay.portlet.asset.model.AssetVocabularyDisplay searchVocabulariesDisplay(
252                    long groupId, java.lang.String title, int start, int end,
253                    boolean addDefaultVocabulary)
254                    throws com.liferay.portal.kernel.exception.PortalException {
255                    return _assetVocabularyService.searchVocabulariesDisplay(groupId,
256                            title, start, end, addDefaultVocabulary);
257            }
258    
259            /**
260            * Sets the Spring bean ID for this bean.
261            *
262            * @param beanIdentifier the Spring bean ID for this bean
263            */
264            @Override
265            public void setBeanIdentifier(java.lang.String beanIdentifier) {
266                    _assetVocabularyService.setBeanIdentifier(beanIdentifier);
267            }
268    
269            @Override
270            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
271                    long vocabularyId, java.lang.String title,
272                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
273                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
274                    java.lang.String settings,
275                    com.liferay.portal.service.ServiceContext serviceContext)
276                    throws com.liferay.portal.kernel.exception.PortalException {
277                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
278                            titleMap, descriptionMap, settings, serviceContext);
279            }
280    
281            /**
282            * @deprecated As of 6.1.0, {@link #updateVocabulary(long, String, Map, Map,
283            String, ServiceContext)}
284            */
285            @Deprecated
286            @Override
287            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
288                    long vocabularyId,
289                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
290                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
291                    java.lang.String settings,
292                    com.liferay.portal.service.ServiceContext serviceContext)
293                    throws com.liferay.portal.kernel.exception.PortalException {
294                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
295                            descriptionMap, settings, serviceContext);
296            }
297    
298            /**
299             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
300             */
301            @Deprecated
302            public AssetVocabularyService getWrappedAssetVocabularyService() {
303                    return _assetVocabularyService;
304            }
305    
306            /**
307             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
308             */
309            @Deprecated
310            public void setWrappedAssetVocabularyService(
311                    AssetVocabularyService assetVocabularyService) {
312                    _assetVocabularyService = assetVocabularyService;
313            }
314    
315            @Override
316            public AssetVocabularyService getWrappedService() {
317                    return _assetVocabularyService;
318            }
319    
320            @Override
321            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
322                    _assetVocabularyService = assetVocabularyService;
323            }
324    
325            private AssetVocabularyService _assetVocabularyService;
326    }