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            @Override
099            public com.liferay.portlet.asset.model.AssetVocabulary fetchVocabulary(
100                    long vocabularyId)
101                    throws com.liferay.portal.kernel.exception.PortalException {
102                    return _assetVocabularyService.fetchVocabulary(vocabularyId);
103            }
104    
105            /**
106            * Returns the Spring bean ID for this bean.
107            *
108            * @return the Spring bean ID for this bean
109            */
110            @Override
111            public java.lang.String getBeanIdentifier() {
112                    return _assetVocabularyService.getBeanIdentifier();
113            }
114    
115            /**
116            * @deprecated As of 7.0.0, with no direct replacement
117            */
118            @Deprecated
119            @Override
120            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
121                    long companyId)
122                    throws com.liferay.portal.kernel.exception.PortalException {
123                    return _assetVocabularyService.getCompanyVocabularies(companyId);
124            }
125    
126            @Override
127            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
128                    long groupId)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _assetVocabularyService.getGroupVocabularies(groupId);
131            }
132    
133            @Override
134            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
135                    long groupId, boolean createDefaultVocabulary)
136                    throws com.liferay.portal.kernel.exception.PortalException {
137                    return _assetVocabularyService.getGroupVocabularies(groupId,
138                            createDefaultVocabulary);
139            }
140    
141            @Override
142            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
143                    long groupId, boolean createDefaultVocabulary, int start, int end,
144                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
145                    throws com.liferay.portal.kernel.exception.PortalException {
146                    return _assetVocabularyService.getGroupVocabularies(groupId,
147                            createDefaultVocabulary, start, end, obc);
148            }
149    
150            @Override
151            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
152                    long groupId, java.lang.String name, int start, int end,
153                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
154                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
155                            start, end, obc);
156            }
157    
158            @Override
159            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
160                    long groupId, int start, int end,
161                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc) {
162                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
163                            end, obc);
164            }
165    
166            @Override
167            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
168                    long[] groupIds) {
169                    return _assetVocabularyService.getGroupVocabularies(groupIds);
170            }
171    
172            @Override
173            public int getGroupVocabulariesCount(long groupId) {
174                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
175            }
176    
177            @Override
178            public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
179                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
180            }
181    
182            @Override
183            public int getGroupVocabulariesCount(long[] groupIds) {
184                    return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
185            }
186    
187            @Override
188            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
189                    long groupId, java.lang.String name, int start, int end,
190                    boolean addDefaultVocabulary,
191                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
192                    throws com.liferay.portal.kernel.exception.PortalException {
193                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
194                            name, start, end, addDefaultVocabulary, obc);
195            }
196    
197            @Override
198            public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
199                    long groupId, java.lang.String name, int start, int end,
200                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
201                    throws com.liferay.portal.kernel.exception.PortalException {
202                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
203                            name, start, end, obc);
204            }
205    
206            @Override
207            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
208                    long[] groupIds) {
209                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
210            }
211    
212            @Override
213            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
214                    long[] groupIds, java.lang.String className) {
215                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
216            }
217    
218            @Override
219            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
220                    long[] groupIds, java.lang.String className, long classTypePK) {
221                    return _assetVocabularyService.getGroupsVocabularies(groupIds,
222                            className, classTypePK);
223            }
224    
225            /**
226            * @deprecated As of 6.2.0, with no direct replacement
227            */
228            @Deprecated
229            @Override
230            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
231                    long groupId, java.lang.String name, int start, int end,
232                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetVocabulary> obc)
233                    throws com.liferay.portal.kernel.exception.PortalException {
234                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
235                            start, end, obc);
236            }
237    
238            /**
239            * @deprecated As of 7.0.0, replaced by {@link
240            #AssetUtil.filterVocabularyIds(PermissionChecker, long[])}
241            */
242            @Deprecated
243            @Override
244            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
245                    long[] vocabularyIds)
246                    throws com.liferay.portal.kernel.exception.PortalException {
247                    return _assetVocabularyService.getVocabularies(vocabularyIds);
248            }
249    
250            @Override
251            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
252                    long vocabularyId)
253                    throws com.liferay.portal.kernel.exception.PortalException {
254                    return _assetVocabularyService.getVocabulary(vocabularyId);
255            }
256    
257            @Override
258            public com.liferay.portlet.asset.model.AssetVocabularyDisplay searchVocabulariesDisplay(
259                    long groupId, java.lang.String title, int start, int end,
260                    boolean addDefaultVocabulary)
261                    throws com.liferay.portal.kernel.exception.PortalException {
262                    return _assetVocabularyService.searchVocabulariesDisplay(groupId,
263                            title, start, end, addDefaultVocabulary);
264            }
265    
266            /**
267            * Sets the Spring bean ID for this bean.
268            *
269            * @param beanIdentifier the Spring bean ID for this bean
270            */
271            @Override
272            public void setBeanIdentifier(java.lang.String beanIdentifier) {
273                    _assetVocabularyService.setBeanIdentifier(beanIdentifier);
274            }
275    
276            @Override
277            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
278                    long vocabularyId, java.lang.String title,
279                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
280                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
281                    java.lang.String settings,
282                    com.liferay.portal.service.ServiceContext serviceContext)
283                    throws com.liferay.portal.kernel.exception.PortalException {
284                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
285                            titleMap, descriptionMap, settings, serviceContext);
286            }
287    
288            /**
289            * @deprecated As of 6.1.0, {@link #updateVocabulary(long, String, Map, Map,
290            String, ServiceContext)}
291            */
292            @Deprecated
293            @Override
294            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
295                    long vocabularyId,
296                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
297                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
298                    java.lang.String settings,
299                    com.liferay.portal.service.ServiceContext serviceContext)
300                    throws com.liferay.portal.kernel.exception.PortalException {
301                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
302                            descriptionMap, settings, serviceContext);
303            }
304    
305            /**
306             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
307             */
308            @Deprecated
309            public AssetVocabularyService getWrappedAssetVocabularyService() {
310                    return _assetVocabularyService;
311            }
312    
313            /**
314             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
315             */
316            @Deprecated
317            public void setWrappedAssetVocabularyService(
318                    AssetVocabularyService assetVocabularyService) {
319                    _assetVocabularyService = assetVocabularyService;
320            }
321    
322            @Override
323            public AssetVocabularyService getWrappedService() {
324                    return _assetVocabularyService;
325            }
326    
327            @Override
328            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
329                    _assetVocabularyService = assetVocabularyService;
330            }
331    
332            private AssetVocabularyService _assetVocabularyService;
333    }