001    /**
002     * Copyright (c) 2000-2010 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    /**
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            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
033                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
034                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
035                    java.lang.String settings,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
040                            settings, serviceContext);
041            }
042    
043            public void deleteVocabulary(long vocabularyId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _assetVocabularyService.deleteVocabulary(vocabularyId);
047            }
048    
049            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
050                    long companyId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _assetVocabularyService.getCompanyVocabularies(companyId);
054            }
055    
056            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
057                    long[] groupIds)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
061            }
062    
063            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
064                    long groupId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _assetVocabularyService.getGroupVocabularies(groupId);
068            }
069    
070            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
071                    long vocabularyId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _assetVocabularyService.getVocabulary(vocabularyId);
075            }
076    
077            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
078                    long vocabularyId,
079                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
080                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
081                    java.lang.String settings,
082                    com.liferay.portal.service.ServiceContext serviceContext)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
086                            descriptionMap, settings, serviceContext);
087            }
088    
089            public AssetVocabularyService getWrappedAssetVocabularyService() {
090                    return _assetVocabularyService;
091            }
092    
093            private AssetVocabularyService _assetVocabularyService;
094    }