001    /**
002     * Copyright (c) 2000-2012 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            * @deprecated
037            */
038            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
039                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
040                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041                    java.lang.String settings,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
046                            settings, serviceContext);
047            }
048    
049            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
050                    java.lang.String title,
051                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
052                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
053                    java.lang.String settings,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _assetVocabularyService.addVocabulary(title, titleMap,
058                            descriptionMap, settings, serviceContext);
059            }
060    
061            public void deleteVocabularies(long[] vocabularyIds)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    _assetVocabularyService.deleteVocabularies(vocabularyIds);
065            }
066    
067            public void deleteVocabulary(long vocabularyId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    _assetVocabularyService.deleteVocabulary(vocabularyId);
071            }
072    
073            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
074                    long companyId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return _assetVocabularyService.getCompanyVocabularies(companyId);
078            }
079    
080            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
081                    long[] groupIds)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
085            }
086    
087            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
088                    long[] groupIds, java.lang.String className)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
092            }
093    
094            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
095                    long groupId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _assetVocabularyService.getGroupVocabularies(groupId);
099            }
100    
101            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
102                    long groupId, int start, int end,
103                    com.liferay.portal.kernel.util.OrderByComparator obc)
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
106                            end, obc);
107            }
108    
109            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
110                    long groupId, java.lang.String name, int start, int end,
111                    com.liferay.portal.kernel.util.OrderByComparator obc)
112                    throws com.liferay.portal.kernel.exception.SystemException {
113                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
114                            start, end, obc);
115            }
116    
117            public int getGroupVocabulariesCount(long groupId)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
120            }
121    
122            public int getGroupVocabulariesCount(long groupId, java.lang.String name)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
125            }
126    
127            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
128                    long groupId, java.lang.String name, int start, int end,
129                    com.liferay.portal.kernel.util.OrderByComparator obc)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException {
132                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
133                            start, end, obc);
134            }
135    
136            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
137                    long[] vocabularyIds)
138                    throws com.liferay.portal.kernel.exception.PortalException,
139                            com.liferay.portal.kernel.exception.SystemException {
140                    return _assetVocabularyService.getVocabularies(vocabularyIds);
141            }
142    
143            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
144                    long vocabularyId)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException {
147                    return _assetVocabularyService.getVocabulary(vocabularyId);
148            }
149    
150            /**
151            * @deprecated
152            */
153            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
154                    long vocabularyId,
155                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
156                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
157                    java.lang.String settings,
158                    com.liferay.portal.service.ServiceContext serviceContext)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
162                            descriptionMap, settings, serviceContext);
163            }
164    
165            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
166                    long vocabularyId, java.lang.String title,
167                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
168                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
169                    java.lang.String settings,
170                    com.liferay.portal.service.ServiceContext serviceContext)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
174                            titleMap, descriptionMap, settings, serviceContext);
175            }
176    
177            /**
178             * @deprecated Renamed to {@link #getWrappedService}
179             */
180            public AssetVocabularyService getWrappedAssetVocabularyService() {
181                    return _assetVocabularyService;
182            }
183    
184            /**
185             * @deprecated Renamed to {@link #setWrappedService}
186             */
187            public void setWrappedAssetVocabularyService(
188                    AssetVocabularyService assetVocabularyService) {
189                    _assetVocabularyService = assetVocabularyService;
190            }
191    
192            public AssetVocabularyService getWrappedService() {
193                    return _assetVocabularyService;
194            }
195    
196            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
197                    _assetVocabularyService = assetVocabularyService;
198            }
199    
200            private AssetVocabularyService _assetVocabularyService;
201    }