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