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, boolean createDefaultVocabulary)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _assetVocabularyService.getGroupVocabularies(groupId,
124                            createDefaultVocabulary);
125            }
126    
127            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
128                    long groupId, 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, start,
132                            end, obc);
133            }
134    
135            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
136                    long groupId, java.lang.String name, int start, int end,
137                    com.liferay.portal.kernel.util.OrderByComparator obc)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
140                            start, end, obc);
141            }
142    
143            public int getGroupVocabulariesCount(long groupId)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
146            }
147    
148            public int getGroupVocabulariesCount(long groupId, java.lang.String name)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
151            }
152    
153            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
154                    long groupId, java.lang.String name, int start, int end,
155                    com.liferay.portal.kernel.util.OrderByComparator obc)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
159                            start, end, obc);
160            }
161    
162            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
163                    long[] vocabularyIds)
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException {
166                    return _assetVocabularyService.getVocabularies(vocabularyIds);
167            }
168    
169            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
170                    long vocabularyId)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    return _assetVocabularyService.getVocabulary(vocabularyId);
174            }
175    
176            /**
177            * @deprecated
178            */
179            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
180                    long vocabularyId,
181                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
182                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
183                    java.lang.String settings,
184                    com.liferay.portal.service.ServiceContext serviceContext)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
188                            descriptionMap, settings, serviceContext);
189            }
190    
191            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
192                    long vocabularyId, java.lang.String title,
193                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
194                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
195                    java.lang.String settings,
196                    com.liferay.portal.service.ServiceContext serviceContext)
197                    throws com.liferay.portal.kernel.exception.PortalException,
198                            com.liferay.portal.kernel.exception.SystemException {
199                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
200                            titleMap, descriptionMap, settings, serviceContext);
201            }
202    
203            /**
204             * @deprecated Renamed to {@link #getWrappedService}
205             */
206            public AssetVocabularyService getWrappedAssetVocabularyService() {
207                    return _assetVocabularyService;
208            }
209    
210            /**
211             * @deprecated Renamed to {@link #setWrappedService}
212             */
213            public void setWrappedAssetVocabularyService(
214                    AssetVocabularyService assetVocabularyService) {
215                    _assetVocabularyService = assetVocabularyService;
216            }
217    
218            public AssetVocabularyService getWrappedService() {
219                    return _assetVocabularyService;
220            }
221    
222            public void setWrappedService(AssetVocabularyService assetVocabularyService) {
223                    _assetVocabularyService = assetVocabularyService;
224            }
225    
226            private AssetVocabularyService _assetVocabularyService;
227    }