1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.tags.service;
24  
25  
26  /**
27   * <a href="TagsVocabularyLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link TagsVocabularyLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       TagsVocabularyLocalService
40   * @generated
41   */
42  public class TagsVocabularyLocalServiceWrapper
43      implements TagsVocabularyLocalService {
44      public TagsVocabularyLocalServiceWrapper(
45          TagsVocabularyLocalService tagsVocabularyLocalService) {
46          _tagsVocabularyLocalService = tagsVocabularyLocalService;
47      }
48  
49      public com.liferay.portlet.tags.model.TagsVocabulary addTagsVocabulary(
50          com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
51          throws com.liferay.portal.SystemException {
52          return _tagsVocabularyLocalService.addTagsVocabulary(tagsVocabulary);
53      }
54  
55      public com.liferay.portlet.tags.model.TagsVocabulary createTagsVocabulary(
56          long vocabularyId) {
57          return _tagsVocabularyLocalService.createTagsVocabulary(vocabularyId);
58      }
59  
60      public void deleteTagsVocabulary(long vocabularyId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _tagsVocabularyLocalService.deleteTagsVocabulary(vocabularyId);
64      }
65  
66      public void deleteTagsVocabulary(
67          com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
68          throws com.liferay.portal.SystemException {
69          _tagsVocabularyLocalService.deleteTagsVocabulary(tagsVocabulary);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _tagsVocabularyLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _tagsVocabularyLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.tags.model.TagsVocabulary getTagsVocabulary(
85          long vocabularyId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _tagsVocabularyLocalService.getTagsVocabulary(vocabularyId);
89      }
90  
91      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getTagsVocabularies(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _tagsVocabularyLocalService.getTagsVocabularies(start, end);
94      }
95  
96      public int getTagsVocabulariesCount()
97          throws com.liferay.portal.SystemException {
98          return _tagsVocabularyLocalService.getTagsVocabulariesCount();
99      }
100 
101     public com.liferay.portlet.tags.model.TagsVocabulary updateTagsVocabulary(
102         com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
103         throws com.liferay.portal.SystemException {
104         return _tagsVocabularyLocalService.updateTagsVocabulary(tagsVocabulary);
105     }
106 
107     public com.liferay.portlet.tags.model.TagsVocabulary updateTagsVocabulary(
108         com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _tagsVocabularyLocalService.updateTagsVocabulary(tagsVocabulary,
111             merge);
112     }
113 
114     public com.liferay.portlet.tags.model.TagsVocabulary addVocabulary(
115         long userId, java.lang.String name, boolean folksonomy,
116         com.liferay.portal.service.ServiceContext serviceContext)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _tagsVocabularyLocalService.addVocabulary(userId, name,
120             folksonomy, serviceContext);
121     }
122 
123     public void addVocabularyResources(
124         com.liferay.portlet.tags.model.TagsVocabulary vocabulary,
125         boolean addCommunityPermissions, boolean addGuestPermissions)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         _tagsVocabularyLocalService.addVocabularyResources(vocabulary,
129             addCommunityPermissions, addGuestPermissions);
130     }
131 
132     public void addVocabularyResources(
133         com.liferay.portlet.tags.model.TagsVocabulary vocabulary,
134         java.lang.String[] communityPermissions,
135         java.lang.String[] guestPermissions)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         _tagsVocabularyLocalService.addVocabularyResources(vocabulary,
139             communityPermissions, guestPermissions);
140     }
141 
142     public void deleteVocabulary(long vocabularyId)
143         throws com.liferay.portal.PortalException,
144             com.liferay.portal.SystemException {
145         _tagsVocabularyLocalService.deleteVocabulary(vocabularyId);
146     }
147 
148     public void deleteVocabulary(
149         com.liferay.portlet.tags.model.TagsVocabulary vocabulary)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _tagsVocabularyLocalService.deleteVocabulary(vocabulary);
153     }
154 
155     public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getCompanyVocabularies(
156         long companyId, boolean folksonomy)
157         throws com.liferay.portal.SystemException {
158         return _tagsVocabularyLocalService.getCompanyVocabularies(companyId,
159             folksonomy);
160     }
161 
162     public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getGroupVocabularies(
163         long groupId, boolean folksonomy)
164         throws com.liferay.portal.SystemException {
165         return _tagsVocabularyLocalService.getGroupVocabularies(groupId,
166             folksonomy);
167     }
168 
169     public com.liferay.portlet.tags.model.TagsVocabulary getGroupVocabulary(
170         long groupId, java.lang.String name)
171         throws com.liferay.portal.PortalException,
172             com.liferay.portal.SystemException {
173         return _tagsVocabularyLocalService.getGroupVocabulary(groupId, name);
174     }
175 
176     public com.liferay.portlet.tags.model.TagsVocabulary getVocabulary(
177         long vocabularyId)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _tagsVocabularyLocalService.getVocabulary(vocabularyId);
181     }
182 
183     public com.liferay.portlet.tags.model.TagsVocabulary updateVocabulary(
184         long vocabularyId, java.lang.String name, boolean folksonomy)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         return _tagsVocabularyLocalService.updateVocabulary(vocabularyId, name,
188             folksonomy);
189     }
190 
191     public TagsVocabularyLocalService getWrappedTagsVocabularyLocalService() {
192         return _tagsVocabularyLocalService;
193     }
194 
195     private TagsVocabularyLocalService _tagsVocabularyLocalService;
196 }