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 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
164         long assetId, boolean folksonomy)
165         throws com.liferay.portal.SystemException {
166         return _tagsEntryLocalService.getAssetEntries(assetId, folksonomy);
167     }
168 
169     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
170         throws com.liferay.portal.SystemException {
171         return _tagsEntryLocalService.getEntries();
172     }
173 
174     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
175         boolean folksonomy) throws com.liferay.portal.SystemException {
176         return _tagsEntryLocalService.getEntries(folksonomy);
177     }
178 
179     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
180         long classNameId, long classPK)
181         throws com.liferay.portal.SystemException {
182         return _tagsEntryLocalService.getEntries(classNameId, classPK);
183     }
184 
185     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
186         long classNameId, long classPK, boolean folksonomy)
187         throws com.liferay.portal.SystemException {
188         return _tagsEntryLocalService.getEntries(classNameId, classPK,
189             folksonomy);
190     }
191 
192     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
193         long groupId, long classNameId, java.lang.String name)
194         throws com.liferay.portal.SystemException {
195         return _tagsEntryLocalService.getEntries(groupId, classNameId, name);
196     }
197 
198     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
199         long groupId, long classNameId, java.lang.String name, int start,
200         int end) throws com.liferay.portal.SystemException {
201         return _tagsEntryLocalService.getEntries(groupId, classNameId, name,
202             start, end);
203     }
204 
205     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
206         java.lang.String className, long classPK)
207         throws com.liferay.portal.SystemException {
208         return _tagsEntryLocalService.getEntries(className, classPK);
209     }
210 
211     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
212         java.lang.String className, long classPK, boolean folksonomy)
213         throws com.liferay.portal.SystemException {
214         return _tagsEntryLocalService.getEntries(className, classPK, folksonomy);
215     }
216 
217     public int getEntriesSize(long groupId, long classNameId,
218         java.lang.String name) throws com.liferay.portal.SystemException {
219         return _tagsEntryLocalService.getEntriesSize(groupId, classNameId, name);
220     }
221 
222     public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
223         throws com.liferay.portal.PortalException,
224             com.liferay.portal.SystemException {
225         return _tagsEntryLocalService.getEntry(entryId);
226     }
227 
228     public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
229         java.lang.String name)
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException {
232         return _tagsEntryLocalService.getEntry(groupId, name);
233     }
234 
235     public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
236         java.lang.String name, boolean folksonomy)
237         throws com.liferay.portal.PortalException,
238             com.liferay.portal.SystemException {
239         return _tagsEntryLocalService.getEntry(groupId, name, folksonomy);
240     }
241 
242     public long[] getEntryIds(long groupId, java.lang.String[] names)
243         throws com.liferay.portal.PortalException,
244             com.liferay.portal.SystemException {
245         return _tagsEntryLocalService.getEntryIds(groupId, names);
246     }
247 
248     public long[] getEntryIds(long groupId, java.lang.String[] names,
249         boolean folksonomy)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _tagsEntryLocalService.getEntryIds(groupId, names, folksonomy);
253     }
254 
255     public java.lang.String[] getEntryNames()
256         throws com.liferay.portal.SystemException {
257         return _tagsEntryLocalService.getEntryNames();
258     }
259 
260     public java.lang.String[] getEntryNames(boolean folksonomy)
261         throws com.liferay.portal.SystemException {
262         return _tagsEntryLocalService.getEntryNames(folksonomy);
263     }
264 
265     public java.lang.String[] getEntryNames(long classNameId, long classPK)
266         throws com.liferay.portal.SystemException {
267         return _tagsEntryLocalService.getEntryNames(classNameId, classPK);
268     }
269 
270     public java.lang.String[] getEntryNames(long classNameId, long classPK,
271         boolean folksonomy) throws com.liferay.portal.SystemException {
272         return _tagsEntryLocalService.getEntryNames(classNameId, classPK,
273             folksonomy);
274     }
275 
276     public java.lang.String[] getEntryNames(java.lang.String className,
277         long classPK) throws com.liferay.portal.SystemException {
278         return _tagsEntryLocalService.getEntryNames(className, classPK);
279     }
280 
281     public java.lang.String[] getEntryNames(java.lang.String className,
282         long classPK, boolean folksonomy)
283         throws com.liferay.portal.SystemException {
284         return _tagsEntryLocalService.getEntryNames(className, classPK,
285             folksonomy);
286     }
287 
288     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
289         long groupId, java.lang.String vocabularyName)
290         throws com.liferay.portal.PortalException,
291             com.liferay.portal.SystemException {
292         return _tagsEntryLocalService.getGroupVocabularyEntries(groupId,
293             vocabularyName);
294     }
295 
296     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
297         long groupId, java.lang.String parentEntryName,
298         java.lang.String vocabularyName)
299         throws com.liferay.portal.PortalException,
300             com.liferay.portal.SystemException {
301         return _tagsEntryLocalService.getGroupVocabularyEntries(groupId,
302             parentEntryName, vocabularyName);
303     }
304 
305     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(
306         long groupId, java.lang.String vocabularyName)
307         throws com.liferay.portal.PortalException,
308             com.liferay.portal.SystemException {
309         return _tagsEntryLocalService.getGroupVocabularyRootEntries(groupId,
310             vocabularyName);
311     }
312 
313     public boolean hasEntry(long groupId, java.lang.String name,
314         boolean folksonomy)
315         throws com.liferay.portal.PortalException,
316             com.liferay.portal.SystemException {
317         return _tagsEntryLocalService.hasEntry(groupId, name, folksonomy);
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 }