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