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