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="TagsEntryLocalServiceUtil.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 TagsEntryLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       TagsEntryLocalService
40   * @generated
41   */
42  public class TagsEntryLocalServiceWrapper implements TagsEntryLocalService {
43      public TagsEntryLocalServiceWrapper(
44          TagsEntryLocalService tagsEntryLocalService) {
45          _tagsEntryLocalService = tagsEntryLocalService;
46      }
47  
48      public com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
49          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
50          throws com.liferay.portal.SystemException {
51          return _tagsEntryLocalService.addTagsEntry(tagsEntry);
52      }
53  
54      public com.liferay.portlet.tags.model.TagsEntry createTagsEntry(
55          long entryId) {
56          return _tagsEntryLocalService.createTagsEntry(entryId);
57      }
58  
59      public void deleteTagsEntry(long entryId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _tagsEntryLocalService.deleteTagsEntry(entryId);
63      }
64  
65      public void deleteTagsEntry(
66          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
67          throws com.liferay.portal.SystemException {
68          _tagsEntryLocalService.deleteTagsEntry(tagsEntry);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _tagsEntryLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _tagsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.tags.model.TagsEntry getTagsEntry(long entryId)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException {
86          return _tagsEntryLocalService.getTagsEntry(entryId);
87      }
88  
89      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
90          int start, int end) throws com.liferay.portal.SystemException {
91          return _tagsEntryLocalService.getTagsEntries(start, end);
92      }
93  
94      public int getTagsEntriesCount() throws com.liferay.portal.SystemException {
95          return _tagsEntryLocalService.getTagsEntriesCount();
96      }
97  
98      public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
99          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
100         throws com.liferay.portal.SystemException {
101         return _tagsEntryLocalService.updateTagsEntry(tagsEntry);
102     }
103 
104     public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
105         com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
106         throws com.liferay.portal.SystemException {
107         return _tagsEntryLocalService.updateTagsEntry(tagsEntry, merge);
108     }
109 
110     public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
111         java.lang.String parentEntryName, java.lang.String name,
112         java.lang.String vocabularyName, java.lang.String[] properties,
113         com.liferay.portal.service.ServiceContext serviceContext)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException {
116         return _tagsEntryLocalService.addEntry(userId, parentEntryName, name,
117             vocabularyName, properties, serviceContext);
118     }
119 
120     public void addEntryResources(
121         com.liferay.portlet.tags.model.TagsEntry entry,
122         boolean addCommunityPermissions, boolean addGuestPermissions)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         _tagsEntryLocalService.addEntryResources(entry,
126             addCommunityPermissions, addGuestPermissions);
127     }
128 
129     public void addEntryResources(
130         com.liferay.portlet.tags.model.TagsEntry entry,
131         java.lang.String[] communityPermissions,
132         java.lang.String[] guestPermissions)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         _tagsEntryLocalService.addEntryResources(entry, communityPermissions,
136             guestPermissions);
137     }
138 
139     public void checkEntries(long userId, long groupId, java.lang.String[] names)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         _tagsEntryLocalService.checkEntries(userId, groupId, names);
143     }
144 
145     public void deleteEntry(long entryId)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _tagsEntryLocalService.deleteEntry(entryId);
149     }
150 
151     public void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         _tagsEntryLocalService.deleteEntry(entry);
155     }
156 
157     public void deleteVocabularyEntries(long vocabularyId)
158         throws com.liferay.portal.PortalException,
159             com.liferay.portal.SystemException {
160         _tagsEntryLocalService.deleteVocabularyEntries(vocabularyId);
161     }
162 
163     public boolean hasEntry(long groupId, java.lang.String name,
164         boolean folksonomy)
165         throws com.liferay.portal.PortalException,
166             com.liferay.portal.SystemException {
167         return _tagsEntryLocalService.hasEntry(groupId, name, folksonomy);
168     }
169 
170     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
171         long assetId, boolean folksonomy)
172         throws com.liferay.portal.SystemException {
173         return _tagsEntryLocalService.getAssetEntries(assetId, folksonomy);
174     }
175 
176     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
177         throws com.liferay.portal.SystemException {
178         return _tagsEntryLocalService.getEntries();
179     }
180 
181     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
182         boolean folksonomy) throws com.liferay.portal.SystemException {
183         return _tagsEntryLocalService.getEntries(folksonomy);
184     }
185 
186     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
187         java.lang.String className, long classPK)
188         throws com.liferay.portal.SystemException {
189         return _tagsEntryLocalService.getEntries(className, classPK);
190     }
191 
192     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
193         long classNameId, long classPK)
194         throws com.liferay.portal.SystemException {
195         return _tagsEntryLocalService.getEntries(classNameId, classPK);
196     }
197 
198     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
199         java.lang.String className, long classPK, boolean folksonomy)
200         throws com.liferay.portal.SystemException {
201         return _tagsEntryLocalService.getEntries(className, classPK, folksonomy);
202     }
203 
204     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
205         long classNameId, long classPK, boolean folksonomy)
206         throws com.liferay.portal.SystemException {
207         return _tagsEntryLocalService.getEntries(classNameId, classPK,
208             folksonomy);
209     }
210 
211     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
212         long groupId, long classNameId, java.lang.String name)
213         throws com.liferay.portal.SystemException {
214         return _tagsEntryLocalService.getEntries(groupId, classNameId, name);
215     }
216 
217     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
218         long groupId, long classNameId, java.lang.String name, int start,
219         int end) throws com.liferay.portal.SystemException {
220         return _tagsEntryLocalService.getEntries(groupId, classNameId, name,
221             start, end);
222     }
223 
224     public int getEntriesSize(long groupId, long classNameId,
225         java.lang.String name) throws com.liferay.portal.SystemException {
226         return _tagsEntryLocalService.getEntriesSize(groupId, classNameId, name);
227     }
228 
229     public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException {
232         return _tagsEntryLocalService.getEntry(entryId);
233     }
234 
235     public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
236         java.lang.String name)
237         throws com.liferay.portal.PortalException,
238             com.liferay.portal.SystemException {
239         return _tagsEntryLocalService.getEntry(groupId, name);
240     }
241 
242     public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
243         java.lang.String name, boolean folksonomy)
244         throws com.liferay.portal.PortalException,
245             com.liferay.portal.SystemException {
246         return _tagsEntryLocalService.getEntry(groupId, name, folksonomy);
247     }
248 
249     public long[] getEntryIds(long groupId, java.lang.String[] names)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _tagsEntryLocalService.getEntryIds(groupId, names);
253     }
254 
255     public long[] getEntryIds(long groupId, java.lang.String[] names,
256         boolean folksonomy)
257         throws com.liferay.portal.PortalException,
258             com.liferay.portal.SystemException {
259         return _tagsEntryLocalService.getEntryIds(groupId, names, folksonomy);
260     }
261 
262     public java.lang.String[] getEntryNames()
263         throws com.liferay.portal.SystemException {
264         return _tagsEntryLocalService.getEntryNames();
265     }
266 
267     public java.lang.String[] getEntryNames(java.lang.String className,
268         long classPK) throws com.liferay.portal.SystemException {
269         return _tagsEntryLocalService.getEntryNames(className, classPK);
270     }
271 
272     public java.lang.String[] getEntryNames(long classNameId, long classPK)
273         throws com.liferay.portal.SystemException {
274         return _tagsEntryLocalService.getEntryNames(classNameId, classPK);
275     }
276 
277     public java.lang.String[] getEntryNames(boolean folksonomy)
278         throws com.liferay.portal.SystemException {
279         return _tagsEntryLocalService.getEntryNames(folksonomy);
280     }
281 
282     public java.lang.String[] getEntryNames(java.lang.String className,
283         long classPK, boolean folksonomy)
284         throws com.liferay.portal.SystemException {
285         return _tagsEntryLocalService.getEntryNames(className, classPK,
286             folksonomy);
287     }
288 
289     public java.lang.String[] getEntryNames(long classNameId, long classPK,
290         boolean folksonomy) throws com.liferay.portal.SystemException {
291         return _tagsEntryLocalService.getEntryNames(classNameId, classPK,
292             folksonomy);
293     }
294 
295     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
296         long groupId, java.lang.String vocabularyName)
297         throws com.liferay.portal.PortalException,
298             com.liferay.portal.SystemException {
299         return _tagsEntryLocalService.getGroupVocabularyEntries(groupId,
300             vocabularyName);
301     }
302 
303     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
304         long groupId, java.lang.String parentEntryName,
305         java.lang.String vocabularyName)
306         throws com.liferay.portal.PortalException,
307             com.liferay.portal.SystemException {
308         return _tagsEntryLocalService.getGroupVocabularyEntries(groupId,
309             parentEntryName, vocabularyName);
310     }
311 
312     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(
313         long groupId, java.lang.String vocabularyName)
314         throws com.liferay.portal.PortalException,
315             com.liferay.portal.SystemException {
316         return _tagsEntryLocalService.getGroupVocabularyRootEntries(groupId,
317             vocabularyName);
318     }
319 
320     public void mergeEntries(long fromEntryId, long toEntryId)
321         throws com.liferay.portal.PortalException,
322             com.liferay.portal.SystemException {
323         _tagsEntryLocalService.mergeEntries(fromEntryId, toEntryId);
324     }
325 
326     public com.liferay.portal.kernel.json.JSONArray search(long groupId,
327         java.lang.String name, java.lang.String[] properties, int start, int end)
328         throws com.liferay.portal.SystemException {
329         return _tagsEntryLocalService.search(groupId, name, properties, start,
330             end);
331     }
332 
333     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId,
334         long entryId, java.lang.String parentEntryName, java.lang.String name,
335         java.lang.String vocabularyName, java.lang.String[] properties)
336         throws com.liferay.portal.PortalException,
337             com.liferay.portal.SystemException {
338         return _tagsEntryLocalService.updateEntry(userId, entryId,
339             parentEntryName, name, vocabularyName, properties);
340     }
341 
342     public TagsEntryLocalService getWrappedTagsEntryLocalService() {
343         return _tagsEntryLocalService;
344     }
345 
346     private TagsEntryLocalService _tagsEntryLocalService;
347 }