001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AssetVocabularyService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetVocabularyService
024     * @generated
025     */
026    public class AssetVocabularyServiceWrapper implements AssetVocabularyService {
027            public AssetVocabularyServiceWrapper(
028                    AssetVocabularyService assetVocabularyService) {
029                    _assetVocabularyService = assetVocabularyService;
030            }
031    
032            /**
033            * @deprecated
034            */
035            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
036                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
037                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038                    java.lang.String settings,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
043                            settings, serviceContext);
044            }
045    
046            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
047                    java.lang.String title,
048                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
049                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
050                    java.lang.String settings,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _assetVocabularyService.addVocabulary(title, titleMap,
055                            descriptionMap, settings, serviceContext);
056            }
057    
058            public void deleteVocabulary(long vocabularyId)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    _assetVocabularyService.deleteVocabulary(vocabularyId);
062            }
063    
064            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
065                    long companyId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _assetVocabularyService.getCompanyVocabularies(companyId);
069            }
070    
071            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
072                    long[] groupIds)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
076            }
077    
078            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
079                    long groupId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _assetVocabularyService.getGroupVocabularies(groupId);
083            }
084    
085            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
086                    long vocabularyId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _assetVocabularyService.getVocabulary(vocabularyId);
090            }
091    
092            /**
093            * @deprecated
094            */
095            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
096                    long vocabularyId,
097                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
098                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
099                    java.lang.String settings,
100                    com.liferay.portal.service.ServiceContext serviceContext)
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException {
103                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
104                            descriptionMap, settings, serviceContext);
105            }
106    
107            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
108                    long vocabularyId, java.lang.String title,
109                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
110                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
111                    java.lang.String settings,
112                    com.liferay.portal.service.ServiceContext serviceContext)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
116                            titleMap, descriptionMap, settings, serviceContext);
117            }
118    
119            public AssetVocabularyService getWrappedAssetVocabularyService() {
120                    return _assetVocabularyService;
121            }
122    
123            private AssetVocabularyService _assetVocabularyService;
124    }