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 AssetVocabularyLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetVocabularyLocalService
024     * @generated
025     */
026    public class AssetVocabularyLocalServiceWrapper
027            implements AssetVocabularyLocalService {
028            public AssetVocabularyLocalServiceWrapper(
029                    AssetVocabularyLocalService assetVocabularyLocalService) {
030                    _assetVocabularyLocalService = assetVocabularyLocalService;
031            }
032    
033            public com.liferay.portlet.asset.model.AssetVocabulary addAssetVocabulary(
034                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _assetVocabularyLocalService.addAssetVocabulary(assetVocabulary);
037            }
038    
039            public com.liferay.portlet.asset.model.AssetVocabulary createAssetVocabulary(
040                    long vocabularyId) {
041                    return _assetVocabularyLocalService.createAssetVocabulary(vocabularyId);
042            }
043    
044            public void deleteAssetVocabulary(long vocabularyId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _assetVocabularyLocalService.deleteAssetVocabulary(vocabularyId);
048            }
049    
050            public void deleteAssetVocabulary(
051                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _assetVocabularyLocalService.deleteAssetVocabulary(assetVocabulary);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
068                            end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _assetVocabularyLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
088                    long vocabularyId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _assetVocabularyLocalService.getAssetVocabulary(vocabularyId);
092            }
093    
094            public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndGroupId(
095                    java.lang.String uuid, long groupId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _assetVocabularyLocalService.getAssetVocabularyByUuidAndGroupId(uuid,
099                            groupId);
100            }
101    
102            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
103                    int start, int end)
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _assetVocabularyLocalService.getAssetVocabularies(start, end);
106            }
107    
108            public int getAssetVocabulariesCount()
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _assetVocabularyLocalService.getAssetVocabulariesCount();
111            }
112    
113            public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
114                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary);
117            }
118    
119            public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
120                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
121                    boolean merge)
122                    throws com.liferay.portal.kernel.exception.SystemException {
123                    return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary,
124                            merge);
125            }
126    
127            public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
128                    long userId,
129                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
130                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
131                    java.lang.String settings,
132                    com.liferay.portal.service.ServiceContext serviceContext)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    return _assetVocabularyLocalService.addVocabulary(userId, titleMap,
136                            descriptionMap, settings, serviceContext);
137            }
138    
139            public void addVocabularyResources(
140                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
141                    boolean addCommunityPermissions, boolean addGuestPermissions)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    _assetVocabularyLocalService.addVocabularyResources(vocabulary,
145                            addCommunityPermissions, addGuestPermissions);
146            }
147    
148            public void addVocabularyResources(
149                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
150                    java.lang.String[] communityPermissions,
151                    java.lang.String[] guestPermissions)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    _assetVocabularyLocalService.addVocabularyResources(vocabulary,
155                            communityPermissions, guestPermissions);
156            }
157    
158            public void deleteVocabulary(
159                    com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
160                    throws com.liferay.portal.kernel.exception.PortalException,
161                            com.liferay.portal.kernel.exception.SystemException {
162                    _assetVocabularyLocalService.deleteVocabulary(vocabulary);
163            }
164    
165            public void deleteVocabulary(long vocabularyId)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    _assetVocabularyLocalService.deleteVocabulary(vocabularyId);
169            }
170    
171            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
172                    long companyId)
173                    throws com.liferay.portal.kernel.exception.SystemException {
174                    return _assetVocabularyLocalService.getCompanyVocabularies(companyId);
175            }
176    
177            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
178                    long[] groupIds)
179                    throws com.liferay.portal.kernel.exception.PortalException,
180                            com.liferay.portal.kernel.exception.SystemException {
181                    return _assetVocabularyLocalService.getGroupsVocabularies(groupIds);
182            }
183    
184            public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
185                    long groupId)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    return _assetVocabularyLocalService.getGroupVocabularies(groupId);
189            }
190    
191            public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
192                    long groupId, java.lang.String name)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException {
195                    return _assetVocabularyLocalService.getGroupVocabulary(groupId, name);
196            }
197    
198            public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
199                    long vocabularyId)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _assetVocabularyLocalService.getVocabulary(vocabularyId);
203            }
204    
205            public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
206                    long vocabularyId,
207                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
208                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
209                    java.lang.String settings,
210                    com.liferay.portal.service.ServiceContext serviceContext)
211                    throws com.liferay.portal.kernel.exception.PortalException,
212                            com.liferay.portal.kernel.exception.SystemException {
213                    return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
214                            titleMap, descriptionMap, settings, serviceContext);
215            }
216    
217            public AssetVocabularyLocalService getWrappedAssetVocabularyLocalService() {
218                    return _assetVocabularyLocalService;
219            }
220    
221            private AssetVocabularyLocalService _assetVocabularyLocalService;
222    }