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