1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.tags.service;
16  
17  
18  /**
19   * <a href="TagsVocabularyLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link TagsVocabularyLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       TagsVocabularyLocalService
32   * @generated
33   */
34  public class TagsVocabularyLocalServiceWrapper
35      implements TagsVocabularyLocalService {
36      public TagsVocabularyLocalServiceWrapper(
37          TagsVocabularyLocalService tagsVocabularyLocalService) {
38          _tagsVocabularyLocalService = tagsVocabularyLocalService;
39      }
40  
41      public com.liferay.portlet.tags.model.TagsVocabulary addTagsVocabulary(
42          com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
43          throws com.liferay.portal.SystemException {
44          return _tagsVocabularyLocalService.addTagsVocabulary(tagsVocabulary);
45      }
46  
47      public com.liferay.portlet.tags.model.TagsVocabulary createTagsVocabulary(
48          long vocabularyId) {
49          return _tagsVocabularyLocalService.createTagsVocabulary(vocabularyId);
50      }
51  
52      public void deleteTagsVocabulary(long vocabularyId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _tagsVocabularyLocalService.deleteTagsVocabulary(vocabularyId);
56      }
57  
58      public void deleteTagsVocabulary(
59          com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
60          throws com.liferay.portal.SystemException {
61          _tagsVocabularyLocalService.deleteTagsVocabulary(tagsVocabulary);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _tagsVocabularyLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _tagsVocabularyLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException {
81          return _tagsVocabularyLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.SystemException {
88          return _tagsVocabularyLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.tags.model.TagsVocabulary getTagsVocabulary(
92          long vocabularyId)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _tagsVocabularyLocalService.getTagsVocabulary(vocabularyId);
96      }
97  
98      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getTagsVocabularies(
99          int start, int end) throws com.liferay.portal.SystemException {
100         return _tagsVocabularyLocalService.getTagsVocabularies(start, end);
101     }
102 
103     public int getTagsVocabulariesCount()
104         throws com.liferay.portal.SystemException {
105         return _tagsVocabularyLocalService.getTagsVocabulariesCount();
106     }
107 
108     public com.liferay.portlet.tags.model.TagsVocabulary updateTagsVocabulary(
109         com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
110         throws com.liferay.portal.SystemException {
111         return _tagsVocabularyLocalService.updateTagsVocabulary(tagsVocabulary);
112     }
113 
114     public com.liferay.portlet.tags.model.TagsVocabulary updateTagsVocabulary(
115         com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _tagsVocabularyLocalService.updateTagsVocabulary(tagsVocabulary,
118             merge);
119     }
120 
121     public com.liferay.portlet.tags.model.TagsVocabulary addVocabulary(
122         long userId, java.lang.String name, boolean folksonomy,
123         com.liferay.portal.service.ServiceContext serviceContext)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _tagsVocabularyLocalService.addVocabulary(userId, name,
127             folksonomy, serviceContext);
128     }
129 
130     public void addVocabularyResources(
131         com.liferay.portlet.tags.model.TagsVocabulary vocabulary,
132         boolean addCommunityPermissions, boolean addGuestPermissions)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         _tagsVocabularyLocalService.addVocabularyResources(vocabulary,
136             addCommunityPermissions, addGuestPermissions);
137     }
138 
139     public void addVocabularyResources(
140         com.liferay.portlet.tags.model.TagsVocabulary vocabulary,
141         java.lang.String[] communityPermissions,
142         java.lang.String[] guestPermissions)
143         throws com.liferay.portal.PortalException,
144             com.liferay.portal.SystemException {
145         _tagsVocabularyLocalService.addVocabularyResources(vocabulary,
146             communityPermissions, guestPermissions);
147     }
148 
149     public void deleteVocabulary(long vocabularyId)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _tagsVocabularyLocalService.deleteVocabulary(vocabularyId);
153     }
154 
155     public void deleteVocabulary(
156         com.liferay.portlet.tags.model.TagsVocabulary vocabulary)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _tagsVocabularyLocalService.deleteVocabulary(vocabulary);
160     }
161 
162     public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getCompanyVocabularies(
163         long companyId, boolean folksonomy)
164         throws com.liferay.portal.SystemException {
165         return _tagsVocabularyLocalService.getCompanyVocabularies(companyId,
166             folksonomy);
167     }
168 
169     public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getGroupVocabularies(
170         long groupId, boolean folksonomy)
171         throws com.liferay.portal.SystemException {
172         return _tagsVocabularyLocalService.getGroupVocabularies(groupId,
173             folksonomy);
174     }
175 
176     public com.liferay.portlet.tags.model.TagsVocabulary getGroupVocabulary(
177         long groupId, java.lang.String name)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _tagsVocabularyLocalService.getGroupVocabulary(groupId, name);
181     }
182 
183     public com.liferay.portlet.tags.model.TagsVocabulary getVocabulary(
184         long vocabularyId)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         return _tagsVocabularyLocalService.getVocabulary(vocabularyId);
188     }
189 
190     public com.liferay.portlet.tags.model.TagsVocabulary updateVocabulary(
191         long vocabularyId, java.lang.String name, boolean folksonomy)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         return _tagsVocabularyLocalService.updateVocabulary(vocabularyId, name,
195             folksonomy);
196     }
197 
198     public TagsVocabularyLocalService getWrappedTagsVocabularyLocalService() {
199         return _tagsVocabularyLocalService;
200     }
201 
202     private TagsVocabularyLocalService _tagsVocabularyLocalService;
203 }