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                    long groupId, java.lang.String title,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _assetVocabularyService.addVocabulary(groupId, title,
042                            serviceContext);
043            }
044    
045            @Override
046            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
047                    long groupId, java.lang.String title,
048                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
049                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
050                    java.lang.String settings,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _assetVocabularyService.addVocabulary(groupId, title, titleMap,
054                            descriptionMap, settings, serviceContext);
055            }
056    
057            /**
058            * @deprecated As of 6.2.0, Replaced by {@link #deleteVocabularies(long[],
059            ServiceContext)}
060            */
061            @Deprecated
062            @Override
063            public void deleteVocabularies(long[] vocabularyIds)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    _assetVocabularyService.deleteVocabularies(vocabularyIds);
066            }
067    
068            @Override
069            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> deleteVocabularies(
070                    long[] vocabularyIds,
071                    com.liferay.portal.service.ServiceContext serviceContext)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _assetVocabularyService.deleteVocabularies(vocabularyIds,
074                            serviceContext);
075            }
076    
077            @Override
078            public void deleteVocabulary(long vocabularyId)
079                    throws com.liferay.portal.kernel.exception.PortalException {
080                    _assetVocabularyService.deleteVocabulary(vocabularyId);
081            }
082    
083            @Override
084            public com.liferay.portlet.asset.model.AssetVocabulary fetchVocabulary(
085                    long vocabularyId)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _assetVocabularyService.fetchVocabulary(vocabularyId);
088            }
089    
090            /**
091            * Returns the Spring bean ID for this bean.
092            *
093            * @return the Spring bean ID for this bean
094            */
095            @Override
096            public java.lang.String getBeanIdentifier() {
097                    return _assetVocabularyService.getBeanIdentifier();
098            }
099    
100            /**
101            * @deprecated As of 7.0.0, with no direct replacement
102            */
103            @Deprecated
104            @Override
105            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
106                    long companyId)
107                    throws com.liferay.portal.kernel.exception.PortalException {
108                    return _assetVocabularyService.getCompanyVocabularies(companyId);
109            }
110    
111            @Override
112            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
113                    long groupId)
114                    throws com.liferay.portal.kernel.exception.PortalException {
115                    return _assetVocabularyService.getGroupVocabularies(groupId);
116            }
117    
118            @Override
119            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
120                    long groupId, boolean createDefaultVocabulary)
121                    throws com.liferay.portal.kernel.exception.PortalException {
122                    return _assetVocabularyService.getGroupVocabularies(groupId,
123                            createDefaultVocabulary);
124            }
125    
126            @Override
127            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
128                    long groupId, boolean createDefaultVocabulary, int start, int end,
129                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
130                    throws com.liferay.portal.kernel.exception.PortalException {
131                    return _assetVocabularyService.getGroupVocabularies(groupId,
132                            createDefaultVocabulary, start, end, obc);
133            }
134    
135            @Override
136            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
137                    long groupId, java.lang.String name, int start, int end,
138                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
139                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
140                            start, end, obc);
141            }
142    
143            @Override
144            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
145                    long groupId, int start, int end,
146                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
147                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
148                            end, obc);
149            }
150    
151            @Override
152            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
153                    long[] groupIds) {
154                    return _assetVocabularyService.getGroupVocabularies(groupIds);
155            }
156    
157            @Override
158            public int getGroupVocabulariesCount(long groupId) {
159                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
160            }
161    
162            @Override
163            public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
164                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
165            }
166    
167            @Override
168            public int getGroupVocabulariesCount(long[] groupIds) {
169                    return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
170            }
171    
172            @Override
173            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
174                    long groupId, java.lang.String name, int start, int end,
175                    boolean addDefaultVocabulary,
176                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
177                    throws com.liferay.portal.kernel.exception.PortalException {
178                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
179                            name, start, end, addDefaultVocabulary, obc);
180            }
181    
182            @Override
183            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
184                    long groupId, java.lang.String name, int start, int end,
185                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
186                    throws com.liferay.portal.kernel.exception.PortalException {
187                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
188                            name, start, end, obc);
189            }
190    
191            @Override
192            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
193                    long[] groupIds) {
194                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
195            }
196    
197            @Override
198            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
199                    long[] groupIds, java.lang.String className) {
200                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
201            }
202    
203            @Override
204            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
205                    long[] groupIds, java.lang.String className, long classTypePK) {
206                    return _assetVocabularyService.getGroupsVocabularies(groupIds,
207                            className, classTypePK);
208            }
209    
210            /**
211            * @deprecated As of 6.2.0, with no direct replacement
212            */
213            @Deprecated
214            @Override
215            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
216                    long groupId, java.lang.String name, int start, int end,
217                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
218                    throws com.liferay.portal.kernel.exception.PortalException {
219                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
220                            start, end, obc);
221            }
222    
223            /**
224            * @deprecated As of 7.0.0, replaced by {@link
225            AssetUtil#filterVocabularyIds(PermissionChecker, long[])}
226            */
227            @Deprecated
228            @Override
229            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
230                    long[] vocabularyIds)
231                    throws com.liferay.portal.kernel.exception.PortalException {
232                    return _assetVocabularyService.getVocabularies(vocabularyIds);
233            }
234    
235            @Override
236            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
237                    long vocabularyId)
238                    throws com.liferay.portal.kernel.exception.PortalException {
239                    return _assetVocabularyService.getVocabulary(vocabularyId);
240            }
241    
242            @Override
243            public com.liferay.portlet.asset.model.AssetVocabularyDisplay searchVocabulariesDisplay(
244                    long groupId, java.lang.String title, int start, int end,
245                    boolean addDefaultVocabulary)
246                    throws com.liferay.portal.kernel.exception.PortalException {
247                    return _assetVocabularyService.searchVocabulariesDisplay(groupId,
248                            title, start, end, addDefaultVocabulary);
249            }
250    
251            /**
252            * Sets the Spring bean ID for this bean.
253            *
254            * @param beanIdentifier the Spring bean ID for this bean
255            */
256            @Override
257            public void setBeanIdentifier(java.lang.String beanIdentifier) {
258                    _assetVocabularyService.setBeanIdentifier(beanIdentifier);
259            }
260    
261            @Override
262            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
263                    long vocabularyId, java.lang.String title,
264                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
265                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
266                    java.lang.String settings,
267                    com.liferay.portal.service.ServiceContext serviceContext)
268                    throws com.liferay.portal.kernel.exception.PortalException {
269                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
270                            titleMap, descriptionMap, settings, serviceContext);
271            }
272    
273            /**
274             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
275             */
276            @Deprecated
277            public AssetVocabularyService getWrappedAssetVocabularyService() {
278                    return _assetVocabularyService;
279            }
280    
281            /**
282             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
283             */
284            @Deprecated
285            public void setWrappedAssetVocabularyService(
286                    AssetVocabularyService assetVocabularyService) {
287                    _assetVocabularyService = assetVocabularyService;
288            }
289    
290            @Override
291            public AssetVocabularyService getWrappedService() {
292                    return _assetVocabularyService;
293            }
294    
295            @Override
296            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
297                    _assetVocabularyService = assetVocabularyService;
298            }
299    
300            private AssetVocabularyService _assetVocabularyService;
301    }