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