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.blogs.service;
16  
17  
18  /**
19   * <a href="BlogsEntryLocalServiceUtil.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 BlogsEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BlogsEntryLocalService
32   * @generated
33   */
34  public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
35      public BlogsEntryLocalServiceWrapper(
36          BlogsEntryLocalService blogsEntryLocalService) {
37          _blogsEntryLocalService = blogsEntryLocalService;
38      }
39  
40      public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
41          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
42          throws com.liferay.portal.SystemException {
43          return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
44      }
45  
46      public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
47          long entryId) {
48          return _blogsEntryLocalService.createBlogsEntry(entryId);
49      }
50  
51      public void deleteBlogsEntry(long entryId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _blogsEntryLocalService.deleteBlogsEntry(entryId);
55      }
56  
57      public void deleteBlogsEntry(
58          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
59          throws com.liferay.portal.SystemException {
60          _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
76          long entryId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _blogsEntryLocalService.getBlogsEntry(entryId);
80      }
81  
82      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
83          int start, int end) throws com.liferay.portal.SystemException {
84          return _blogsEntryLocalService.getBlogsEntries(start, end);
85      }
86  
87      public int getBlogsEntriesCount() throws com.liferay.portal.SystemException {
88          return _blogsEntryLocalService.getBlogsEntriesCount();
89      }
90  
91      public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
92          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
93          throws com.liferay.portal.SystemException {
94          return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
95      }
96  
97      public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
98          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
99          throws com.liferay.portal.SystemException {
100         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
101     }
102 
103     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
104         long plid, java.lang.String title, java.lang.String content,
105         int displayDateMonth, int displayDateDay, int displayDateYear,
106         int displayDateHour, int displayDateMinute, boolean draft,
107         boolean allowTrackbacks, java.lang.String[] trackbacks,
108         java.lang.String[] tagsEntries, boolean addCommunityPermissions,
109         boolean addGuestPermissions,
110         com.liferay.portal.theme.ThemeDisplay themeDisplay)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _blogsEntryLocalService.addEntry(userId, plid, title, content,
114             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
115             displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
116             addCommunityPermissions, addGuestPermissions, themeDisplay);
117     }
118 
119     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
120         java.lang.String uuid, long userId, long plid, java.lang.String title,
121         java.lang.String content, int displayDateMonth, int displayDateDay,
122         int displayDateYear, int displayDateHour, int displayDateMinute,
123         boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
124         java.lang.String[] tagsEntries, boolean addCommunityPermissions,
125         boolean addGuestPermissions,
126         com.liferay.portal.theme.ThemeDisplay themeDisplay)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _blogsEntryLocalService.addEntry(uuid, userId, plid, title,
130             content, displayDateMonth, displayDateDay, displayDateYear,
131             displayDateHour, displayDateMinute, draft, allowTrackbacks,
132             trackbacks, tagsEntries, addCommunityPermissions,
133             addGuestPermissions, themeDisplay);
134     }
135 
136     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
137         long plid, java.lang.String title, java.lang.String content,
138         int displayDateMonth, int displayDateDay, int displayDateYear,
139         int displayDateHour, int displayDateMinute, boolean draft,
140         boolean allowTrackbacks, java.lang.String[] trackbacks,
141         java.lang.String[] tagsEntries,
142         java.lang.String[] communityPermissions,
143         java.lang.String[] guestPermissions,
144         com.liferay.portal.theme.ThemeDisplay themeDisplay)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException {
147         return _blogsEntryLocalService.addEntry(userId, plid, title, content,
148             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
149             displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
150             communityPermissions, guestPermissions, themeDisplay);
151     }
152 
153     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
154         java.lang.String uuid, long userId, long plid, java.lang.String title,
155         java.lang.String content, int displayDateMonth, int displayDateDay,
156         int displayDateYear, int displayDateHour, int displayDateMinute,
157         boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
158         java.lang.String[] tagsEntries,
159         java.lang.Boolean addCommunityPermissions,
160         java.lang.Boolean addGuestPermissions,
161         java.lang.String[] communityPermissions,
162         java.lang.String[] guestPermissions,
163         com.liferay.portal.theme.ThemeDisplay themeDisplay)
164         throws com.liferay.portal.PortalException,
165             com.liferay.portal.SystemException {
166         return _blogsEntryLocalService.addEntry(uuid, userId, plid, title,
167             content, displayDateMonth, displayDateDay, displayDateYear,
168             displayDateHour, displayDateMinute, draft, allowTrackbacks,
169             trackbacks, tagsEntries, addCommunityPermissions,
170             addGuestPermissions, communityPermissions, guestPermissions,
171             themeDisplay);
172     }
173 
174     public void addEntryResources(long entryId,
175         boolean addCommunityPermissions, boolean addGuestPermissions)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _blogsEntryLocalService.addEntryResources(entryId,
179             addCommunityPermissions, addGuestPermissions);
180     }
181 
182     public void addEntryResources(
183         com.liferay.portlet.blogs.model.BlogsEntry entry,
184         boolean addCommunityPermissions, boolean addGuestPermissions)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         _blogsEntryLocalService.addEntryResources(entry,
188             addCommunityPermissions, addGuestPermissions);
189     }
190 
191     public void addEntryResources(long entryId,
192         java.lang.String[] communityPermissions,
193         java.lang.String[] guestPermissions)
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         _blogsEntryLocalService.addEntryResources(entryId,
197             communityPermissions, guestPermissions);
198     }
199 
200     public void addEntryResources(
201         com.liferay.portlet.blogs.model.BlogsEntry entry,
202         java.lang.String[] communityPermissions,
203         java.lang.String[] guestPermissions)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
207             guestPermissions);
208     }
209 
210     public void deleteEntries(long groupId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         _blogsEntryLocalService.deleteEntries(groupId);
214     }
215 
216     public void deleteEntry(long entryId)
217         throws com.liferay.portal.PortalException,
218             com.liferay.portal.SystemException {
219         _blogsEntryLocalService.deleteEntry(entryId);
220     }
221 
222     public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
223         throws com.liferay.portal.PortalException,
224             com.liferay.portal.SystemException {
225         _blogsEntryLocalService.deleteEntry(entry);
226     }
227 
228     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
229         long companyId, int start, int end)
230         throws com.liferay.portal.SystemException {
231         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end);
232     }
233 
234     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
235         long companyId, int start, int end,
236         com.liferay.portal.kernel.util.OrderByComparator obc)
237         throws com.liferay.portal.SystemException {
238         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end,
239             obc);
240     }
241 
242     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
243         long companyId, boolean draft, int start, int end)
244         throws com.liferay.portal.SystemException {
245         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
246             start, end);
247     }
248 
249     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
250         long companyId, boolean draft, int start, int end,
251         com.liferay.portal.kernel.util.OrderByComparator obc)
252         throws com.liferay.portal.SystemException {
253         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
254             start, end, obc);
255     }
256 
257     public int getCompanyEntriesCount(long companyId)
258         throws com.liferay.portal.SystemException {
259         return _blogsEntryLocalService.getCompanyEntriesCount(companyId);
260     }
261 
262     public int getCompanyEntriesCount(long companyId, boolean draft)
263         throws com.liferay.portal.SystemException {
264         return _blogsEntryLocalService.getCompanyEntriesCount(companyId, draft);
265     }
266 
267     public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
268         long entryId)
269         throws com.liferay.portal.PortalException,
270             com.liferay.portal.SystemException {
271         return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
272     }
273 
274     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
275         throws com.liferay.portal.PortalException,
276             com.liferay.portal.SystemException {
277         return _blogsEntryLocalService.getEntry(entryId);
278     }
279 
280     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
281         java.lang.String urlTitle)
282         throws com.liferay.portal.PortalException,
283             com.liferay.portal.SystemException {
284         return _blogsEntryLocalService.getEntry(groupId, urlTitle);
285     }
286 
287     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
288         long groupId, int start, int end)
289         throws com.liferay.portal.SystemException {
290         return _blogsEntryLocalService.getGroupEntries(groupId, start, end);
291     }
292 
293     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
294         long groupId, int start, int end,
295         com.liferay.portal.kernel.util.OrderByComparator obc)
296         throws com.liferay.portal.SystemException {
297         return _blogsEntryLocalService.getGroupEntries(groupId, start, end, obc);
298     }
299 
300     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
301         long groupId, boolean draft, int start, int end)
302         throws com.liferay.portal.SystemException {
303         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
304             end);
305     }
306 
307     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
308         long groupId, boolean draft, int start, int end,
309         com.liferay.portal.kernel.util.OrderByComparator obc)
310         throws com.liferay.portal.SystemException {
311         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
312             end, obc);
313     }
314 
315     public int getGroupEntriesCount(long groupId)
316         throws com.liferay.portal.SystemException {
317         return _blogsEntryLocalService.getGroupEntriesCount(groupId);
318     }
319 
320     public int getGroupEntriesCount(long groupId, boolean draft)
321         throws com.liferay.portal.SystemException {
322         return _blogsEntryLocalService.getGroupEntriesCount(groupId, draft);
323     }
324 
325     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
326         long groupId, long userId, int start, int end)
327         throws com.liferay.portal.SystemException {
328         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
329             start, end);
330     }
331 
332     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
333         long groupId, long userId, int start, int end,
334         com.liferay.portal.kernel.util.OrderByComparator obc)
335         throws com.liferay.portal.SystemException {
336         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
337             start, end, obc);
338     }
339 
340     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
341         long groupId, long userId, boolean draft, int start, int end)
342         throws com.liferay.portal.SystemException {
343         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
344             draft, start, end);
345     }
346 
347     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
348         long groupId, long userId, boolean draft, int start, int end,
349         com.liferay.portal.kernel.util.OrderByComparator obc)
350         throws com.liferay.portal.SystemException {
351         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
352             draft, start, end, obc);
353     }
354 
355     public int getGroupUserEntriesCount(long groupId, long userId)
356         throws com.liferay.portal.SystemException {
357         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId, userId);
358     }
359 
360     public int getGroupUserEntriesCount(long groupId, long userId, boolean draft)
361         throws com.liferay.portal.SystemException {
362         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
363             userId, draft);
364     }
365 
366     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
367         throws com.liferay.portal.SystemException {
368         return _blogsEntryLocalService.getNoAssetEntries();
369     }
370 
371     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
372         long organizationId, boolean draft, int start, int end)
373         throws com.liferay.portal.SystemException {
374         return _blogsEntryLocalService.getOrganizationEntries(organizationId,
375             draft, start, end);
376     }
377 
378     public int getOrganizationEntriesCount(long organizationId, boolean draft)
379         throws com.liferay.portal.SystemException {
380         return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
381             draft);
382     }
383 
384     public java.lang.String getUrlTitle(long entryId, java.lang.String title) {
385         return _blogsEntryLocalService.getUrlTitle(entryId, title);
386     }
387 
388     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
389         _blogsEntryLocalService.reIndex(entryId);
390     }
391 
392     public void reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
393         throws com.liferay.portal.SystemException {
394         _blogsEntryLocalService.reIndex(entry);
395     }
396 
397     public void reIndex(java.lang.String[] ids)
398         throws com.liferay.portal.SystemException {
399         _blogsEntryLocalService.reIndex(ids);
400     }
401 
402     public com.liferay.portal.kernel.search.Hits search(long companyId,
403         long groupId, long userId, java.lang.String keywords, int start, int end)
404         throws com.liferay.portal.SystemException {
405         return _blogsEntryLocalService.search(companyId, groupId, userId,
406             keywords, start, end);
407     }
408 
409     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
410         long entryId, java.lang.String title, java.lang.String content,
411         int displayDateMonth, int displayDateDay, int displayDateYear,
412         int displayDateHour, int displayDateMinute, boolean draft,
413         boolean allowTrackbacks, java.lang.String[] trackbacks,
414         java.lang.String[] tagsEntries,
415         com.liferay.portal.theme.ThemeDisplay themeDisplay)
416         throws com.liferay.portal.PortalException,
417             com.liferay.portal.SystemException {
418         return _blogsEntryLocalService.updateEntry(userId, entryId, title,
419             content, displayDateMonth, displayDateDay, displayDateYear,
420             displayDateHour, displayDateMinute, draft, allowTrackbacks,
421             trackbacks, tagsEntries, themeDisplay);
422     }
423 
424     public void updateTagsAsset(long userId,
425         com.liferay.portlet.blogs.model.BlogsEntry entry,
426         java.lang.String[] tagsEntries)
427         throws com.liferay.portal.PortalException,
428             com.liferay.portal.SystemException {
429         _blogsEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
430     }
431 
432     public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
433         return _blogsEntryLocalService;
434     }
435 
436     private BlogsEntryLocalService _blogsEntryLocalService;
437 }