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.asset.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.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.asset.kernel.model.AssetVocabulary addVocabulary(
038                    long groupId, java.lang.String title,
039                    com.liferay.portal.kernel.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.asset.kernel.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.kernel.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            @Override
058            public com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(
059                    long vocabularyId)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _assetVocabularyService.fetchVocabulary(vocabularyId);
062            }
063    
064            @Override
065            public com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(
066                    long vocabularyId)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _assetVocabularyService.getVocabulary(vocabularyId);
069            }
070    
071            @Override
072            public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(
073                    long vocabularyId, java.lang.String title,
074                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
075                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
076                    java.lang.String settings,
077                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
078                    throws com.liferay.portal.kernel.exception.PortalException {
079                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
080                            titleMap, descriptionMap, settings, serviceContext);
081            }
082    
083            @Override
084            public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
085                    long groupId, java.lang.String name, int start, int end,
086                    boolean addDefaultVocabulary,
087                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
090                            name, start, end, addDefaultVocabulary, obc);
091            }
092    
093            @Override
094            public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
095                    long groupId, java.lang.String name, int start, int end,
096                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
097                    throws com.liferay.portal.kernel.exception.PortalException {
098                    return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
099                            name, start, end, obc);
100            }
101    
102            @Override
103            public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(
104                    long groupId, java.lang.String title, boolean addDefaultVocabulary,
105                    int start, int end)
106                    throws com.liferay.portal.kernel.exception.PortalException {
107                    return _assetVocabularyService.searchVocabulariesDisplay(groupId,
108                            title, addDefaultVocabulary, start, end);
109            }
110    
111            @Override
112            public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(
113                    long groupId, java.lang.String title, boolean addDefaultVocabulary,
114                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
115                    throws com.liferay.portal.kernel.exception.PortalException {
116                    return _assetVocabularyService.searchVocabulariesDisplay(groupId,
117                            title, addDefaultVocabulary, start, end, sort);
118            }
119    
120            @Override
121            public int getGroupVocabulariesCount(long groupId) {
122                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
123            }
124    
125            @Override
126            public int getGroupVocabulariesCount(long groupId, java.lang.String name) {
127                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
128            }
129    
130            @Override
131            public int getGroupVocabulariesCount(long[] groupIds) {
132                    return _assetVocabularyService.getGroupVocabulariesCount(groupIds);
133            }
134    
135            /**
136            * Returns the OSGi service identifier.
137            *
138            * @return the OSGi service identifier
139            */
140            @Override
141            public java.lang.String getOSGiServiceIdentifier() {
142                    return _assetVocabularyService.getOSGiServiceIdentifier();
143            }
144    
145            @Override
146            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(
147                    long[] vocabularyIds,
148                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
149                    throws com.liferay.portal.kernel.exception.PortalException {
150                    return _assetVocabularyService.deleteVocabularies(vocabularyIds,
151                            serviceContext);
152            }
153    
154            /**
155            * @deprecated As of 7.0.0, with no direct replacement
156            */
157            @Deprecated
158            @Override
159            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(
160                    long companyId)
161                    throws com.liferay.portal.kernel.exception.PortalException {
162                    return _assetVocabularyService.getCompanyVocabularies(companyId);
163            }
164    
165            @Override
166            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
167                    long groupId)
168                    throws com.liferay.portal.kernel.exception.PortalException {
169                    return _assetVocabularyService.getGroupVocabularies(groupId);
170            }
171    
172            @Override
173            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
174                    long groupId, boolean createDefaultVocabulary)
175                    throws com.liferay.portal.kernel.exception.PortalException {
176                    return _assetVocabularyService.getGroupVocabularies(groupId,
177                            createDefaultVocabulary);
178            }
179    
180            @Override
181            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
182                    long groupId, boolean createDefaultVocabulary, int start, int end,
183                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
184                    throws com.liferay.portal.kernel.exception.PortalException {
185                    return _assetVocabularyService.getGroupVocabularies(groupId,
186                            createDefaultVocabulary, start, end, obc);
187            }
188    
189            @Override
190            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
191                    long groupId, int start, int end,
192                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) {
193                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
194                            end, obc);
195            }
196    
197            @Override
198            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
199                    long groupId, java.lang.String name, int start, int end,
200                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) {
201                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
202                            start, end, obc);
203            }
204    
205            @Override
206            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(
207                    long[] groupIds) {
208                    return _assetVocabularyService.getGroupVocabularies(groupIds);
209            }
210    
211            @Override
212            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
213                    long[] groupIds) {
214                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
215            }
216    
217            @Override
218            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
219                    long[] groupIds, java.lang.String className) {
220                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
221            }
222    
223            @Override
224            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(
225                    long[] groupIds, java.lang.String className, long classTypePK) {
226                    return _assetVocabularyService.getGroupsVocabularies(groupIds,
227                            className, classTypePK);
228            }
229    
230            /**
231            * @deprecated As of 7.0.0, replaced by {@link
232            AssetUtil#filterVocabularyIds(PermissionChecker, long[])}
233            */
234            @Deprecated
235            @Override
236            public java.util.List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(
237                    long[] vocabularyIds)
238                    throws com.liferay.portal.kernel.exception.PortalException {
239                    return _assetVocabularyService.getVocabularies(vocabularyIds);
240            }
241    
242            @Override
243            public void deleteVocabulary(long vocabularyId)
244                    throws com.liferay.portal.kernel.exception.PortalException {
245                    _assetVocabularyService.deleteVocabulary(vocabularyId);
246            }
247    
248            @Override
249            public AssetVocabularyService getWrappedService() {
250                    return _assetVocabularyService;
251            }
252    
253            @Override
254            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
255                    _assetVocabularyService = assetVocabularyService;
256            }
257    
258            private AssetVocabularyService _assetVocabularyService;
259    }