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    /**
019     * <p>
020     * This class is a wrapper for {@link AssetVocabularyService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       AssetVocabularyService
025     * @generated
026     */
027    public class AssetVocabularyServiceWrapper implements AssetVocabularyService {
028            public AssetVocabularyServiceWrapper(
029                    AssetVocabularyService assetVocabularyService) {
030                    _assetVocabularyService = assetVocabularyService;
031            }
032    
033            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
034                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
035                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
036                    java.lang.String settings,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
041                            settings, serviceContext);
042            }
043    
044            public void deleteVocabulary(long vocabularyId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _assetVocabularyService.deleteVocabulary(vocabularyId);
048            }
049    
050            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
051                    long companyId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _assetVocabularyService.getCompanyVocabularies(companyId);
055            }
056    
057            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
058                    long[] groupIds)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
062            }
063    
064            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
065                    long groupId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _assetVocabularyService.getGroupVocabularies(groupId);
069            }
070    
071            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
072                    long vocabularyId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _assetVocabularyService.getVocabulary(vocabularyId);
076            }
077    
078            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
079                    long vocabularyId,
080                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
081                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
082                    java.lang.String settings,
083                    com.liferay.portal.service.ServiceContext serviceContext)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
087                            descriptionMap, settings, serviceContext);
088            }
089    
090            public AssetVocabularyService getWrappedAssetVocabularyService() {
091                    return _assetVocabularyService;
092            }
093    
094            private AssetVocabularyService _assetVocabularyService;
095    }