001    /**
002     * Copyright (c) 2000-2011 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            /**
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 deleteVocabularies(long[] vocabularyIds)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    _assetVocabularyService.deleteVocabularies(vocabularyIds);
062            }
063    
064            public void deleteVocabulary(long vocabularyId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _assetVocabularyService.deleteVocabulary(vocabularyId);
068            }
069    
070            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
071                    long companyId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _assetVocabularyService.getCompanyVocabularies(companyId);
075            }
076    
077            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
078                    long[] groupIds)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _assetVocabularyService.getGroupsVocabularies(groupIds);
082            }
083    
084            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
085                    long[] groupIds, java.lang.String className)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
089            }
090    
091            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
092                    long groupId)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _assetVocabularyService.getGroupVocabularies(groupId);
096            }
097    
098            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
099                    long groupId, int start, int end,
100                    com.liferay.portal.kernel.util.OrderByComparator obc)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _assetVocabularyService.getGroupVocabularies(groupId, start,
103                            end, obc);
104            }
105    
106            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
107                    long groupId, java.lang.String name, int start, int end,
108                    com.liferay.portal.kernel.util.OrderByComparator obc)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _assetVocabularyService.getGroupVocabularies(groupId, name,
111                            start, end, obc);
112            }
113    
114            public int getGroupVocabulariesCount(long groupId)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _assetVocabularyService.getGroupVocabulariesCount(groupId);
117            }
118    
119            public int getGroupVocabulariesCount(long groupId, java.lang.String name)
120                    throws com.liferay.portal.kernel.exception.SystemException {
121                    return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
122            }
123    
124            public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
125                    long groupId, java.lang.String name, int start, int end,
126                    com.liferay.portal.kernel.util.OrderByComparator obc)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
130                            start, end, obc);
131            }
132    
133            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
134                    long[] vocabularyIds)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _assetVocabularyService.getVocabularies(vocabularyIds);
138            }
139    
140            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
141                    long vocabularyId)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    return _assetVocabularyService.getVocabulary(vocabularyId);
145            }
146    
147            /**
148            * @deprecated
149            */
150            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
151                    long vocabularyId,
152                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
153                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
154                    java.lang.String settings,
155                    com.liferay.portal.service.ServiceContext serviceContext)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
159                            descriptionMap, settings, serviceContext);
160            }
161    
162            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
163                    long vocabularyId, java.lang.String title,
164                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
165                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
166                    java.lang.String settings,
167                    com.liferay.portal.service.ServiceContext serviceContext)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException {
170                    return _assetVocabularyService.updateVocabulary(vocabularyId, title,
171                            titleMap, descriptionMap, settings, serviceContext);
172            }
173    
174            public AssetVocabularyService getWrappedAssetVocabularyService() {
175                    return _assetVocabularyService;
176            }
177    
178            public void setWrappedAssetVocabularyService(
179                    AssetVocabularyService assetVocabularyService) {
180                    _assetVocabularyService = assetVocabularyService;
181            }
182    
183            private AssetVocabularyService _assetVocabularyService;
184    }